100 free credits. No credit card required. Get a key

Google video search API

Google’s Videos tab: title, link, snippet, thumbnail, duration, platform, channel and upload date for a query.

GET /v1/google/search/videosBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/google/search/videos?q=guitar%20lesson",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"searchParameters": {
"q": "guitar lesson",
"type": "videos",
"engine": "google",
"gl": "us",
"hl": "en",
"num": 10,
"page": 1
},
"videos": [
{
"title": "Guitar Lesson 1 - Absolute Beginner? Start Here! [Free 10 Day ...",
"link": "https://www.youtube.com/watch?v=BBz-Jyr23M4",
"snippet": "Feeling stuck, inconsistent… or not sure what to practise next? ✓ START YOUR FREE 10-DAY TRIAL Join here ...",
"imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTlIl47DXFsMGb4utY-Vcy_pe6f_e7Ee2rks8PxTH-V9E0rAppCEvlw_g&s",
"duration": "16:11",
"source": "YouTube",
"channel": "Andy Guitar",
"date": "Sep 2, 2016",
"position": 1
},
{
"title": "First Guitar Lesson for Complete Beginners (Start Playing in ...",
"link": "https://www.youtube.com/watch?v=jh7_FRlFPw4&vl=en",
"snippet": "Just finished your first guitar lesson? Here's your next step — my FREE songbook. 15 iconic songs you can play starting …",
"imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS0tfBKlidzXRckq7dK5VEESRXH5dIcdl828hRTQaiTQ4JMrvvj5ag-UA&s",
"duration": "11:14",
"source": "YouTube",
"channel": "Good Guitarist",
"date": "Jan 3, 2026",
"position": 2
},
"… 8 more"
]
}

Parameters

NameTypeDescription
qquery · requiredstringThe search, as typed into Google (operators work). Example: coffee.
glquerystringCountry to search from, default us. Example: gb.
hlquerystringInterface language, default en. Example: de.
locationquerystringWhere the search happens, as a canonical place name ("Austin,Texas,United States"). Example: Austin,Texas,United States.
numqueryintegerResults per page (default 10, at most 10).
pagequeryintegerPage, from 1.
tbsquerystringTime filter: qdr:h (past hour), qdr:d, qdr:w, qdr:m, qdr:y, or a cdr:1,cd_min:…,cd_max:… range. Example: qdr:w.
safequery"active" | "off"SafeSearch, default off. One of active, off.
Status codes
StatusMeaning
200The videos.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No Google Maps place matches that reference.
429Too many requests. Wait for Retry-After seconds.
503Google is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Only YouTube?

No, every platform Google lists (YouTube, TikTok, Vimeo, news sites).

Google is a trademark of Google LLC. We are not affiliated with or endorsed by Google.