{"uid":"cap_GG8cpHGcSAmj0c6m6M49X","slug":"apify-youtube-transcripts-actor-via-stableapify-x402-d48c7bad","name":"Apify YouTube Transcripts Actor (via StableApify x402)","description":"Search Apify Store actors, start actor runs, and fetch results over x402 and MPP.","url":"https://stableapify.dev/api/actors/karamelo/youtube-transcripts/call","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["outputFormat","urls","maxRetries","channelNameBoolean","channelIDBoolean","dateTextBoolean","relativeDateTextBoolean","datePublishedBoolean","viewCountBoolean","likesBoolean","commentsBoolean","keywordsBoolean","thumbnailBoolean","descriptionBoolean"],"properties":{"urls":{"type":"array","items":{"type":"string"},"description":"The URLs of the videos you want to extract the transcript/captions from. Each URL must be a valid YouTube video link."},"maxRetries":{"type":"integer","default":8,"maximum":12,"minimum":3,"description":"Maximum number requests to retry if your get blocked, increase for better chance"},"likesBoolean":{"type":"boolean","default":false,"description":"Indicates whether the number of likes (example 4.8K) should be included."},"outputFormat":{"enum":["captions","textWithTimestamps","xmlWithoutTimestamps","xmlWithTimestamps","singleStringText"],"type":"string","default":"captions","description":"Select the format in which you want your captions"},"proxyOptions":{"type":"object","properties":{"proxyUrls":{"type":"array","items":{"type":"string"}},"useApifyProxy":{"type":"boolean"},"apifyProxyGroups":{"type":"array","items":{"type":"string"}},"apifyProxyCountry":{"type":"string"}},"description":"Select proxies to be used by your actor.","additionalProperties":{}},"commentsBoolean":{"type":"boolean","default":false,"description":"Indicates whether the number of comments (example 456) should be included."},"dateTextBoolean":{"type":"boolean","default":false,"description":"Indicates whether the formatted date (Feb 7, 2025) should be included."},"keywordsBoolean":{"type":"boolean","default":false,"description":"Indicates whether the keywords (or tags) should be included."},"channelIDBoolean":{"type":"boolean","default":true,"description":"Indicates whether the channel ID should be included."},"thumbnailBoolean":{"type":"boolean","default":false,"description":"Indicates whether the thumbnail url should be included."},"viewCountBoolean":{"type":"boolean","default":false,"description":"Indicates whether the view count (example 69,916 views) should be included."},"channelNameBoolean":{"type":"boolean","default":true,"description":"Indicates whether the channel Name should be included."},"descriptionBoolean":{"type":"boolean","default":false,"description":"Indicates whether the video description should be included."},"datePublishedBoolean":{"type":"boolean","default":true,"description":"Indicates whether the full date and time the video was published (example 2025-02-07T07:00:15.000Z) should be included."},"relativeDateTextBoolean":{"type":"boolean","default":false,"description":"Indicates whether the relative date (example 3 days ago) should be included."}},"description":"Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).","additionalProperties":{}},"options":{"type":"object","properties":{"build":{"type":"string","maxLength":100,"minLength":1},"memory":{"type":"integer","maximum":32768,"minimum":128},"maxItems":{"type":"integer","maximum":100000,"minimum":1}},"description":"Optional Apify run options.","additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_904daAo_DVPNv1fZXKcvd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts transcripts, captions, and metadata from one or more YouTube videos, returning results in configurable text or XML formats.","exampleAgentPrompt":"Can you grab the full transcript from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — as plain text with timestamps, and also include the channel name and publish date?","exampleUseCases":[{"title":"Research video content without watching","prompt":"I need the complete transcript from this YouTube video https://www.youtube.com/watch?v=abc123XYZ as a single text string, and also grab the title, channel name, and publish date for my research notes."},{"title":"Podcast-to-article pipeline","prompt":"Pull the captions with timestamps from these three YouTube podcast episodes — https://youtube.com/watch?v=AAA, https://youtube.com/watch?v=BBB, https://youtube.com/watch?v=CCC — output them in XML with timestamps so I can convert them into a blog post."},{"title":"YouTube video SEO keyword audit","prompt":"Fetch the transcript and keywords/tags from this YouTube video https://www.youtube.com/watch?v=xyz789 so I can see what topics it covers and compare them against the video's description."}],"resultDescription":"A structured dataset per video URL containing the transcript/captions in the chosen format (captions segments, plain text with or without timestamps, or XML), plus any requested metadata fields such as channel name, channel ID, formatted publish date, relative date, view count, likes count, comment count, keywords/tags, thumbnail URL, and video description.","failureModes":["Video is private or age-restricted — transcript unavailable","YouTube blocks the scraper request; retry count (maxRetries) helps but may still fail at high traffic","No captions/transcripts available for the video (e.g. auto-captions disabled)","Invalid or malformed YouTube URL in the urls array","Payment failure via x402/USDC results in 402 response before execution begins","Transient network errors during Apify actor run"],"whenToPreferThis":"Choose this endpoint when you need YouTube video transcripts or captions programmatically with pay-per-call billing over x402/USDC, without managing an Apify account or API key. It is ideal for agents that occasionally need YouTube text extraction on demand and want flexible metadata enrichment (likes, comments, keywords, thumbnails) alongside the transcript in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:58.924Z","isFirstParty":false}