I am using the /search/person endpoint in the TMDB API to search for a person by name. When I make a query, the response includes a list of 20 people on the first page, and the total_pages property indicates there are more pages with additional results.
I tried making requests for all pages (up to the total number of pages) and aggregated the results into one array. After sorting all results by the popularity property, I compared the top 10 people from the first page of the initial response with the top 6 people from the sorted aggregated results.
I noticed that the two lists do not match. Could you clarify how the TMDB API distributes search results across pages? Are they sorted by relevance, popularity, or some other criteria?
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
superboy97님의 댓글
6월 26, 2025 at 12:38 오전
At my knowledge, the results aren't sorted. They are just listed as they are found in the database.