PeumeAPI

Search & SEO · YouTube

Google Videos

Search Google for video results (YouTube and others) with title, link, thumbnail, and source.

$0.0015 per call

Call it

curl https://api.peume.com/v1/call/youtube-google-videos \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "gl": "us",
    "hl": "en",
    "query": "lofi hip hop"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: youtube-google-videos.

Parameters

fieldsstring

Comma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.

max_itemsinteger

Caps the result rows returned; `_truncated` says how many were withheld. Not the charge.

summaryboolean

`true` returns only an outline: keys, item counts, per-field sizes.

jqstring

jq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.

autocorrectboolean

Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction.

glstring

Two-letter country code for result localization (e.g. us, gb, de).

Example: us

hlstring

Two-letter interface and results language code (e.g. en, es, de).

Example: en

locationstring

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.

queryRequiredstring

The video search query.

Example: lofi hip hop

timeframestring

Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.