The Movie Database Support

When i use "/person/{person_id}" to get people details can I get "known for" array ?

12 replies (on page 1 of 1)

Jump to last post

There is no such field at this time. I have an open ticket for this here.

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

Hey there, Mr.

I'm pretty sure that I saw that field months ago (I think), where you can see some other movies from the actor, but can't find it right now. It appears on the main web tho. It is available in the API right?

Person search results contain a known_for array (limited to 3 items), but other than that, you would need to build this data yourself. You can do that by checking the known_for_department field and then iterating over the persons credits.

You're right. Excellent! Thank you for the quick response. Have a good one.

Hi @travisbell , sorry for unearthing an old thread. Your answer from above has been quite helpful. I saw an older one were you also mentioned that known for result were sorted by descending rating count. Currently, the known for info on TMDB seems more accurate than what I can get with this technique. Would you have any guidance on how to achieve something close?

Hi @Romain_lfb, it's true that the logic around how we calculate the known for items changed a while back.

I'm not sure the current method is achievable with the data provided by the API so I just created a new ticket to think about adding the field to the API.

Thanks @travisbell . I noticed you've got an order property being returned at the moment but many of the items have the same order index. Could this be enhanced to give a granular order of most know for to least? Just an idea. Keep up the good work!

@Romain_lfb said:

Thanks @travisbell . I noticed you've got an order property being returned at the moment but many of the items have the same order index. Could this be enhanced to give a granular order of most know for to least? Just an idea. Keep up the good work!

That order property represents the order of that particular actor in the overall cast. So, if an actor has played the lead role in all of the movies he is known for, the order for all would be 0.

@travisbell I am looking for the exact same thing... is there a recommended workaround to get this done? For now I am doing this:

  1. Get combined_credits
  2. Use Cast / Crew based on known_for_department
  3. If using Cast sort by (vote_count / (order+1)) descending
  4. If using Crew sort by vote_count descending
  5. Would love to hear your thoughts...

I think we still have problems here. The 'known_for' array associated with a person includes results there are really NOT known for...

For example, when i search Rik Mayall the most popular movie he is 'known for' according to the array is 'An american werewold in london' in which he played '2nd chess player' listed 8th in order of movie credits. This is a very minor role.

Is the intent that the known_for array would only include credits where the person is in the lead role? i.e order = 0? If so it seems to be broken in this instance.

+1 to having a known_for in /person/{id}, please.

I'm able to fake it in a passable way by looking at order & popularity, but it's far from great. Something that was more curated would be lovely, rather than trying to back into it by hand.

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?

Masuk