Skip to main content

To get your Account ID in TMDB API, follow these steps:

1. Sign in to TMDB

2. Request a token

3. Authenticate the request token

Before creating your session, you must authenticate your token.

4. Create a new session id

Once the request token is authenticated, exchange it for a session ID. Read more here

5. Fetch Your Account ID

Once you have a session ID, use this request to generate your account id:
Response
The account ID is “id”: 13974313. You will use this ID for account-related operations.