Copied to clipboard!

Google Video Results API

Code examples
Daily build status

To scrape Google Videos results with SerpApi, create a search with these parameters:

Name
Required
Description

tbm

Required

Parameter must be set to vid. (I.e., tbm=vid)

Video Results page


When SerpApi encounters video results, we add them to our JSON output as the array video_results.
For each video result, we are able to extract its title, link, displayed_link, thumbnail, snippet, rich_snippet.

Google page structure:

Zoom In

Google Structured Video Results
SerpApi JSON structure:
{
  ...
  "video_results": [
    {
      "position": 1,
      "title": "Coffee | ChefSteps",
      "link": "https://www.chefsteps.com/classes/coffee",
      "displayed_link": "https://www.chefsteps.com/classes/coffee",
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
      "snippet": "How do you take your coffee? We bet you have a tried-and-true answer—maybe you prefer it with a spoonful ...",
      "related_pages_link": "https://www.google.com/search?hl=en&gl=us&q=related:https://www.chefsteps.com/classes/coffee+Coffee&tbo=1&sa=X&ved=0ahUKEwivlbOh78fhAhUNnq0KHVm-Bv4QHwgrMAA",
      "rich_snippet": {
        "top": {
          "extensions": [
            "Feb 5, 2015"
          ]
        }
      }
    },
    {
      "position": 2,
      "title": "How-to Coffee Videos | How to Make Coffee | Folgers Coffee | Folgers ...",
      "link": "https://www.folgerscoffee.com/coffee-how-to/how-to-videos/how-to-make-coffee",
      "displayed_link": "https://www.folgerscoffee.com/coffee-how-to/how-to-videos/how-to-make-coffee",
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
      "snippet": "How-to Coffee Videos - Discover how to make great-tasting coffeehouse drinks from the comfort of your own ...",
      "rich_snippet": {
        "top": {
          "extensions": [
            "Jul 24, 2010",
            "Uploaded by Folgers"
          ]
        }
      }
    },
    {
      "position": 3,
      "title": "Hot Coffee | Dunkin'® - Dunkin' Donuts",
      "link": "https://www.dunkindonuts.com/en/food-drinks/hot-drinks/coffee",
      "displayed_link": "https://www.dunkindonuts.com/en/food-drinks/hot-drinks/coffee",
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
      "snippet": "Grab a cup of Dunkin'® freshly brewed hot coffee today! Make it your own and choose from a variety of blends ...",
      "related_pages_link": "https://www.google.com/search?hl=en&gl=us&q=related:https://www.dunkindonuts.com/en/food-drinks/hot-drinks/coffee+Coffee&tbo=1&sa=X&ved=0ahUKEwivlbOh78fhAhUNnq0KHVm-Bv4QHwg0MAI",
      "rich_snippet": {
        "top": {
          "extensions": [
            "Jan 11, 2017"
          ]
        }
      }
    },
    {
      "position": 4,
      "title": "Why do we believe Americans spend too much money on coffee and ...",
      "link": "https://www.washingtonpost.com/opinions/2019/04/08/why-do-we-believe-americans-spend-too-much-money-coffee-avocado-toast/",
      "displayed_link": "https://www.washingtonpost.com/.../why-do-we-believe-americans-spend-too-much-mo...",
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
      "snippet": "Spending on Starbucks and other unnecessary luxury goods isn't the real source of Americans' financial woes.",
      "rich_snippet": {
        "top": {
          "extensions": [
            "3 days ago",
            "Uploaded by CNBC Make It."
          ]
        }
      }
    },
  ...
}

Video Results Rich Snippet


Google page structure:

Zoom In

Google Video Rich Snippet
SerpApi JSON structure:
{
  {
      "position": 5,
      "title": "This Coffee And Cream Chart Is Tearing People Apart On Instagram",
      "link": "https://www.delish.com/food-news/a27090743/coffee-creamer-gradient-chart/",
      "displayed_link": "https://www.delish.com/food-news/a27090743/coffee-creamer-gradient-chart/",
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
      "snippet": "A coffee chart that shows a gradient of coffee-to-creamer ratios on Instagram is causing controversy.",
      "rich_snippet": {
        "top": {
          "extensions": [
            "2 days ago"
        ]
      }
    }
  },