Go to example tasks

YouTube transcript API: JSON or LLM-ready text

Get YouTube transcripts from your own code. Call the Actor through the Apify API with video links and receive each transcript as structured JSON with timed segments, or as clean plain text for language models. Works from Python, JavaScript or any HTTP client.

Try for free
YouTube Transcript Scraper API - YouTube Subtitles
YouTube Transcript Scraper API - YouTube Subtitlesautofacts/youtube-subtitle-transcript-scraper
Video ID
Title
Channel
Language
+3 fields
Text
Number
Boolean
List
Object

Input

Video URLs:https://www.youtube.com/watch?v=iG9CE55wbtY
Output Format:llm

Output fields

Video ID
Title
Channel
Language
Words
Transcript
Error

How it works

Sign up on Apify or log in

The YouTube Transcript Scraper API - YouTube Subtitles Actor is ready to run with the inputs already set for "YouTube transcript API: JSON or LLM-ready text". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "YouTube transcript API: JSON or LLM-ready text" task

The YouTube Transcript Scraper API - YouTube Subtitles Actor will start running based on the input automatically. You can also change all the input fields, like video urls and output format, to match your specific use case.

Receive the "YouTube transcript API: JSON or LLM-ready text" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as video id, title, channel, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "YouTube transcript API: JSON or LLM-ready text" task via API.

Image

Integrate "YouTube transcript API: JSON or LLM-ready text" into your workflow

Connect "YouTube transcript API: JSON or LLM-ready text" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Send a POST to the Actor’s run-sync endpoint with your Apify token and the video links in the body. The response holds the transcripts.

The transcript as plain text with caption cues such as (Laughter) taken out. JSON keeps the timed segments.

YouTube’s own Data API needs edit rights on a video to download its captions, so it cannot read other people’s videos.

No. It reads the captions YouTube already has, manual or auto-generated. A video with no captions has no transcript, and you are not charged for it.

You pay per transcript extracted. Videos that fail to extract are not charged. Set max total charge on the run to cap spend on large jobs.