Search YouTube
search_youtubeSearch YouTube by keyword to find videos ranked by views and get compact metadata for mining hooks, angles, and long-form structure. Use it for content and competitor research.
Instructions
Organic YouTube keyword search (/v1/youtube/search) — videos to mine for hooks/angles/long-form structure. Returns compact JSON {desc (title), author, handle, plays, seconds, postedAt, link, cover} per video, ranked by views. Spends about a credit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_youtube"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max videos returned (1–25, default 8) | |
| query | Yes | keyword to search videos for | |
| region | No | ||
| sortBy | No | ||
| duration | No | ||
| get_cost | No | true: return the price only; nothing runs or bills | |
| uploadDate | No | ||
| idempotency_key | No | chosen once, resent unchanged on retries: the same key never buys twice | |
| expected_credits | No | the get_cost price; refused unbilled if the live price differs |