{"uid":"cap_lnEk1QpBccxIzSRVCzHQd","slug":"agdata-youtube-transcript-api-e1b37214","name":"agdata YouTube Transcript API","description":"Unblock any URL as Markdown, or get search, social, maps, jobs and news as data. Paid per call in stablecoins over x402 or MPP, with no account.","url":"https://agdata.shveik.dev/v1/x402/youtube-transcript?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lang":{"enum":["any","en","de","es","fr","it","ja","ko","nl","pt","ru"],"type":"string"},"video":{"type":"string","maxLength":2048},"format":{"enum":["json","text","srt","vtt"],"type":"string"}}},"responseSchema":{"type":"json","example":{"url":"https://…","title":"Rick Ast…","format":"json","videoId":"dQw4w9Wg…","language":"en","truncated":false,"viewCount":1822672170,"channelUrl":"https://…","transcript":[],"channelName":"Rick Ast…","publishedAt":"2009-10-…","segmentCount":61,"subtitleType":"user_gen…","durationSeconds":213,"availableLanguages":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.032","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.032/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.032","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.032","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f1VRFmHv8M0JvXXwcP5au","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.032","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the full transcript of a YouTube video by URL or ID, returned as structured JSON, plain text, SRT, or VTT subtitle format.","exampleAgentPrompt":"Can you get the full English transcript of this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — and give it to me as plain text?","exampleUseCases":[{"title":"Summarize a YouTube lecture","prompt":"Grab the transcript of this YouTube lecture — https://www.youtube.com/watch?v=abc123XYZ — in English as plain text so I can summarize the key points for me."},{"title":"Generate subtitles file for a video","prompt":"Fetch the SRT subtitle file for this YouTube video https://www.youtube.com/watch?v=xyz789ABC — I need the English captions in SRT format to add to my video editor."},{"title":"Research a video in another language","prompt":"Get the transcript of this YouTube video https://www.youtube.com/watch?v=def456GHI in Spanish as JSON — I want to see the segment timings and the full text so I can analyze it."}],"resultDescription":"Returns a JSON object containing the video's title, channel name, channel URL, view count, publish date, duration in seconds, detected language, subtitle type (user-generated or auto), number of segments, available languages, a truncation flag, and the full transcript as an array of timed segments. Output format can be JSON, plain text, SRT, or VTT depending on the request.","failureModes":["Video not found or private — returns error with no transcript","No captions available in the requested language","Auto-generated captions disabled by channel — no transcript returned","Invalid or malformed video URL/ID — validation error","Language enum value not matching any available subtitle track","Transcript too long and truncated flag is set to true"],"whenToPreferThis":"Use this endpoint when you need structured, timed transcript data from YouTube videos without managing YouTube API credentials or quotas. It is paid per call in stablecoins via x402 with no account required, making it ideal for agent workflows. Prefer this over the YouTube Data API when you need instant access without OAuth setup, or when you need output in multiple subtitle formats (SRT, VTT) in addition to raw JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T17:36:09.869Z","isFirstParty":false,"canonicalSlug":"agdata-youtube-transcript-api-85b3277d"}