Scrapingdog

Google Videos API

The Google Videos API retrieves video search results from Google, supporting geographic localization, language preferences, and advanced filtering. Costs 5 API credits per request.

Endpoint: https://api.scrapingdog.com/google_videos

API Parameters

🔑

Authentication

  • api_key Required
    Your personal API key. Available on your dashboard

    Type: String
  • query Required
    This is a Google query.

    Example1 - query=shoes
🌍

Geographic Location and Localization

  • country Optional
    This is the ISO code of the country from which you are seeking Google search results.

    Default Value - us

    Type - String
  • page Optional
    This is the page number of Google searches. Its value can be 0 for the first page, 1 for the second page, and so on.

    Default Value - 0

    Type - String
  • domain Optional
    To obtain local results from a specific country, for example, for India, it will be "google.co.in," and for the UK, it will be "google.co.uk".

    Type: String

    Default: google.com
  • language Optional
    Language of the results. Possible Values - en, es, fr, de, etc.

    Default Value - en

    Type - String
  • lr Optional
    Limit the search to one or multiple languages. It is used as lang_{language code}.

    Type: String

    For example - "lang_us"
  • result_time Optional
    The "tbs" parameter is often accompanied by additional parameters that define specific search options.

    These options can include parameters such as time range, language, country, file type, and more.

    Possible Value - qdr:d

    Type - String
  • uule Optional
    It is a parameter that specifies the geographic location or locale for which the search results should be tailored. Possible Value could be w+CAIQIFJlbGF5IFN0YXRlcw==

    Type - String
  • tbs Optional
    To be searched - An advanced parameter to filter search results.

    Type: String
  • safe Optional
    To filter the adult content set safe to active or to disable it set off.

    Type: String [active/off]

    Default: off
  • nfpr Optional
    It can be set to 1 to exclude these results or 0 to include them.

    Type: Boolean

    Default: 0

    It excludes the result from an auto-corrected query that is spelled wrong.
  • html Optional
    To render the response as raw HTML.

    Type: Boolean

    Default: false

API Examples

Code to Integrate
curl "https://api.scrapingdog.com/google_videos?api_key=APIKEY&query=football&country=us"
API Response
{
  "video_results": [
    {
      "title": "NFL \"Backyard Football\" Moments - YouTube",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=...",
      "link": "https://www.youtube.com/watch?v=ET0G1FYxWqc",
      "displayed_link": "www.youtube.com › watch",
      "time": "14:04",
      "rank": "1"
    },
    {
      "title": "First NFL Africa Camp gives young athletes chance to show off football skills",
      "link": "https://www.nfl.com/news/first-nfl-africa-camp",
      "displayed_link": "www.nfl.com › news",
      "rank": "2"
    }
  ]
}