anonymous
most likey not the best way to do it... but the site omive.com has an API that services up JSON.

POSTing to http://omive.com/search/
with the data
actors[]=martin sheen

returns

[{"id":22975,"imdbid":"1441912","showtype":0,"name":"The Way","votes":16425,"image":"http://ia.media-imdb.com/images/M/MV5BMT...","trailer":"http://imdb.com/video/imdb/vi923573529/","year":2010,"rating":7.4,"synopsis":"A father heads overseas to recover the body of his estranged son who died while traveling the \"El camino de Santiago,\" and decides to take the pilgrimage himself.","actors":"Martin Sheen, Emilio Estevez, Deborah Kara Unger","directors":"Emilio Estevez","genres":"Adventure, Comedy, Drama","runtime":123,"ordered":23.2066,"streams":[{"key":"netflix","value":"https://movies.netflix.com/WiPlayer?movi..."},{"key":"amazon_instant","value":null},{"key":"amazon_prime","value":null},{"key":"hulu","value":null}]}]


it returned more but i deleted most of it.

would you deem that site unreliable though?
posted by <hidden> • 3 years and 3 months ago Link

laouji
This would be quite easy to use. The results don't appear to be organized in any particular way but it includes both data for 'rating' and 'votes', which can be used to pick out the top 5 or so.

As far as I can tell it's an API run by an individual.
posted by laouji 3 years and 3 months ago Link