YouTube Movie Results API
When a YouTube search contains movie results, they are parsed and exist within the movie_results
array in the JSON output.
API Examples
Movie results overview
When SerpApi encounters movie results, we add them to our JSON output as the array movie_results
. For each movie result, we are able to extract its position_on_page
, title
, link
, channel
, description
, info
, thumbnail
and more.
{
...
"movie_results": [
{
"position_on_page": 2,
"title": "Star Wars: The Force Awakens",
"link": "https://www.youtube.com/watch?v=-eYxeRJCYMY",
"serpapi_link": "https://serpapi.com/search.json?engine=youtube_video&v=-eYxeRJCYMY",
"channel": {
"name": "YouTube Movies",
"link": "https://www.youtube.com/channel/UClgRkhTL3_hImCAmdLfDE4g",
"verified": true
},
"length": "2:18:06",
"description": "Visionary director J.J. Abrams brings to life the motion picture event of a generation. As Kylo Ren and the sinister First Order rise ...",
"info": [
"Action & Adventure · 2015 · PG-13 · English audio",
"Actors: Harrison Ford, Mark Hamill, Carrie Fisher",
"Director: J.J. Abrams"
],
"extensions": [
"4K",
"CC"
],
"thumbnail": "https://i.ytimg.com/vi_webp/-eYxeRJCYMY/movieposter.webp"
},
{
"position_on_page": 9,
"title": "Star Wars: The Rise of Skywalker",
"link": "https://www.youtube.com/watch?v=efzufoWqWQ4",
"serpapi_link": "https://serpapi.com/search.json?engine=youtube_video&v=efzufoWqWQ4",
"channel": {
"name": "YouTube Movies",
"link": "https://www.youtube.com/channel/UClgRkhTL3_hImCAmdLfDE4g",
"verified": true
},
"length": "2:21:52",
"description": "Lucasfilm and director J.J. Abrams join forces once more to take viewers on an epic journey to a galaxy far, far away with STAR ...",
"info": [
"Action & Adventure · 2019 · PG-13 · English audio",
"Actors: Carrie Fisher, Mark Hamill, Adam Driver",
"Director: J.J. Abrams"
],
"extensions": [
"4K",
"CC"
],
"thumbnail": "https://i.ytimg.com/vi_webp/efzufoWqWQ4/movieposter_en.webp"
}
],
...
}