Searching for Attractions
Explore how to search for attractions using Ticketmaster's Discovery API by making API calls with optional parameters like keyword and attraction ID. Learn to handle search results and navigate pages to retrieve relevant event attraction data.
We'll cover the following...
Attraction search
An attraction is the main person or act of interest in an event, be it a football team in a football match, a singer in a concert, or an actor in a stage play. The Discovery API provides us with the capability to search for and filter attractions through the attractions endpoint.
The URL for this endpoint is:
https://app.ticketmaster.com/discovery/v2/attractions
Request parameters
Like the event search endpoint, we can provide a number of optional parameters to filter the search results. An overview of some of the parameters is given below. You ...
Parameter | Type | Category | Description |
| string | optional | If provided, the search results are filtered by the attraction ID. |
| string | optional | This is a keyword on which the search is performed. |
| number | optional | This is the number of results to be returned per page. The default value is |
| number | optional | This is the page number to be returned. The default value is |
| string | optional | This is the sorting order of the search results. Allowable values are, |
| array[string] | optional | If provided, the search results are filtered by classification ID, that is, the ID of any segment, genre, subgenre, type, and subtype. Negative filtering is supported with this format: |
Let's try ...