YouTube data: search, channels, transcripts
youtubeOne node for YouTube: search videos, get a channel's stats and latest videos, a video's full transcript, or its comments. Each action has its own price. Use it when: A task needs YouTube: finding videos, sizing up a channel, summarising or quoting what a video says, or reading how viewers reacted. Not for: Downloading video files, private or members-only videos. Returns: Depends on the action; see the actions table. Typical time: about 30 s. Actions: search (find videos on a topic; needs query); transcript (get the full transcript of a video; needs url); comments (read the comments on a video; needs url); channel (a channel's stats and its latest 10 videos; needs handle). Price: from $0.005 per call, charged only on success. Price depends on action: transcript $0.005, channel $0.015, search $0.042, comments $0.042 (default search). One call = one YouTube action (search, channel, transcript or comments).
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": {
"action": "<action>"
},
"name": "youtube"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The video URL, e.g. https://www.youtube.com/watch?v=aircAruvnKk (for: transcript, comments) | |
| query | No | What to search for, e.g. home espresso machine review (for: search) | |
| action | Yes | What to do; sets the price. search (needs query), transcript (needs url), comments (needs url), channel (needs handle). Default search | |
| handle | No | The channel handle without @, e.g. NatGeo (for: channel) | |
| sortBy | No | Optional, default relevance (for: search) | |
| language | No | Caption language code, e.g. en, de, es; default en (for: transcript) | |
| commentSort | No | Optional, default TOP_COMMENTS (for: comments) |