Suporte do The Movie Database

Given a list of movies, I'm trying to find which persons constitute a crew and a cast.

To achieve this, I'm fetching movies by genre. Next I fetch credits for each movie (movie/:id/credits). This gives me credits (cast and crew) for each movie. However, each entry in the cast/crew arrays do not include person id. So, I have to grab the credit id and poke the credit/:id endpoint in order to get person id for every single credit. And this is where I'm stuck, because I can't seem to get any result from this last endpoint.

This is Jyn Erso cast credit from Rogue One:


  "status_code": 34,
  "status_message": "The resource you requested could not be found."

Optimally, there would be a way to get credits included in the response on the first movie-by-genre search. And each credit would not only include the name of the person in question, but the person id. Any chance of making this happen? Any help greatly appreciated

8 respostas (na página 1 de 1)

Jump to last post

Ah yes, I believe there is some problems with the credit end point right now. I have it on my list of things to fix.

But, you're main goal here is actually something I plan on doing TMDb side in the very near of future. Not only if a person in mainly a "crew" or "actor" but also the main job their known for. You'll see this data available in the API soon-ish.

Right, thanks for answering! What's the best way to keep tabs on the project so I get the message as soon as this feature is out?

For something like this, probably the ticket on Lighthouse. The bigger features tend to get mentioned on the blog.

Still not able to get a successful response from the Credit Detail API. Is this still under development?


Movie credits are now queryable. Let me know if you see any problems.

The person "known for" field will be added next week.


Looking good now Travis. Thanks! The 'known for' field is delivering some data under the Credit Details response. However, it is delivering a just a subset of movies the particular cast or crew member has been involved in, compared to the whole list associated with the person from the Person API. Is there a criteria based on which this subset is being derived from?

The known_for field you're seeing is on the person object. It's the same data returned by say, person search. That data is built from the "known for" field that you can see on a person. It contains the first 3 items from whatever job that person is known for.

What I was referencing above was the API ticket to bring this known for field to the person get details response. The ticket for that is here.

If you want to get a lit of their movies, then yes, you need to make the extra call to /movie_credits.

One last update... The person method now includes a known_for_department which you can use to know what department to build a persons "known for" data with.


s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e ir para a página de edição

On TV season pages

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

On TV episode pages

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

On all image pages

a abrir janela para adicionar imagem

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior