YouTube Category Results API

This kind of results are similar to the main YouTube Video Results, except that they are categorized and put under different "categories" (e.g. Top news, Latest from..., etc). When SerpApi encounters this type of results, we add them to our JSON output. For each category result, we are able to extract its position_on_page, title, link, channel, published_date, views, length, thumbnail and more.

API Examples

Results for: Top news

Results for: Top news

JSON Example

{
  ...
  "latest_from_star_wars": [
    {
      "position_on_page": 5,
      "title": "Virtual Premiere | The Mandalorian | Disney+",
      "link": "https://www.youtube.com/watch?v=1qq4Q5n3-nU",
      "channel": {
        "name": "Star Wars",
        "link": "https://www.youtube.com/user/starwars",
        "verified": true,
        "thumbnail": "https://yt3.ggpht.com/a-/AOh14GgskYzAhYn9cvahFlka1ODJVVGGvbJA4AGorw=s68-c-k-c0x00ffffff-no-rj-mo"
      },
      "published_date": "9 hours ago",
      "views": 57855,
      "length": "29:56",
      "description": "The Mandalorian and the Child continue their journey, facing enemies and rallying allies as they make their way through a ...",
      "extensions": [
        "New"
      ],
      "thumbnail": {
        "static": "https://i.ytimg.com/vi/1qq4Q5n3-nU/hqdefault.jpg?sqp=-oaymwEZCOADEI4CSFXyq4qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLCwGKt1H-KNnzAuF_u2C5mfiNGmbg",
        "rich": "https://i.ytimg.com/an_webp/1qq4Q5n3-nU/mqdefault_6s.webp?du=3000&sqp=CIWD9fwF&rs=AOn4CLD82MG25RdVFBTESXsHxrC8jSVYvg"
      }
    },
    {
      "position_on_page": 6,
      "title": "The Mandalorian Virtual Red Carpet Premiere, What Scares the Jedi, and More!",
      "link": "https://www.youtube.com/watch?v=dTR7q_0_YOQ",
      "channel": {
        "name": "Star Wars",
        "link": "https://www.youtube.com/user/starwars",
        "verified": true,
        "thumbnail": "https://yt3.ggpht.com/a-/AOh14GgskYzAhYn9cvahFlka1ODJVVGGvbJA4AGorw=s68-c-k-c0x00ffffff-no-rj-mo"
      },
      "published_date": "1 day ago",
      "views": 30410,
      "length": "3:30",
      "description": "This week, in Star Wars we announce The Mandalorian Season Two virtual red carpet premiere event, find out what scares the ...",
      "extensions": [
        "New",
        "CC"
      ],
      "thumbnail": {
        "static": "https://i.ytimg.com/vi/dTR7q_0_YOQ/hq720.jpg?sqp=-oaymwEZCOgCEMoBSFXyq4qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLCq4INL160YpyYcyCmPUgXFMAPVhQ",
        "rich": "https://i.ytimg.com/an_webp/dTR7q_0_YOQ/mqdefault_6s.webp?du=3000&sqp=CLCl9fwF&rs=AOn4CLD0LznG9CI33NgPdTE_HXahIu4dJw"
      }
    },
    {
      "position_on_page": "hidden",
      "title": "The Star Wars Show Halloween Scaretacular!",
      "link": "https://www.youtube.com/watch?v=EgpAsPYvRy0",
      "channel": {
        "name": "Star Wars",
        "link": "https://www.youtube.com/user/starwars",
        "verified": true,
        "thumbnail": "https://yt3.ggpht.com/a-/AOh14GgskYzAhYn9cvahFlka1ODJVVGGvbJA4AGorw=s68-c-k-c0x00ffffff-no-rj-mo"
      },
      "published_date": "2 days ago",
      "views": 38469,
      "length": "11:37",
      "description": "This month on The Star Wars Show, we take a look back at The Mandalorian Season One, check out a brand new Star Wars: ...",
      "extensions": [
        "New"
      ],
      "thumbnail": {
        "static": "https://i.ytimg.com/vi/EgpAsPYvRy0/hq720.jpg?sqp=-oaymwEZCOgCEMoBSFXyq4qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLApJy8y6W9Hx90Ymdup5jrX_nXU8Q",
        "rich": "https://i.ytimg.com/an_webp/EgpAsPYvRy0/mqdefault_6s.webp?du=3000&sqp=CPee9fwF&rs=AOn4CLDd5RMlqSc3Wfp3jIWllwEyDU8FnQ"
      }
    },
    ...
  ],
  ...
}

