键盘快捷键
高级搜索
Is there a way to retrieve all actors in a specific movie? I am struggling to figure it out with the API documentation.
Hi @zgall1, you will want to use the movie credits endpoint. It returns two arrays, cast and crew. For actors you would want the cast array.
You can call it by itself, or you can append it to the movie details with append_to_response:
https://api.themoviedb.org/3/movie/{movie_id}/credits https://api.themoviedb.org/3/movie/{movie_id}?append_to_response=credits
https://api.themoviedb.org/3/movie/{movie_id}/credits
https://api.themoviedb.org/3/movie/{movie_id}?append_to_response=credits
找不到电影或节目?登录并创建它吧。
登录
注册
想给这个条目评分或将其添加到片单中?
还不是会员?
注册加入社区
robbie3999 的回复
于 2023 年 08 月 05 日 7:06下午
Hi @zgall1, you will want to use the movie credits endpoint. It returns two arrays, cast and crew. For actors you would want the cast array.
You can call it by itself, or you can append it to the movie details with append_to_response: