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

12 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.

I've noticed that the credit endpoint isn't serving anything beyond the credit _id and name fields, but on the developer site, it is. What gives?

@danksky Can you provide me an example of this?

Movie:

https://api.themoviedb.org/3/movie/550/credits?api_key=###
https://api.themoviedb.org/3/credit/52fe4250c3a36847f80149f3?api_key=###

TV Show:

https://api.themoviedb.org/3/tv/1399/credits?api_key=###
https://api.themoviedb.org/3/credit/5256c8af19c2956ff60479f6?api_key=###

Both seem ok.

It turned out to be a logic issue with how I was filtering the response. Sorry to cry wolf!

No worries, happy to you sorted it out.

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