The Movie Database Support

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:

https://api.themoviedb.org/3/credit/5511b37d9251412a88001134?api_key=my-api-key

Response:

{
  "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 replies (on page 1 of 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?

Thanks!

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

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

Cheers.

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.