Get many YouTube videos
youtube_video_batchUp to 50 YouTube videos by id in one call: details and exact counts.
Up to 50 videos by id in one call, cheaper than one call each: details and exact view and like counts (no comment counts, chapters or up next: use youtube_video_get for those). Ids that did not resolve are listed in missing; a call where none resolve is refunded.
Cost: 5 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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": {
"ids": "<ids>"
},
"name": "youtube_video_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 1 to 50 video ids or URLs. | |
| language | No | ISO 639-1 language code (en, es, pt-BR). |