Search videos
search_videosUse when you need a page of videos matching a query across TikTok, Instagram and YouTube (Facebook opt-in). Not for a ranked, analysed niche answer: use research. Not for one phrase's stats and trend on one platform: use get_keyword. Price: 3 credits per platform per page (9 credits for the default three); +20 credits per video analysed with intelligence=true (top 20); focus +3 credits per video judged, +1 credit per must_mention rejection. Up to 30 a page (default 25); next_cursor pages. Instagram and Facebook are best-effort. Videos over 10 minutes are not analysed.
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_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| focus | No | Which Videos are relevant to you, in plain language with any exclusions, e.g. 'Apple Inc. and its products. Not the fruit or recipes.' Off-focus Videos are hidden and counted in off_focus_count; unjudged_count counts shown Videos not judged. Optional must_mention terms cheaply rule out a Video whose captions or transcript name none (one with neither goes to the model). | |
| limit | No | ||
| query | Yes | ||
| cursor | No | ||
| region | No | ||
| window | No | ||
| estimate | No | Quote the price in Credits: no Run, no charge | |
| platforms | No | ||
| max_credits | No | ||
| intelligence | No | ||
| idempotency_key | No | Reuse on a retry: replays the original Run, not charged again | |
| include_off_focus | No | With focus: true returns every Video with its focus verdict and reason, off-focus ones included. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| cached | No | ||
| result | No | ||
| poll_url | No | ||
| estimate_credits | No |