YouTube Transcript API | Bulk Captions & Timestamps avatar

YouTube Transcript API | Bulk Captions & Timestamps

Pricing

$1.50 / 1,000 complete transcripts

Go to Apify Store
YouTube Transcript API | Bulk Captions & Timestamps

YouTube Transcript API | Bulk Captions & Timestamps

Get timestamped English YouTube transcripts for up to 500 video URLs or IDs. No YouTube Data API key for direct video requests. $1.50 per 1,000 completed transcripts. Failed videos are free. JSON captions, per-video statuses, and retry batches.

Pricing

$1.50 / 1,000 complete transcripts

Rating

0.0

(0)

Developer

Admin

Admin

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Get timestamped English YouTube transcripts for up to 500 video URLs or IDs. Direct video requests need no YouTube Data API key. Pay $1.50 per 1,000 completed transcripts at the listed rate. Failed videos are free.

Get transcripts

Pass one videos array. It accepts YouTube video URLs and 11-character video IDs in the same batch.

{"videos":["https://www.youtube.com/watch?v=wjxOhCeb9bI","e6XbYLGWmOs"]}

Each completed video gets one dataset row. Use videoId to match the row to your input and segments for quotes with start and end times in seconds. The Actor prefers creator-provided English captions, then automatic English captions. Use timingSource to distinguish original timing from reconstructed cue end times.

Call through Apify MCP

Connect to the Apify MCP server. Use call-actor with the arguments below. For a direct connection, use https://mcp.apify.com?tools=fierce_colleague_4uu/rs-bulk-youtube-captions-pilot.

{
"actor": "fierce_colleague_4uu/rs-bulk-youtube-captions-pilot",
"input": {"videos": ["https://www.youtube.com/watch?v=wjxOhCeb9bI", "e6XbYLGWmOs"]},
"waitSecs": 30,
"callOptions": {"maxTotalChargeUsd": 0.003}
}

If the run is still in progress, use get-actor-run with its run ID until it finishes. Then use get-key-value-store-record with the run's defaultKeyValueStoreId and recordKey: "AGENT_SUMMARY". The summary contains:

FieldUse
datasetId, datasetItemsUrlRead full transcript rows on demand using your Apify credentials. In MCP, use get-dataset-items with the dataset ID.
completedVideoIds, alreadyDeliveredVideoIdsMatch each success to its video and identify results an existing watch already delivered.
missesPer-video status and whether it can be retried immediately or through a recurring watch. Scheduled retries include their earliest time.
retryBatchesReady-to-run videos inputs for misses eligible for another immediate run, with the watch, output options and previous-miss labels when applicable.
recoveredVideoIdsIDs from previousMissingVideoIds that this run completed.
sourceFailuresChannel or playlist discovery errors, if you supplied collection inputs.

A failure such as upstream_blocked may be retryable. budget_exhausted requires a new run with enough budget. A miss with nextRetryAt is managed by the recurring watch. Use retryBatches for immediate retries and leave published-video failures such as unavailable out of those calls. A one-off run can return an empty transcript dataset and still provide the statuses in its summary.

For REST, make the same input the body of POST /v2/acts/cim6EkswoSZZFcaga/runs?maxTotalChargeUsd=0.003. In n8n, wait for the Actor run, read AGENT_SUMMARY from the run's key-value store, and use its datasetId in Get Dataset Items. Existing integrations can continue reading OUTPUT and RECOVERY.

Migrate an existing caption job

The direct-video caption step can keep sending a single youtube_url or an array of YouTube video URLs. This input returns video_id, url, timestamped (text, start, duration), non_timestamped, success, caption language and basic video fields. Existing video-ID jobs keep the native schema unless they select outputMode: "johnvc". Channel-listing jobs, translations and extended metadata need a separate migration. Failures are available in the free recovery report, while the billable dataset holds only completed transcripts.

In n8n, configure a workflow that starts the Actor and retrieves its default dataset. Bind an n8n Header Auth credential with the Apify bearer token on all four HTTP Request nodes. In Configure caption job, choose your public video URLs, watch name and spend cap. Use Transcripts for downstream to feed the same caption field names into existing nodes, and read Job receipt for the run ID, recovery report, and current Apify usage. A receipt reports unsettled charges separately. Test manually before publishing the schedule.

Schedule channel or playlist runs

Supply channelIds for recent channel uploads or playlistIds for playlist entries. These options require your own YouTube Data API key in the secret input field youtubeApiKey. Use maxVideosPerSource to read 1 to 100 entries per source. Enable onlyNew and keep one watchKey for the same recurring Apify task. The first run returns available tracks from its discovery window. Later runs skip the IDs delivered by that watch and can try previously failed IDs again.

The OUTPUT record lists alreadyDelivered, per-video failures, any sourceFailures, and a ready-to-use retryInput for transient failures and IDs skipped by a cap. Keep the same watch name when retrying a recurring run. Inputs beyond the 500-video processing cap are reported as batch_limit.

Find and recover missing transcripts

RECOVERY has one entry per distinct video considered in the run, including cached deliveries, upstream deliveries, already-delivered IDs, and failures. Supply previousMissingVideoIds to list which videos from an earlier provider's miss list were recovered. The report records retry eligibility and scheduled times.

Recurring watches automatically retry transient misses on later runs, with three follow-ups after roughly 5 minutes, 30 minutes and 2 hours. For a public upload up to seven days old that has no captions yet, the watch retries after roughly 15 minutes, 2 hours and 12 hours. These are minimum waits from each attempt. Due retries are carried into later runs of the same watch, even if the videos have scrolled out of its channel window. Unavailable, out-of-scope, and oversized individual results have explicit statuses. Large batches are split automatically. A watch stops retrying a video after its retry budget is exhausted. You can still request the ID separately in a new watch or a one-off run.

What counts as a result

A completed track requires a verified video ID, an intact caption response, a known duration and valid ordered timestamps. The track can start after the video begins and end before it finishes. Accuracy depends on YouTube's source captions. Saved captions can still be returned if the original video later becomes unavailable on YouTube. Videos without English captions, invalid results and unavailable videos have separate failure statuses.

The only charged event is a completed row in the run's default dataset. Duplicate IDs, failures, previously delivered watch IDs and retry attempts do not produce an event. Apify shows the active price before a paid run.