Basic Event Details

Let's learn to fetch details for events using the Discovery API.

Event details

Apart from searching for events, one major use case for the Discovery API is to fetch details of events. To do this, we can use the events endpoint by passing the event ID as a URL parameter:

The URL for this endpoint is:

https://app.ticketmaster.com/discovery/v2/events/{id}

Request parameters

This endpoint takes the ID of an event as a required URL parameter and a couple of optional query parameters. The table below gives an overview of these parameters:

Parameter

Type

Category

Description

id

string

required

This is the ID of the event for which we want the details.

locale

string

optional

This is the locale in ISO code format. Multiple comma-separated values can be provided. When omitting the country part of the code (only en or fr) the first matching locale is used. When using *, it matches all locales. The default value is en.

domain

array[string]

optional

If provided, the results are filtered on the domain they are available on.

Let's try making a call to this ...