Search code examples
phpticketmaster

How to get TicketMaster event id from event URL?


I currently have access to Ticketmaster's Discovery API. I want to take a link like this

https://www1.ticketmaster.com/zpl-jingle-jam-featuring-lizzo-why-dont-we/event/05005726960D2E82

and use the ID to get event data from Discovery API. When I tried in API explorer it said ID was wrong. I found out the ID is actually vv16AZAjJPOZACd2ad.

Is there any way to use ID from the URL to reference the given event? I see you can in partner API, but that's not easy to join from what I see.

If that's not at all possible, how are people able to create stock checkers in discord? For example: !stock 05005726960D2E82 would return stock remaining for the given event broken down by sections.


Solution

  • It's not possible with discovery API since that wasn't it's intended purpose.