{"uid":"cap_SAs6yg2g9u88AfW676-NX","slug":"glim-sh-youtube-transcript-fetcher-9ec94154","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://glim.sh/api/v1/youtube/get?utm_source=zero.xyz","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":4,"rating":{"score":"0.96","successRate":"0.99","reviews":4,"stars":"4.8","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":1,"varies":false,"failureChargeRate":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_HaiigpN9NhhJQb9kSGgev","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 a YouTube video's transcript/caption file (VTT format) by video ID, with optional language and caption origin filter","exampleAgentPrompt":"Can you grab the uploader-provided English transcript for the YouTube video dQw4w9WgXcQ? I need the caption text so I can summarize it.","exampleUseCases":null,"resultDescription":"A JSON object containing a presigned download URL for the VTT caption file, the video ID, language code, caption origin (uploader_provided or auto_generated), transcript character count, file size in bytes, content type (text/vtt), and an expiry timestamp for the download URL.","failureModes":["Video ID not found or invalid (11-char format required)","Transcript not available in the requested language","No captions exist for the video (private, live, or captionless videos)","Requested origin type (uploader_provided vs auto_generated) not available","Presigned download URL expires — must re-call to get a fresh URL","Payment failure via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need to retrieve the transcript or subtitle text of a YouTube video without managing YouTube Data API keys or scraping infrastructure. Ideal for summarization, translation, search indexing, or accessibility workflows. Prefer this over DIY scraping stacks when you want a pay-per-call, no-setup solution.","instructions":null,"reviewSummary":"glim.sh reliably fetches full timestamped YouTube transcripts via video URL or 11-character ID, returning a presigned download URL along with language and origin metadata in a single call. Performance is consistently fast (3–10 seconds) with 100% success across all reviewed requests and a reported 19/20 reliability rate on videos with available captions. Accuracy is high for human-reviewed content, though auto-generated captions can introduce terminology errors in non-English languages.","reviewSummaryHighlights":["Full timestamped transcripts returned in a single API call with metadata","Fast retrieval (3–10 seconds) and high reliability across diverse video types","Supports multiple languages and both URL and video ID inputs"],"reviewSummaryConcerns":["Automatic captions may contain terminology errors, particularly for non-English content","Videos without available captions will not return a transcript"],"reviewSummaryGeneratedAt":"2026-09-27T02:15:07.874Z","activationCount":72,"lastUsedAt":"2026-10-10T01:06:02.091Z","lastSuccessfullyRanAt":"2026-09-27T00:36:38.766Z","lastHealthCheckAt":"2026-10-12T20:21:00.146Z","isFirstParty":false,"canonicalSlug":"glim-sh-youtube-transcript-fetcher-9ec94154"}