The Movie Database Support

How can I get results other than 10,000 movies? On page 501, I get the error "page must be less than or equal to 500".

How can I follow steps to get full database access?

6 replies (on page 1 of 1)

• Jump to last post

@oraycan said:
page must be less than or equal to 500
How can I get results other than 10,000 movies?
On page 501, I get the error "page must be less than or equal to 500".

The number/quantity of Items per Page and the number/quantity of Pages
cannot be changed, configured, specified, restricted, or anything like that.
There will always be up to 20 items per page.
And a maximum of 500 pages.
Therefore, at most 10,000 items.

Of course, depending on the parameters used in your API Request
this number/quantity can be much smaller.
Eventually zero.

In a Trending API Request, the quantities are greater.
A maximum of 1,000 pages
Therefore a maximum of 20,000 items

How can I follow steps to get full database access?

I believe that only if you make several API Requests.
For example, for decades.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=release_date.asc&page=1&primary_release_date.gte=1860-01-01&primary_release_date.lte=1910-12-31  

If I'm not mistaken the movie count must be over 650,000.

Depending of the data wanted, the daily export file may be a solution.

correct. you can decrease the date range and try. try for 6 months or 1 year range.

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

@Karim007 said:

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

The result of your search indicate the total number of pages, but you can only access the first 500 pages.

@superboy97 said:

@Karim007 said:

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

The result of your search indicate the total number of pages, but you can only access the first 500 pages.

Why is That

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

Want to rate or add this item to a list?

Login