tubetext/youtube-transcript-fast
tubetext--youtube-transcript-fastThis tool calls the Actor "tubetext/youtube-transcript-fast" and retrieves its output results. Actor description: YouTube transcript API for batch videos, Shorts, playlists and channels. Get captions as text, timestamps or SRT. AI fallback for missing captions is on by default; adjustable 15-minute default limit. Transcript and Actor Start fees apply; AI billed per started minute. · by TubeText
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tubetext--youtube-transcript-fast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Provide at least one of: urls / searchQueries / trendingCountries / datasetId. Video URLs or IDs, playlist URLs, or channel URLs (e.g. https://www.youtube.com/@mkbhd). Shorts and youtu.be links work too. Optional if you use search, trending or a dataset below. Example values: ["https://www.youtube.com/watch?v=aircAruvnKk","https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi"] | |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| datasetId | No | A dataset from another Actor run that contains YouTube video links (pick it, or paste its ID via API). With 'Sort dataset by views' the most viewed come first; 'Max videos per source' limits how many are taken. Read-only access to this one dataset is requested. | |
| languages | No | Language codes in order of preference (e.g. en, es, ja). For each video the first listed language that has captions is used, so put the language you want most first. If none is available, the video's original auto-generated transcript is returned. Example values: ["en"] | |
| aiFallback | No | On by default. When a video has no captions, download its audio and transcribe it with Whisper AI. Charged per started minute of audio, only when a transcript is delivered. Turn off to get free no_transcript rows instead. Example values: true | |
| chunkWords | No | Set e.g. 300 to add a 'chunks' array: transcript split into ~N-word blocks with start/end timestamps, never cutting a caption in half. Ready for vector databases. 0 = off. | |
| includeSrt | No | Adds an 'srt' field with the transcript in SubRip (.srt) subtitle format. | |
| channelSort | No | For channel links (including /shorts and /streams tabs): take the newest videos, or the channel's most viewed ones. Example values: "newest" | newest |
| searchSortBy | No | 'Most viewed' re-sorts the results by their actual view count. Example values: "views" | views |
| datasetSortBy | No | How to pick videos from the dataset when it has more than 'Max videos per source'. Example values: "views" | views |
| searchQueries | No | YouTube search terms, e.g. 'skincare routine'. Each search takes the top videos for the time range and sort below (up to 'Max videos per source'). | |
| maxConcurrency | No | How many videos to process in parallel. Example values: 10 | |
| includeSegments | No | Include the retained caption segments with text, start and duration. When deduplicateExactCaptions is enabled, adjacent exact duplicates are removed. AI transcript segments are unchanged. | |
| trendingCountries | No | Two-letter country codes, e.g. us, jp, de, br, in, kr, fr, gb. Takes the top of each country's daily trending list (source: kworb.net; YouTube retired its own trending page). | |
| maxVideosPerSource | No | For channel, playlist, search, trending and dataset inputs: how many videos to take from each (each transcript is billed as usual). Example values: 50 | |
| skipAlreadyScraped | No | Remember delivered videos in your account (key-value store 'tubetext-seen-videos') and skip them on later runs. Perfect for scheduled channel monitoring – you never pay twice for the same video. | |
| maxAiMinutesPerVideo | No | Videos longer than this are skipped by AI transcription to keep costs predictable. Default 15 minutes (at most $0.09 per video on the free plan). Example values: 15 | |
| preferManualCaptions | No | Use creator-uploaded captions over YouTube auto-generated ones when both exist. Example values: true | |
| searchPublishedWithin | No | Only videos uploaded within this time range (YouTube's own upload-date filter). Example values: "week" | week |
| includeTimestampedText | No | Adds a 'timestampedText' field with one [mm:ss] line per caption. Example values: true | |
| deduplicateExactCaptions | No | Off by default. Removes adjacent parsed YouTube caption segments with identical text, start time and positive valid duration. Keeps the first occurrence. Does not repair timestamps or deduplicate AI transcripts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Advisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key | |
| runId | Yes | Actor run ID | |
| stats | No | Run statistics | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| summary | Yes | Past-tense summary of the run state | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| actorName | No | "username/actor-name" | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions |