The Movie Database Support

¿How could I do to get JSon result of movies of a specific actor by actor's name? I know I could get actor ID for eg: https://api.themoviedb.org/3/search/person?api_key=#####&query=bruce+willis , so id is 62 but I need to get this actor movies returned in JSon format.

I tried different was like https://www.themoviedb.org/discover/movie?with_cast=62 however that way gives me movies with different cast and no Bruce Willis. This way no API-KEY is requiered and no Json results is returned.

I tried: https://api.themoviedb.org/3/search/movie?api_key=#####&query=62. However it seems movie id 62 Json data is returned.

1 reply (on page 1 of 1)

Jump to last post

Hi accarvajal,

Once you have a person id, you need to call one of the person methods.

http://api.themoviedb.org/3/person/62/movie_credits?api_key=###
http://api.themoviedb.org/3/person/62/tv_credits?api_key=###
http://api.themoviedb.org/3/person/62/combined_credits?api_key=###

You can also use discover to get their credits:

http://api.themoviedb.org/3/discover/movie?api_key=###&with_cast=62

The downside to this approach is that there's no combined method BUT you get the extra flexibility of sorting and filtering by all of the supported options on discover.

Cheers.

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