Authentication
Learn how to authenticate your request
The TMDB API supports two types of authentication. API keys and a Bearer token authentication.
You can only choose one out of the two.
How to Use API Key
To use an API key to authenticate your request, you need to get your API keys. Follow these steps to get your API keys.
Step 1
Navigate to your dashboard.
Step 2
Scroll through the ‘Settings’ section at the left side of the page and click ‘API’.
Step 3
Scroll down and get your API keys in the ‘API Keys’ section.
Step 4
After you have gotten yourAPI Key
, set yourAuthorization-header
as API Key
.
Enter yourAPI Key
In the value section.
Your API key contains sensitive information; therefore, you must keep it secured
How To Use Bearer Token
To use the bearer token to authenticate your request, you need to get your access token.
Follow these steps to get an access token:
Step 1
Scroll to your account dashboard.
Step 2
Scroll through the ‘Settings’ section at the left side of the page and click ‘API’.
Step 3
Scroll down and get your Access token in the ‘API Read Access Token’ section.
Step 4
After you have gotten your Access-token
, set yourAuthorization-header
as Bearer Token
.
Step 5
Enter your Access Token
in the value section.
Your Access token contains sensitive information; therefore, you must keep it secured.
Things you need to know:
- You can’t access the API registration page with a mobile device. You can only access the page using a desktop computer and browser.
- Before you can be issued an API key, you need to accept our terms of use. You can read that here.