{"uid":"cap_ub3HASDjAaWgrJDAemawH","slug":"glim-sh-youtube-transcript-fetcher-1c4519fb","name":"glim.sh YouTube Transcript Fetcher","description":"Fetch a YouTube transcript from a video URL or 11-char id (video_id, also accepted as ref or url); returns a presigned download URL to the transcript","url":"https://surf.cascade.fyi/api/v1/youtube/get","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"format":{"enum":["inline","url"],"type":"string","default":"inline","description":"'inline' (default): include the transcript in the response when it fits the inline cap; otherwise omit it and set transcript_omitted_reason. 'url': never include the transcript; caller fetches download_url. download_url is always present."},"origin":{"enum":["uploader_provided","auto_generated"],"type":"string","default":"uploader_provided","description":"'uploader_provided' for human captions (default), 'auto_generated' for YouTube auto-captions."},"video_id":{"type":"string","minLength":1,"description":"YouTube video URL or 11-char video id (e.g. https://youtu.be/dQw4w9WgXcQ, https://www.youtube.com/watch?v=dQw4w9WgXcQ, or dQw4w9WgXcQ). Also accepted as `ref` or `url`."},"language_code":{"type":"string","default":"en","maxLength":10,"minLength":2,"description":"ISO 639-1 language code (e.g. 'en', 'de', 'fr')"}}},"responseSchema":{"type":"json","example":{"origin":"uploader_provided","video_id":"dQw4w9WgXcQ","expires_at":"2026-04-21T13:00:00Z","size_bytes":4096,"content_type":"text/vtt","download_url":"https://...presigned...","length_chars":3500,"language_code":"en"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lb6o0VMWo-auuPQlayVsS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the subtitle/caption transcript (VTT format) for a YouTube video by video ID, optionally filtered by caption origin and language","exampleAgentPrompt":"Can you grab the uploader-provided English transcript for the YouTube video with ID dQw4w9WgXcQ so I can read what was said?","exampleUseCases":[{"title":"Summarize video content for research","prompt":"I need you to fetch the transcript for this YouTube video ID kJQP7kiw9Dw so you can pull out the key points and give me a summary of what's covered."},{"title":"Analyze competitor product demos","prompt":"Can you get the auto-generated captions from the YouTube video at ID 9bZkp7q19f0 and tell me what features they're highlighting in their pitch?"},{"title":"Extract quotes from educational videos","prompt":"Grab the transcript for YouTube video ID m7CgRYvE_5s and find any quotes about machine learning best practices that I can use in my presentation."}],"resultDescription":"A JSON object containing a presigned download URL to a VTT-format caption file, the video ID, language code, caption origin (uploader_provided or auto_generated), file size in bytes, character count, content type, and an expiry timestamp for the download URL.","failureModes":["Invalid or non-existent video ID returns an error — IDs must be exactly 11 characters","Video has no captions in the requested language — returns empty or error response","Unsupported language_code value causes no matching transcript to be found","Presigned download_url expires after the expires_at timestamp — must be used promptly","Payment failure (x402 protocol) if USDC balance is insufficient — call is not executed"],"whenToPreferThis":"Use this endpoint when you need the transcript or captions of a YouTube video without managing YouTube Data API keys or a scraping stack. Ideal for agents that need to read, summarize, or analyze video content. Prefer this over YouTube's official API when you want pay-per-call pricing with no OAuth setup, or when you need a simple presigned download URL for the VTT file.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:35:26.691Z","isFirstParty":false}