Skip to main content
Piloterr
Back to library

Ticketmaster Search API

Search Ticketmaster events by keyword. Returns event cards, including Ticketweb partner rows, and pagination.

Active1 credit = 1 requestGET/v2/ticketmaster/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Search events on ticketmaster.com. query is a keyword or a search URL. The response is { results, pagination }. Each row is one event card.

GET https://api.piloterr.com/v2/ticketmaster/search?query=jazz

Header: x-api-key.

page on this API starts at 1. On ticketmaster.com the page query is zero-based, so the second page of this API is page=1 in pagination.next. Example: https://www.ticketmaster.com/search?q=jazz&page=1.

An event URL belongs on /v2/ticketmaster/event. On search it returns 400.

A search card can be a Ticketweb partner event, or a short Ticketmaster link such as https://www.ticketmaster.com/event/Z7r9jZ1AAZIv7. The card is still valid. Those short links have no slug. The event endpoint resolves a URL by the words in the slug, so pass a slugged URL when you need the venue address.

ParametersLink to Parameters

query is required. Example: jazz. A search URL also works: https://www.ticketmaster.com/search?q=jazz. If that URL already has page=1, this API reports page 2, because the site counts from zero.

page is optional and defaults to 1. Example: 2.

Response fieldsLink to Response fields

id is the host event id when the site sends one. Partner rows can use a shorter id, for example 5028044, while url ends in a discovery id.

title is the event name. url is the event link on ticketmaster.com or ticketweb.com. start_date and onsale_date are UTC timestamps, or null. timezone is an IANA name such as America/Phoenix.

venue_name, venue_city, venue_state, and venue_country describe the venue. artists is a list of names. image is an artist image URL or null.

cancelled, postponed, rescheduled, sold_out, limited_availability, and tba are booleans when the site sends them. event_change_status is a short code such as none. ticketing_status is a code such as UNKNOWN.

PaginationLink to Pagination

pagination.per_page is 20. pagination.page is the 1-based page you asked for. pagination.total_results and pagination.total_pages come from the site total. For jazz the live total was 3970 events and 199 pages.

pagination.next is a URL while page is below total_pages. On the last page next is null. Event ids on one page do not repeat, and page 2 does not repeat page 1.

Pass page=2, or call this endpoint again with the keyword. pagination.next is the site URL, and its page value is one less than the next API page.

Use casesLink to Use cases

  • A sports bar in Phoenix searches jazz and keeps rows whose venue_city is Phoenix.
  • A resale desk skips cards with sold_out or cancelled true, then sends a slugged url to the event endpoint.
  • A tour accountant walks page until next is null and counts onsale_date values in the coming month.

Error codesLink to Error codes

  • 400: empty query, a host other than ticketmaster.com, an event URL, or page below 1.
  • 404: no events, or page is past total_pages.
  • 401: missing API key.

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included