Soporte de The Movie Database

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?

1 respuesta (en la página 1 de 1)

Jump to last post

At my knowledge, the results aren't sorted. They are just listed as they are found in the database.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión