{"uid":"cap_HUH4DHKpXmdc8vdLpNT4p","slug":"socialfetch-youtube-transcript-c3779b4b","name":"SocialFetch YouTube Transcript","description":"Get the transcript for a YouTube video by URL.","url":"https://api.socialfetch.dev/v1/youtube/videos/transcript","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":["url"],"properties":{"url":{"type":"string","maxLength":4096,"minLength":1,"description":"Link to the YouTube video whose transcript should be returned."},"language":{"type":"string","maxLength":2,"minLength":2,"description":"Optional ISO 639-1 language code (two letters) to prefer when multiple transcripts exist."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.014","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.014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rrJs14bFQ2lDl6NCybqn4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the full spoken transcript of a YouTube video given its URL, with optional language preference.","exampleAgentPrompt":"Can you grab the transcript from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — and give me the full text of what was said? Prefer the English transcript if multiple languages are available.","exampleUseCases":null,"resultDescription":"Returns the full text transcript of the specified YouTube video, likely as timestamped or plain text caption segments extracted from the video's available subtitle/caption tracks, filtered to the requested language if specified.","failureModes":["Video URL is invalid or not a YouTube URL — returns error","Video has no captions or transcript available — returns empty or error","Requested language code not available for that video — may fall back to default or return error","Video is private or age-restricted and inaccessible — returns error","Malformed or missing 'url' query parameter — returns validation error"],"whenToPreferThis":"Use this endpoint when you need the spoken content of a YouTube video as text, such as for summarization, search, analysis, or accessibility purposes. Prefer this over manual caption extraction when you have a direct YouTube URL and need a fast, structured transcript response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:31.408Z","isFirstParty":false}