Results for: Learn while you're at home

Results for: Learn while you're at home

JSON Example

{
  ...
  "learn_while_you_re_at_home": [
    {
      "position_on_page": 11,
      "title": "How To Make Every Coffee Drink | Method Mastery | Epicurious",
      "link": "https://www.youtube.com/watch?v=lVeNTofDB2k",
      "channel": {
        "name": "Epicurious",
        "link": "https://www.youtube.com/user/epicuriousdotcom",
        "thumbnail": "https://yt3.ggpht.com/a-/AOh14Gj35fv7S6-TAXTUncPtR48QJRU3Wdwa9XMbxA=s68-c-k-c0x00ffffff-no-rj-mo"
      },
      "published_date": "1 month ago",
      "views": 847875,
      "length": "34:08",
      "description": "Break out your bean grinders and come to attention because barista class is in session! Join Kaleena Teoh and Chi Sum Ngai, ...",
      "thumbnail": {
        "static": "https://i.ytimg.com/vi/lVeNTofDB2k/hq720.jpg?sqp=-oaymwEZCOgCEMoBSFXyq4qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLDJTwpyYph4CNFb8NaHaizxwBIpYQ",
        "rich": "https://i.ytimg.com/an_webp/lVeNTofDB2k/mqdefault_6s.webp?du=3000&sqp=CKn99PwF&rs=AOn4CLD8bwRNQ2P5vsMDyLtwpzelI0n5bg"
      }
    },
    {
      "position_on_page": 12,
      "title": "Modern Marvels: How Coffee is Made (S12, E51) | Full Episode | History",
      "link": "https://www.youtube.com/watch?v=lmAJGymXXAc",
      "channel": {
        "name": "HISTORY",
        "link": "https://www.youtube.com/user/historychannel",
        "verified": true,
        "thumbnail": "https://yt3.ggpht.com/a-/AOh14Gg0wUfLoNfbpMtKFE5uiG_kufzF_BH8KzaPdA=s68-c-k-c0x00ffffff-no-rj-mo"
      },
      "published_date": "3 months ago",
      "views": 165681,
      "length": "44:46",
      "description": "Love Modern Marvels? Stay up to date on all of your favorite History shows at https://history.com/schedule. Discover how billions ...",
      "extensions": [
        "CC"
      ],
      "thumbnail": {
        "static": "https://i.ytimg.com/vi/lmAJGymXXAc/hq720.jpg?sqp=-oaymwEZCOgCEMoBSFXyq4qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLDUWpOfgpPlZcFkS18I5JKyZQghyQ",
        "rich": "https://i.ytimg.com/an_webp/lmAJGymXXAc/mqdefault_6s.webp?du=3000&sqp=CMWB9fwF&rs=AOn4CLDOKA4oApbT9omxTdlDP4tjV2pIIA"
      }
    },
    {
      "position_on_page": "hidden",
      "title": "Science Says No Coffee Before Breakfast?!",
      "link": "https://www.youtube.com/watch?v=U8CJ_DCeADY",
      "channel": {
        "name": "James Hoffmann",
        "link": "https://www.youtube.com/channel/UCMb0O2CdPBNi-QqPk5T3gsQ",
        "verified": true,
        "thumbnail": "https://yt3.ggpht.com/a-/AOh14Gjszzy7wrE8dOVDXSHLBhbxkxTSO8i3oSmsng=s68-c-k-c0x00ffffff-no-rj-mo"
      },
      "published_date": "1 day ago",
      "views": 130015,
      "length": "12:07",
      "description": "For a free trial of Squarespace, and a 10% discount on your first purchase go here: https://www.squarespace.com/jameshoffmann ...",
      "extensions": [
        "New",
        "4K"
      ],
      "thumbnail": {
        "static": "https://i.ytimg.com/vi/U8CJ_DCeADY/hq720.jpg?sqp=-oaymwEZCOgCEMoBSFXyq4qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLD5Co6br1_oS8ADQ17D-tsZH5AxqA",
        "rich": "https://i.ytimg.com/an_webp/U8CJ_DCeADY/mqdefault_6s.webp?du=3000&sqp=COSS9fwF&rs=AOn4CLBocDlh_eKNUPqNNkVwCTESvx3P7w"
      }
    },
    ...
  ],
  ...
}