Google API
Google Videos API
Search Google for video results (YouTube and others) with title, link, thumbnail, and source.
POST/v1/run/google.videos
Uptime
100.00%
30d · 118 calls
Requests
118
30d
Response
1.0s
median · 30d
Try it
Make your first request
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
"data": {
"query": "example",
"results": [
{
"image": "https://example.com/image.jpg",
"link": "https://example.com/page",
"position": 1,
"snippet": "A short example description of this item.",
"source": "https://example.com/page",
"title": "Example title"
}
]
},
"found": true
}Response interface
interface GoogleVideosResponse {
data: {
query: string;
results: {
image?: string;
link: string;
position?: number;
snippet?: string;
source?: string;
title: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dPOST /v1/run/google.videos
curl -X POST https://api.getanyapi.com/v1/run/google.videos \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"gl":"us","hl":"en","query":"lofi hip hop"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| query | string | "lofi hip hop"The video search query. |
| autocorrect | boolean | Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction. |
| gl | string | "us"Two-letter country code for result localization (e.g. us, gb, de). |
| hl | string | "en"Two-letter interface and results language code (e.g. en, es, de). |
| location | string | Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl. |
| timeframe | string | Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction). |
| Response | ||
| data | object | Result payload, or null when nothing was found. |
| data.query | string | The query that was searched. |
| data.results | object[] | Video result records. Populated whenever the provider has data for the entity. |
| data.results[].image | string | Thumbnail image URL for the video. |
| data.results[].link | string | URL to the video. Populated whenever the provider has data for the entity. |
| data.results[].position | integer | 1-based rank in the result list. |
| data.results[].snippet | string | Short description snippet. |
| data.results[].source | string | Host platform (e.g. YouTube, Vimeo). |
| data.results[].title | string | Video title. Populated whenever the provider has data for the entity. |
| found | boolean | True when at least one video result was returned. |
| Price | ||
| Price per request | USD | $0.00099 |
| Price /1k req | USD | $0.99 |
FAQ
About the Google Videos API
The AnyAPI Google Videos API returns Google videos data as normalized JSON from one POST call to /v1/run/google.videos. Search Google for video results (YouTube and others) with title, link, thumbnail, and source. AnyAPI returns one normalized schema whichever source serves it. It costs from $0.99 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Google videos calls through AnyAPI succeeded, with a median response time of 1.0 seconds across 118 measured calls.
It costs from $0.99 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.
Search Google for video results (YouTube and others) with title, link, thumbnail, and source. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.
Over the last 30 days, 100.0% of Google videos calls through AnyAPI succeeded, with a median response time of 1.0 seconds across 118 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.