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

Pricing

One price, in dollars

Try it

Make your first request

Open in
Get a free key
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 30d
POST /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"}'
FieldTypeExample value
Request body
querystring"lofi hip hop"The video search query.
autocorrectbooleanToggle Google spelling autocorrect (default true). Set false to search the exact query without correction.
glstring"us"Two-letter country code for result localization (e.g. us, gb, de).
hlstring"en"Two-letter interface and results language code (e.g. en, es, de).
locationstringFine-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.
timeframestringRestrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).
Response
dataobjectResult payload, or null when nothing was found.
data.querystringThe query that was searched.
data.resultsobject[]Video result records. Populated whenever the provider has data for the entity.
data.results[].imagestringThumbnail image URL for the video.
data.results[].linkstringURL to the video. Populated whenever the provider has data for the entity.
data.results[].positioninteger1-based rank in the result list.
data.results[].snippetstringShort description snippet.
data.results[].sourcestringHost platform (e.g. YouTube, Vimeo).
data.results[].titlestringVideo title. Populated whenever the provider has data for the entity.
foundbooleanTrue when at least one video result was returned.
Price
Price per requestUSD$0.00099
Price /1k reqUSD$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.