{% capture pre_content %}
{: .article #overview }
To run a successful API call, you will need to pass your API Key in the apikey query parameter. Your API Key should automatically appear in all URLs throughout this portal.
Example: https://app.ticketmaster.com/discovery/v2/events.json?apikey={apikey}
Without a valid API Key, you will receive a 401 Status Code with the following response:
{
"fault": {
"faultstring": "Invalid ApiKey",
"detail": {
"errorcode": "oauth.v2.InvalidApiKey"
}
}
}
https://app.ticketmaster.com/discovery/v2/
The API provides access to content sourced from various platform, including Ticketmaster, Universe, FrontGate Tickets and Ticketmaster Resale (TMR). By default, the API returns events from all sources. To specify a specifc source(s), use the &source= parameter. Multiple, comma separated values are OK.
With over 113K+ events available in the API, coverage spans all of the following countries: United States, United Kingdom, Ireland, Australia, New Zealand, Mexico and Canada. More events and more countries are added on continious basis.
<iframe style="width:100%;height:500px;" src="http://heatmap-1220776398.us-west-2.elb.amazonaws.com/"></iframe>Get a list of all events in the United States
https://app.ticketmaster.com/discovery/v2/events.json?countryCode=US&apikey={apikey}
Search for events sourced by Universe in the United States with keyword "devjam"
https://app.ticketmaster.com/discovery/v2/events.json?keyword=devjam&source=universe&countryCode=US&apikey={apikey}
Search for music events in the Los Angeles area
https://app.ticketmaster.com/discovery/v2/events.json?classificationName=music&dmaId=324&apikey={apikey}
Get a list of all events for Adele in Canada
https://app.ticketmaster.com/discovery/v2/events.json?attractionId=K8vZ917Gku7&countryCode=CA&apikey={apikey}
{% endcapture %}
{{ pre_content | markdownify }}