The Movie Database Support

Hi Guys,

I am trying to scrape data details about TV shows using the API. But I have a hard time navigating the interface. For example how to do find the ID for the shows ? Any help will be appreciated.

1 reply (on page 1 of 1)

• Jump to last post

@awenterem said:

Hi Guys,

I am trying to scrape data details about TV shows using the API. But I have a hard time navigating the interface. For example how to do find the ID for the shows ? Any help will be appreciated.

Among others, there are 2 ways.

Via the website interface
When you are on the Series (TV Show) homepage, you will be able to see the ID in the URL.
For example NCIS.

https://www.themoviedb.org/tv/4614-ncis

The ID is number 4614.

Via API Request
Doing a search

https://api.themoviedb.org/3/search/tv?api_key=THE_KEY&language=en-US&page=1&query=NCIS

one of the information is the ID.

page    1
results 
0   
backdrop_path   "/qmcoEOrTm6BcgR4iO7KBQKE9AKT.jpg"
first_air_date  "2003-09-23"
genre_ids   
0   80
1   10759
2   18
id  4614
name    "NCIS"
origin_country  
0   "US"
original_language   "en"
original_name   "NCIS"
overview    "From murder and espionage to terrorism and stolen submarines, a team of special agents investigates any crime that has a shred of evidence connected to Navy and Marine Corps personnel, regardless of rank or position."
popularity  230.116
poster_path "/lSTchtc26YNdOjdKvZtLs22SokL.jpg"
vote_average    7.6
vote_count  1815
1   
backdrop_path   "/asuyokCKKdU5tshPt6PONx5t5VC.jpg"
first_air_date  "2009-09-22"
genre_ids   
0   10759
1   18
2   80
3   9648
id  17610
name    "NCIS: Los Angeles"
origin_country  
...

In case id 4614

Can't find a movie or TV show? Login to create it.

Want to rate or add this item to a list?

Login