SerpBase
Back to Blog

Google Video Search API: Get the Videos Tab as JSON

Get Google's Videos tab as JSON: title, link, platform, duration and publish date for each ranked video. Tested request, fields and how it differs from YouTube search.

November 24, 2026
By SerpBase Team2 min read

Short answer: POST a query to /google/videos/search and you get Google's Videos tab as JSON — title, link, source platform, duration and publish date for each video, in ranking order.

This is different from searching YouTube directly. Google's Videos tab ranks videos from any site — YouTube, Vimeo, TikTok, news sites, course platforms — the way Google's search does. If you care about which video Google shows for a query, this is the page to read.

The request

curl -X POST 'https://api.serpbase.dev/google/videos/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"q":"sourdough starter","gl":"us","hl":"en"}'

What comes back

We ran this on 24 November 2026: 10 videos in 4.6 seconds. The first item in videos:

{
  "position": 1,
  "title": "How to Make a Sourdough Starter",
  "link": "https://www.youtube.com/watch?v=0OeCjbXlPoA",
  "source": "YouTube",
  "display_link": "www.youtube.com",
  "duration": "11:30",
  "published_at": "Aug 18, 2026"
}

Items also have a thumbnail_url. Send page for the next page of results.

Python: which of your videos does Google rank?

import requests

CHANNEL_HINT = "youtube.com"          # or your own domain for self-hosted video
KEYWORDS = ["sourdough starter", "sourdough starter day 3"]

for kw in KEYWORDS:
    r = requests.post(
        "https://api.serpbase.dev/google/videos/search",
        headers={"X-API-Key": "YOUR_API_KEY"},
        json={"q": kw, "gl": "us", "hl": "en"},
        timeout=30,
    ).json()
    print(f"\n== {kw}")
    for v in r.get("videos", []):
        mark = "*" if CHANNEL_HINT in v["link"] else " "
        print(mark, v["position"], v["source"], v["duration"], v["title"])

Replace the hint with your channel's video IDs or your domain to get a video rank tracker.

Videos tab, YouTube search, or the main page?

You wantUse
Videos Google ranks for a query, from any site/google/videos/search (this page)
What YouTube's own search returns, with view counts and channels/youtube/search
The video block inside normal Google resultsinline_videos in /google/search

Things that trip people up

  • No view counts here. Google's Videos tab does not show them; get them from the YouTube endpoint if you need them.
  • published_at is a display date such as "Aug 18, 2026", or relative text for recent uploads. Parse it defensively.
  • Thumbnails can be inline data (data:image/...) rather than URLs.
  • Country matters. Set gl and hl; the US and UK tabs rank different videos for the same words.

What people build with it

Video SEO tracking, finding which platforms win a topic before producing for it, and video sources for research assistants.

Cost and limits

Each request costs 1 credit. Requests that fail are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string, so check status rather than the HTTP code. New accounts get 500 free credits without a card.