Scraper APITicketmaster
ticketmaster.search
The events on a page of Ticketmaster's search results: title, date, venue with address and pin, artists, presales and status.
- Id
ticketmaster.search- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/ticketmaster.search/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
queryrequired | string | What to search for: an artist, a team, a show, a venue or a city, e.g. coldplay.Limit: at least 1 characters, at most 200 characters. |
country | "US" | "CA" | "GB" | "IE" | "AU" | "NZ" | "MX" | Which Ticketmaster site to search: US ticketmaster.com, CA .ca, GB .co.uk, IE .ie, AU .com.au, NZ .co.nz, MX .com.mx.Default: "US". |
sort | "relevance" | "date" | The order: the site's relevance, or the soonest event first.Default: "relevance". |
page | integer | The results page, from 1. A page holds up to 20 events.Limit: 1 to 500. Default: 1. |
max_results | integer | Return at most this many events of the page; all of them when not given.Limit: 1 to 20. |
countrypicks the Ticketmaster site that is asked:US,CA,GB,IE,AU,NZorMX. Each lists its own country's events first and other countries' after them.- One run reads one page, up to 20 events. A search nothing matches, and a
pagepast the last one, endokwith zero records. starts_atis in UTC andtimezoneis the venue's time zone. An event whose date is not announced hasstarts_atnullanddate_tbatrue.urlis the page tickets are sold on. For some events that is a partner's site or another country's Ticketmaster site, andevent_idis then the partner's id.- The results carry no prices: a record has none. An event's own page is not read.
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
event_id | string | The id the results give the event. For an event sold on Ticketmaster itself it is the last part of its page's address; a partner's event has the partner's id. |
name | string | The event's title. |
url | string | The page tickets are sold on. Usually on Ticketmaster; for some events on a partner's site (Ticketweb, Universe, a Ticketmaster site of another country). |
starts_at | string or null | When the event starts, in UTC (ISO 8601). Null when the date is not announced. |
timezone | string or null | The venue's time zone, e.g. America/New_York: the clock starts_at is to be read on. |
date_tba | boolean or null | True when the date is still to be announced. |
spans_multiple_days | boolean or null | True for an event that runs over several days. |
onsale_at | string or null | When tickets go, or went, on general sale, in UTC (ISO 8601). |
presales | array of object | The presales the page lists, in its order. |
name (in presales[]) | string | The presale's name, e.g. Artist Presale. |
starts_at (in presales[]) | string or null | When the presale opens, in UTC (ISO 8601). |
ends_at (in presales[]) | string or null | When the presale closes, in UTC (ISO 8601). |
venue | string or null | The venue's name. |
venue_url | string or null | The venue's page on Ticketmaster. |
address | string or null | The venue's street address. |
city | string or null | The venue's city. |
region | string or null | The state or province code, e.g. NH. Null where the country has none on the page. |
postal_code | string or null | The venue's postal code. |
country_code | string or null | The two-letter country code, e.g. US. |
country | string or null | The country's name. |
latitude | number or null | The venue's latitude, in decimal degrees. |
longitude | number or null | The venue's longitude. |
artists | array of object | The artists, teams or shows the event is listed under. |
name (in artists[]) | string | The artist, team or show. |
url (in artists[]) | string or null | Its page on Ticketmaster. |
image | string or null | The picture of the first artist listed. |
seat_map | string or null | The picture of the venue's seat map for the event. |
cancelled | boolean or null | True when the event is cancelled. |
postponed | boolean or null | True when the event is postponed. |
rescheduled | boolean or null | True when the event has been moved to another date. |
sold_out | boolean or null | True when the results mark the event as sold out. |
limited_availability | boolean or null | True when the results mark few tickets as left. |
virtual | boolean or null | True for an event held online. |
position | integer | The event's position on the results page, from 1. |
page | integer | The results page it was on. |
fetched_at | string (date-time) | When the page was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/ticketmaster.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"coldplay"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("ticketmaster.search", {"query": "coldplay"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("ticketmaster.search", { query: "coldplay" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "ticketmaster.search", map[string]any{"query": "coldplay"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("ticketmaster.search", Map.of("query", "coldplay"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run ticketmaster.search --input query=coldplayInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"query": "coldplay"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "ticketmaster.search",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"query": "coldplay"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"event_id": "0100656913048C3C",
"name": "Back To The Start: A Tribute to Coldplay",
"url": "https://www.ticketmaster.com/back-to-the-start-a-tribute-portsmouth-new-hampshire-01-31-2027/event/0100656913048C3C",
"starts_at": "2027-02-01T00:30:00Z",
"timezone": "America/New_York",
"date_tba": false,
"spans_multiple_days": false,
"onsale_at": "2026-11-13T15:00:00Z",
"presales": [
{
"name": "Inner Circle & Benefactor Presale",
"starts_at": "2026-11-10T15:00:00Z",
"ends_at": "2026-11-13T15:00:00Z"
},
{
"name": "Patron Presale",
"starts_at": "2026-11-11T15:00:00Z",
"ends_at": "2026-11-13T15:00:00Z"
}
],
"venue": "Jimmy's Jazz and Blues Club",
"venue_url": "https://www.ticketmaster.com/jimmys-jazz-and-blues-club-tickets-portsmouth/venue/9375",
"address": "135 Congress Street",
"city": "Portsmouth",
"region": "NH",
"postal_code": "03801",
"country_code": "US",
"country": "United States",
"latitude": 43.07634404,
"longitude": -70.76009881,
"artists": [],
"image": null,
"seat_map": "https://mapsapi.tmol.io/maps/geometry/3/event/0100656913048C3C/staticImage?type=png&systemId=HOST",
"cancelled": false,
"postponed": false,
"rescheduled": false,
"sold_out": false,
"limited_availability": false,
"virtual": false,
"position": 1,
"page": 1,
"fetched_at": "2026-11-19T18:07:41.467839Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
presales: 3 items, the first 2 shown.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Ticketmaster scrapers are in their own section there.