Search videos
search_videosSearch for videos matching a query on YouTube (default), TikTok, or Instagram. Returns titles, ids, durations, and URLs that get_transcript accepts directly. On YouTube, upload_date, duration, sort and captions narrow the results; search_channels finds channels or playlists instead. To read what the videos say rather than only their titles, set transcripts to N: the caption transcripts of the first N rows (at most 5) come back in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | YouTube only. relevance (default) or views (most viewed first). YouTube search no longer sorts by date; for recent videos use upload_date. | relevance |
| limit | No | Max results to return (1–50). Defaults to 5. | |
| query | Yes | Search keywords. | |
| captions | No | YouTube only. true keeps only videos with subtitles or closed captions. | |
| duration | No | YouTube only. short is under 4 minutes, medium 4 to 20 minutes, long over 20 minutes. | |
| platform | No | Where to search. Defaults to youtube. | youtube |
| transcripts | No | Also return the caption transcripts of the first N videos (1-5), each cut at 12,000 characters. Captions only: a video without captions (most Instagram reels) comes back with outcome no_transcript, and get_transcript transcribes its audio. 1 credit per transcript delivered, on top of the listing's; failures are free. | |
| upload_date | No | YouTube only. Uploaded within the last hour, today, this week, this month, or this year. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of videos returned. | |
| notice | No | Why a list is empty or may be incomplete, when the source says: e.g. "This channel has no Live tab." | |
| videos | No | Matching videos with ids, titles, and URLs. | |
| balance | No | Remaining credit balance after this call, when known. | |
| creditsSpent | No | Credits charged for this call (0 on failure or for admins). | |
| creditsNotice | No | Credits words for the user, with the link that acts on them: why the call was refused for credits, or a note once the balance runs low. Pass it on to the user. |