The Movie Database Support

Hi, I see in the APIs that there are API calls for retrieving genre details for a genre id, movie details for a movie id, series details for a TV series, etc. Where do I get an exhaustive list of all the ids to begin with? That is, a list of all the available movie ids (which naturally keep changing as more movies get added or some movies get deleted), or a list of all TV series ids, , or a list of person ids? If I use the "discovery" API for movies with all available genre ids, and do a union of all those movies, will that yield the exhaustive list of movies (that assumes that all movies must have at least one genre and all such genres for all such movies will have ids belonging to the list of available genre ids)?

4 replies (on page 1 of 1)

Jump to last post

You can use daily file exports.

@talestalker said:

You can use daily file exports.

Thanks. I tried this URL: http://files.tmdb.org/p/exports/movie_ids_04_28_2017.json.gz?api_key=my_key, I am getting this error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>B6S1JFXPC3VW6N40</RequestId>
<HostId>Npj+19Kk+HUILmXM88fd3XUGQmU9HBae67MUKx1r1jQgmRBVkWGLeo30HqG5O8ZhCsTsnvnrNEQ=</HostId>
</Error>

That old export file from 2017 is gone. Try this:

http://files.tmdb.org/p/exports/movie_ids_07_23_2021.json.gz

And you don't have to add api_key parametr.

@talestalker said:

That old export file from 2017 is gone. Try this:

http://files.tmdb.org/p/exports/movie_ids_07_23_2021.json.gz

And you don't have to add api_key parametr.

Aha. Got it. Thanks!!

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

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Want to rate or add this item to a list?

Login