Google Inline Videos API

When a Google search contains an inline "Videos" block, it is parsed into the inline_videos hash in the JSON output. Inline Videos block contains title, line, thumbnail, date, platform, and channel.

When a Google search contains one or more carousels of Inline Videos, they are parsed into the inline_video_carousels hash in the JSON output. Inline Video Carousels block contains title and videos. videos contain the same fields as inline_videos.

API Examples

Results for: how to make sourdough bread masterclass

Results for: how to make sourdough bread masterclass

JSON Example

{
  ...
  "inline_videos": [
    {
      "position": 1,
      "title": "How To Make A Multiseed Sourdough Masterclass",
      "link": "https://www.youtube.com/watch?v=UouZYyxhb1k",
      "thumbnail": "<URL to image>",
      "channel": "ilovecookingireland",
      "duration": "9:52",
      "platform": "YouTube",
      "date": "Apr 23, 2018",
      "key_moments": [
        {
          "time": "00:07",
          "title": "MULTISEED SOURDOUGH",
          "link": "https://www.youtube.com/watch?v=UouZYyxhb1k&t=7",
          "thumbnail": "<URL to image>",
          "percentage": 1
        },
        {
          "time": "01:12",
          "title": "RYE FLOUR 50g",
          "link": "https://www.youtube.com/watch?v=UouZYyxhb1k&t=72",
          "thumbnail": "<URL to image>",
          "percentage": 12
        },
        {
          "time": "01:37",
          "title": "MIXED SEEDS 100g",
          "link": "https://www.youtube.com/watch?v=UouZYyxhb1k&t=97",
          "thumbnail": "<URL to image>",
          "percentage": 16
        },
        ...
      ]
    },
    {
      "position": 2,
      "title": "100% Rye Sourdough Masterclass With Patrick Ryan",
      "link": "https://www.youtube.com/watch?v=H-8bZpQOM58",
      "thumbnail": "<URL to image>",
      "channel": "ilovecookingireland",
      "duration": "8:13",
      "platform": "YouTube",
      "date": "May 25, 2018",
      "key_moments": [
        {
          "time": "00:54",
          "title": "Salting",
          "link": "https://www.youtube.com/watch?v=H-8bZpQOM58&t=54",
          "percentage": 11
        },
        {
          "time": "01:09",
          "title": "Salt Levels",
          "link": "https://www.youtube.com/watch?v=H-8bZpQOM58&t=69",
          "percentage": 14
        },
        {
          "time": "02:15",
          "title": "How to Mix Your Ingredients",
          "link": "https://www.youtube.com/watch?v=H-8bZpQOM58&t=135",
          "percentage": 27
        },
        ...
      ]
    },
    {
      "position": 3,
      "title": "SOURDOUGH MASTERCLASS FOR BEGINNERS",
      "link": "https://www.youtube.com/watch?v=Is4JI0jrMLw",
      "thumbnail": "<URL to image>",
      "channel": "Alexandra Calzavara",
      "duration": "24:11",
      "platform": "YouTube",
      "date": "May 9, 2020",
      "key_moments": [
        {
          "time": "00:32",
          "title": "Equipment & Ingredients",
          "link": "https://www.youtube.com/watch?v=Is4JI0jrMLw&t=32",
          "thumbnail": "<URL to image>",
          "percentage": 2
        },
        {
          "time": "04:21",
          "title": "All About Starter",
          "link": "https://www.youtube.com/watch?v=Is4JI0jrMLw&t=261",
          "thumbnail": "<URL to image>",
          "percentage": 18
        },
        {
          "time": "05:05",
          "title": "Assembling the Dough & Autolyse",
          "link": "https://www.youtube.com/watch?v=Is4JI0jrMLw&t=305",
          "thumbnail": "<URL to image>",
          "percentage": 21
        },
        ...
      ]
    }
  ]
  ...
}

Carousels results for: garyvee youtube channel

Carousels results for: garyvee youtube channel

JSON Example

