The Movie Database Support

Hi. I want to export my lists in json using API, but I took a problem with limit of 500 items. I use link:

https://api.themoviedb.org/3/list/127969?api_key=<<myapikey>>&language=ru-RU

and in result i get list with 500 items instead 1030 items, last 530 items a don't know how to get.

How to solve this problem?

5 replies (on page 1 of 1)

Jump to last post

Hi @flobex,

If you need to get more than 500 items back, you should use v4 lists and then you can page through the results to get all of the items.

P.S. v3 now supports the v4 access token authentication, so you can switch to using the bearer token as a single means of auth for both v3 and v4.

Hello, thanks for answer.

I saw it, but in v4 there is limit, 20 items. How to expand this limit?

You need to page through the pages by using the page param.

ok. how can i get just "id" from every item?

You can't. You'll just have to parse the response and grab the ID manually. The returned objects are the same as found everywhere else (search, discover, popular, etc...)

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

Settings

Want to rate or add this item to a list?

Login