Get Started

Follow step-by-step instructions to generate your Ticketmaster API key.

To start using Ticketmaster's APIs, we first need to create an account on Ticketmaster.

Create an account

Follow the steps below to sign up for a Ticketmaster account:

  1. Navigate to the official Ticketmaster sign-up page.
  2. Fill in the required details for registering an account, including your name, company details, username, and email address. Don't forget to accept the terms and conditions and check the reCAPTCHA before clicking the "CREATE NEW ACCOUNT" button.

Note: You can enter dummy values for the company name and URL, such as "Example" and "example.com" if you are not associated with any company.

  1. You'll be sent an email that contains your account details and a one-time login link at the email you entered in the previous step. Click on the link in the email to log in to Ticketmaster.
  2. Once logged in, set a password for your account and click the "Save" button at the bottom of the page.

That's it! You've successfully signed up and logged in to Ticketmaster. These steps are demonstrated via the slides below:

Get the API key

To use Ticketmaster's API services, we need an API key. Follow the steps below to retrieve your key:

  1. To navigate to the "My Apps" page:
    1. Click your username in the top left corner.
    2. Click "My Apps." Here, you'll see that Ticketmaster has automatically generated an application for you, <username>-App.
  2. Click the application name to expand the section and view your API key, "Consumer Key." Copy it and store it somewhere safe.

These steps are demonstrated in the slides below:

Save the API key

Now that we have our API key, let's save it to use throughout the course:

  1. Click the "Edit" button in the widget below.
  2. Enter your API key in the API_KEY field.
  3. Click the "Save" button to save the key throughout the course.

As soon as we save the key, its value gets replaced in the code. Click the "Run" button to print your key to the console.

Press + to interact
api_key = '{{API_KEY}}'
print('Your Ticketmaster API key is:', api_key)

Now that our API key is saved, let's get started with making calls to the Ticketmaster APIs!