{"uid":"cap_HvEfcxgfOh5hszmmzHfMB","slug":"agdata-youtube-transcript-api-e22142f3","name":"agdata YouTube Transcript API","description":"Unblocking and fresh web data for AI agents. Social, maps, search, news, jobs and reviews as structured data, and unblocking for any other page, as Markdown or HTML. Pay per call in stablecoins over x402 or MPP, with no API key, no account and no proxy setup. (x402 on Base and Polygon (plus Solana on most routes) or MPP on Base)","url":"https://agdata.shveik.dev/mpp/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_leLh1fNJobuLEuYEc2fz-","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 in your choice of format and language, returning structured metadata alongside the transcript segments.","exampleAgentPrompt":"Can you grab the full transcript of this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — in English and give it to me as plain text?","exampleUseCases":[{"title":"Summarize a YouTube lecture","prompt":"Get me 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."},{"title":"Generate SRT captions file","prompt":"Fetch the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ in SRT format so I can use it as a subtitle file for the video."},{"title":"Extract multilingual subtitles for localization","prompt":"Pull the French transcript from this YouTube video https://www.youtube.com/watch?v=XYZ789 in JSON format so I can see the segment timings and translate it into Spanish."}],"resultDescription":"Returns a JSON object containing the video's title, channel name, channel URL, view count, published date, duration in seconds, language of the transcript, subtitle type (auto-generated or user-generated), whether the transcript was truncated, the number of segments, a list of available languages, and an array of transcript segments. The transcript array contains timed caption entries.","failureModes":["Video not found or invalid URL returns an error response","No transcript available for the requested language — try 'any' for the first available language","Video has disabled captions entirely — no transcript can be returned","Private or age-restricted videos may be inaccessible","Insufficient USDC balance for the $0.028 per-call fee causes payment failure","Transcript truncated if video is very long (truncated field set to true)"],"whenToPreferThis":"Choose this endpoint when you need structured, timed transcript data from a YouTube video without setting up a YouTube Data API key or managing proxies. It is especially useful for agents that need to summarize, translate, index, or analyze video content at scale, paying per call with no subscription. Supports multiple output formats (JSON, text, SRT, VTT) and multiple languages in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:33:26.747Z","isFirstParty":false,"canonicalSlug":"agdata-youtube-transcript-api-85b3277d"}