YouTube video captions by video id or URL

From TikHub, through Joshu Data Bodega.

Price
$0.0088 per call$8.80 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

  • formatstring: srt, xml, json3, txt, optional

    Caption format

  • video_idstring, optional

    Video ID

  • video_urlstring, optional

    Video URL

  • language_codestring, optional

    Language code, returns available caption list if empty

Call it

Router call with a router API key
curl https://hello.joshu.me/api/router/call \
  -H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "tikhub.x.youtube-web-v2-get-video-captions",
    "params": {
      "format": "srt",
      "video_id": "<video ID>",
      "video_url": "https://www.youtube.com/watch?v=abc123",
      "language_code": "en"
    }
  }'