YouTube Video
From AnyAPI, through Joshu Data Bodega.
Part of YouTube video.
- Price
- $0.00132 per call$1.32 per 1,000 calls
No calls measured in the last 30 days.
Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.
Inputs
idstring, optionalYouTube video ID. A Short uses the same ID as any other video.
jqstring, optionaljq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.
urlstring, optionalFull YouTube video URL. Shorts (youtube.com/shorts/...), youtu.be, live, and embed URLs all work.
fieldsstring, optionalComma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.
summaryboolean, optional`true` returns only an outline: keys, item counts, per-field sizes.
max_itemsinteger, optionalCaps the result rows returned; `_truncated` says how many were withheld. Not the charge.
Call it
curl https://hello.joshu.me/api/router/call \
-H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "anyapi.youtube.video",
"params": {
"url": "https://www.youtube.com/watch?v=abc123"
}
}'