Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of ticketmaster.search
    FieldTypeDescription
    queryrequiredstringWhat 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".
    pageintegerThe results page, from 1. A page holds up to 20 events.Limit: 1 to 500. Default: 1.
    max_resultsintegerReturn at most this many events of the page; all of them when not given.Limit: 1 to 20.
    • country picks the Ticketmaster site that is asked: US, CA, GB, IE, AU, NZ or MX. 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 page past the last one, end ok with zero records.
    • starts_at is in UTC and timezone is the venue's time zone. An event whose date is not announced has starts_at null and date_tba true.
    • url is the page tickets are sold on. For some events that is a partner's site or another country's Ticketmaster site, and event_id is 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.

    Record fields of ticketmaster.search
    FieldTypeNotes
    event_idstringThe 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.
    namestringThe event's title.
    urlstringThe 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_atstring or nullWhen the event starts, in UTC (ISO 8601). Null when the date is not announced.
    timezonestring or nullThe venue's time zone, e.g. America/New_York: the clock starts_at is to be read on.
    date_tbaboolean or nullTrue when the date is still to be announced.
    spans_multiple_daysboolean or nullTrue for an event that runs over several days.
    onsale_atstring or nullWhen tickets go, or went, on general sale, in UTC (ISO 8601).
    presalesarray of objectThe presales the page lists, in its order.
    name (in presales[])stringThe presale's name, e.g. Artist Presale.
    starts_at (in presales[])string or nullWhen the presale opens, in UTC (ISO 8601).
    ends_at (in presales[])string or nullWhen the presale closes, in UTC (ISO 8601).
    venuestring or nullThe venue's name.
    venue_urlstring or nullThe venue's page on Ticketmaster.
    addressstring or nullThe venue's street address.
    citystring or nullThe venue's city.
    regionstring or nullThe state or province code, e.g. NH. Null where the country has none on the page.
    postal_codestring or nullThe venue's postal code.
    country_codestring or nullThe two-letter country code, e.g. US.
    countrystring or nullThe country's name.
    latitudenumber or nullThe venue's latitude, in decimal degrees.
    longitudenumber or nullThe venue's longitude.
    artistsarray of objectThe artists, teams or shows the event is listed under.
    name (in artists[])stringThe artist, team or show.
    url (in artists[])string or nullIts page on Ticketmaster.
    imagestring or nullThe picture of the first artist listed.
    seat_mapstring or nullThe picture of the venue's seat map for the event.
    cancelledboolean or nullTrue when the event is cancelled.
    postponedboolean or nullTrue when the event is postponed.
    rescheduledboolean or nullTrue when the event has been moved to another date.
    sold_outboolean or nullTrue when the results mark the event as sold out.
    limited_availabilityboolean or nullTrue when the results mark few tickets as left.
    virtualboolean or nullTrue for an event held online.
    positionintegerThe event's position on the results page, from 1.
    pageintegerThe results page it was on.
    fetched_atstring (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=coldplay

    Install 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:

    JSON
    {
      "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.

    JSON
    {
      "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.

    JSON
    {
      "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.