Searching for Venues
Let's learn to search for and filter venues using Ticketmaster's Discovery API.
We'll cover the following...
Venue search
A venue is where an event takes place. We can search for venues and filter the search results through the Discovery API's venues endpoint.
The URL for this endpoint is mentioned below:
https://app.ticketmaster.com/discovery/v2/venues
Request parameters
There are no required parameters for this endpoint. However, we can provide several optional parameters to filter the search results. An overview of some of the parameters is given below. You can visit this lesson to see the complete list of parameters. ...
Parameter | Type | Category | Description |
| string | optional | If provided, the search results are filtered by the venue ID. |
| string | optional | This is a keyword on which the search is performed. |
| string | optional | This is the radius of the area in which we want to search for venues. |
| enum['miles', 'km'] | optional | This is the unit of the search area radius. The default value is |
| 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, |
| string | optional | If provided, the search results are filtered on the country. |
| string | optional | If provided, the search results are filtered on the geohash. |
Let's try making a ...