Ticketmaster API endpoint
Lists upcoming Ticketmaster events for the attraction with numeric `id`. `page` is zero-based, 0 to 49, default 0; `sort` is `relevance` or `date` (default). Each event has title, start time, time zone, venue, attractions, presales, seat map and status flags such as `sold_out` and `cancelled`. The response gives `total`.
/ticketmaster/attraction-eventsThe numeric attraction id is required. page is zero-based from 0 to 49 and defaults to 0. sort accepts relevance or date and defaults to date.
| Field | In the sample | Value in the sample |
|---|---|---|
| entity_id | Has a value | |
| page | Has a value | |
| sort | Has a value | “date” |
| total | Has a value | 0 |
| count | Has a value | 0 |
| events | Empty |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Numeric Ticketmaster attraction id | 1688071 | |
| page | integer | No | Zero-based page (0-49) Minimum: 0. Maximum: 49. | ||
| sort | string | No | Result order Allowed values: relevance, date. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/ticketmaster/attraction-events?id=1688071&page=1&sort=relevance" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"entity_id": "1688071",
"page": 0,
"sort": "date",
"total": 28,
"count": 1,
"events": [
{
"id": "04006319DDEA2CD5",
"title": "Ariana Grande - The Eternal Sunshine Tour"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/ticketmaster.eventsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | ticketmaster.EventsResponse | No | ||||
| data.count | integer | No | 20 | |||
| data.entity_id | string | No | ||||
| data.events | array | No | EventSummary record, 41 fields: attractions, cancelled, discovery_id, event_change_status, id, image_url, limited_availability, onsale_time, postponed, presales, rescheduled, seatmap_url and 9 more. Described under List a venue's Ticketmaster events API. | |||
| data.fetched_at | string | No | ||||
| data.page | integer | No | ||||
| data.query | string | No | ||||
| data.sort | string | No | date | |||
| data.source_url | string | No | ||||
| data.total | integer | No | 28 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/ticketmaster/attraction-events?id=1688071&page=1&sort=relevance" \
-H "x-api-key: $CRAWLORA_API_KEY"