{"uid":"cap_PFBRwdI2amB41fo1P9Im5","slug":"youtube-transcript-captions-939f086b","name":"YouTube Transcript & Captions","description":"YouTube Transcript & Captions: the caption transcript of one YouTube video by id or URL (watch, shorts, live, youtu.be): the full text plus timed segments with start and end in milliseconds and the caption language. Video to text for summaries and research. A video without captions is not charged. Bad input is free; not found or no match is not charged.","url":"https://social.duoleads.com/v1/youtube/transcript?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["video"],"properties":{"video":{"type":"string","maxLength":300,"description":"The video: a YouTube video id (11 characters) or a youtube.com/watch?v=, youtube.com/shorts/, youtube.com/live/ or youtu.be/ URL."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"as_of":"2026-10-15T12:00:00.000Z","items":[{"id":"SYNvid00001","url":"https://www.youtube.com/watch?v=SYNvid00001","lang":null,"text":"welcome to the synthetic channel today we test the widget","type":"video","author":null,"metrics":{"likes":null,"views":null,"replies":null,"reposts":null},"platform":"youtube","parent_id":null,"created_at":null,"media_urls":[],"transcript":{"language":"English","segments":[{"text":"welcome to the synthetic channel","end_ms":1920,"start_ms":160},{"text":"today we test the widget","end_ms":4100,"start_ms":1920}]}}],"query":{"video":"SYNvid00001"},"source":"public data via third-party provider; not affiliated with the platform","complete":true,"platform":"youtube","disclaimer":"Public data via third-party providers; not affiliated with or endorsed by any platform. Do not use to profile, target or train AI on individuals.","request_id":"01KEXAMPLE0000000000000000","next_cursor":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MdHcM7yOZrfIUFIfoa5mC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the full caption transcript of a YouTube video (by ID or URL) as plain text plus timed segments with start/end in milliseconds and language info.","exampleAgentPrompt":"Can you grab the full transcript with timestamps from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — so I can summarize what was said?","exampleUseCases":[{"title":"Research video content for article","prompt":"Pull the transcript from this YouTube video https://www.youtube.com/watch?v=abc123xyz01 so I can read through what the speaker said and pull key quotes for my article."},{"title":"Summarize a YouTube educational lecture","prompt":"Get me the full caption transcript of this YouTube lecture — https://youtu.be/XyZ987lmnop — so I can summarize the main points."},{"title":"Extract timestamped captions for subtitle editing","prompt":"Fetch the timed captions from this YouTube short at https://www.youtube.com/shorts/SampleShortID1 — I need the start and end times in milliseconds for each segment so I can edit the subtitles."}],"resultDescription":"Returns a JSON object containing: full transcript text, an array of timed segments each with 'text', 'start_ms', and 'end_ms' fields, the detected caption language, plus video metadata like URL, ID, and a request ID. Videos without captions return no charge. Includes a disclaimer about public data sourcing.","failureModes":["Video has no captions — returns empty transcript, not charged","Invalid or malformed video ID/URL — treated as bad input, not charged","Video not found or removed — returns not found, not charged","Private or age-restricted video where captions are inaccessible — may return error","Network or provider timeout — may return a generic error response"],"whenToPreferThis":"Choose this endpoint when you need machine-readable, timed caption text from a specific YouTube video for purposes like summarization, research, quote extraction, or subtitle editing. It supports all major YouTube URL formats (watch, shorts, live, youtu.be) and charges only when captions are successfully found — making it low-risk for exploratory use on unknown videos.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T15:37:54.048Z","isFirstParty":false,"canonicalSlug":"youtube-transcript-captions-939f086b"}