{
  ...
  "inline_video_carousels": [
    {
      "position": 1,
      "title": "GaryVee TV youtube channel",
      "link": "https://m.youtube.com/channel/UCOEMEjL1GBJ41uCWur5VXWQ",
      "displayed_link": "https://m.youtube.com › channel",
      "icon": "https://serpapi.com/searches/60ba1370260ca9600c82eedc/images/451842445a149fb151877f5cfd33535ad1a23d5f543631fd7e19b3a88b807f3e.png",
      "videos": [
        {
          "position": 1,
          "title": "All the Time You Spend Trying To Convince People Can Be Used ...",
          "link": "https://www.youtube.com/watch?v=cxf4VbgDoh8",
          "thumbnail": "https://i.ytimg.com/vi/cxf4VbgDoh8/mqdefault.jpg?sqp=-oaymwEGCOgBEIIB&rs=AMzJL3n9BV0Fr8FRapeA57wT4r9MNRaPMg",
          "duration": "0:27",
          "date": "3 days ago"
        },
        {
          "position": 2,
          "title": "Why Many of You Are Unhappy Explained in 30 Seconds #Shorts",
          "link": "https://www.youtube.com/watch?v=h4KqEk_VIXM",
          "thumbnail": "https://i.ytimg.com/vi/h4KqEk_VIXM/mqdefault.jpg?sqp=-oaymwEGCOgBEIIB&rs=AMzJL3mhP2ducmmUFBzeR_X8qknkl3Xtaw",
          "duration": "0:26",
          "date": "4 days ago"
        },
        ...
      ]
    },
    {
      "position": 2,
      "title": "Gary Vaynerchuk Fan Page YouTube Channel",
      "link": "https://m.youtube.com/channel/UCl-KxDRAaoZGW9HGed_hD8g",
      "displayed_link": "https://m.youtube.com › channel",
      "icon": "http://serpapi.com/searches/60ba1370260ca9600c82eedc/images/451842445a149fb151877f5cfd33535aaacc86226810f15e3f47e6585d3705aa.png",
      "videos": [
        {
          "position": 1,
          "title": "You Need To Think Big If You Want To Succeed! - Gary Vaynerchuk ...",
          "link": "https://www.youtube.com/watch?v=HOHgzESfg2U",
          "thumbnail": "https://i.ytimg.com/vi/HOHgzESfg2U/mqdefault.jpg?sqp=-oaymwEGCOgBEIIB&rs=AMzJL3k05at0HlqMd74V8tckc_lbBjVpkw",
          "duration": "12:09",
          "date": "3 days ago"
        },
        {
          "position": 2,
          "title": "The Mindset of The Most Successful Entrepreneurs - Gary ...",
          "link": "https://www.youtube.com/watch?v=mfArYChfbXs",
          "thumbnail": "https://i.ytimg.com/vi/mfArYChfbXs/mqdefault.jpg?sqp=-oaymwEGCOgBEIIB&rs=AMzJL3ks6rsHOGN2tSN2ra_eXYXJmMw4nA",
          "duration": "13:25",
          "date": "4 days ago"
        },
        ...
      ]
    },
    {
      "position": 3,
      "title": "Curse Free GaryVee - YouTube",
      "link": "https://m.youtube.com/c/cursefreegaryvee",
      "displayed_link": "https://m.youtube.com › cursefreega...",
      "icon": "http://serpapi.com/searches/60ba1370260ca9600c82eedc/images/451842445a149fb151877f5cfd33535a91b7ae3265c4df75168ff5e51730148b.png",
      "videos": [
        {
          "position": 1,
          "title": "Why People Are Starting to Watch Videos Differently Dailyvee 583 ...",
          "link": "https://www.youtube.com/watch?v=0YU73gbl7n0",
          "thumbnail": "https://i.ytimg.com/vi/0YU73gbl7n0/mqdefault.jpg?sqp=-oaymwEGCOgBEIIB&rs=AMzJL3k6ALtvX7ysOhYibm8yrGks8Xgh3Q",
          "duration": "17:09",
          "date": "Oct 21, 2019"
        },
        {
          "position": 2,
          "title": "What to Do About Instagram's Declining Organic Reach | DailyVee ...",
          "link": "https://www.youtube.com/watch?v=v23c0kI53_M",
          "thumbnail": "https://i.ytimg.com/vi/v23c0kI53_M/mqdefault.jpg?sqp=-oaymwEGCOgBEIIB&rs=AMzJL3ldbkgpbj9p4BEoskQjNP1t5790zQ",
          "duration": "14:53",
          "date": "Oct 14, 2019"
        },
        ...
      ]
    }
  ]
}