SeatDataDocs

Get sales data (batch)

POST/v1/events/sales/batch

Returns validated sales records for up to 100 events per request, combined across both id lists after deduplication. Rows carry the same fields as GET /v1/events/{event_id}/sales, including listing_id.

The v1 equivalent of POST /v0.3/salesdata/batch - same request body, same response shape, same billing. Differences: responses are plain application/json (not gzip encoded), rows include listing_id, and a malformed body returns a JSON error envelope instead of plain text. See the migration guide.

There is no pagination and no id_type parameter here - the two id lists in the body drive the request, and all rows are returned for each event.

results and errors are keyed by the exact identifier string you sent: Marketplace Event IDs appear under the marketplace id, SeatData Event IDs under the SeatData id (a SeatData ID and a Marketplace ID that resolve to the same event are echoed under both keys).

Billing rules

ScenarioCharged a pull?
Event in the batch returns at least one saleYes - 1 pull per such event
Event in the batch has no salesNo (free)
Balance runs out mid-batchEvents already affordable are served and charged; the rest come back as payment_required in errors
No event in the batch is affordableNo data - the request returns 402

Authorization

AuthorizationBearer <token>

Pass Authorization: Bearer <api_key>. Preferred for new integrations.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/events/sales/batch" \  -H "Authorization: Bearer YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "event_ids_sh": [      105294241,      105288127    ],    "event_ids": [      225220    ]  }'
{  "results": {    "property1": [      {        "timestamp": 1624060468,        "quantity": 2,        "price": 44.46,        "zone": "Field Outfield",        "section": "109",        "row": "2",        "listing_id": 987654321      }    ],    "property2": [      {        "timestamp": 1624060468,        "quantity": 2,        "price": 44.46,        "zone": "Field Outfield",        "section": "109",        "row": "2",        "listing_id": 987654321      }    ]  },  "errors": {    "property1": "not_found",    "property2": "not_found"  }}