{"slug":"api-shopsocial-api-workers-dev-api-social-youtube-transcript-3a5494","title":"Transcript (captions) of a public YouTube video from YouTube caption tracks","host":"api.shopsocial-api.workers.dev","method":"GET","resource":"https://api.shopsocial-api.workers.dev/api/social/youtube-transcript","category":"image","description":"Transcript (captions) of a public YouTube video from YouTube caption tracks: title, channel, length, available caption languages, and the chosen track as timed segments (start and duration in seconds, text) plus the joined full text. Prefers human captions over auto-generated ones. Videos without ca","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":38,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","xrpl:0"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"lang":"en","video":"https://www.youtube.com/watch?v=jNQXAC9IVRw"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"lang":{"description":"Preferred caption language code, e.g. en, de, es (default en; falls back to the first track)","type":"string"},"video":{"description":"YouTube video URL (watch, youtu.be, shorts, embed) or the 11-character video ID","type":"string"}},"required":["video"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":38,"error":null}],"description_full":"Transcript (captions) of a public YouTube video from YouTube caption tracks: title, channel, length, available caption languages, and the chosen track as timed segments (start and duration in seconds, text) plus the joined full text. Prefers human captions over auto-generated ones. Videos without captions return an empty segment list; private or removed videos return 404. YouTube bot-checks some requests: those return 503 (not charged), retry.","last_updated":"2026-10-23T18:49:44.642Z","schemes":["exact"]}