FOR DEVELOPERS · REST + MCP
YouTube transcripts.
Ready for your application.
Fetch available captions as JSON with timestamped segments. Add video context to your AI agent, research workflow or RAG pipeline.
Get your free API key20 free credits per calendar month (UTC). No credit card required.
curl 'https://api.fetchfox.net/youtube/transcript' \
--get --data-urlencode 'url=VIDEO_URL' \
-H 'x-access-key: YOUR_KEY'Replace VIDEO_URL and YOUR_KEY. This example does not run automatically.
STRUCTURED OUTPUT
Keep the text and its timestamps.
Use the full transcript for context, or work with individual segments to retain source timing.
- Full transcript text
- Segment text, start time and duration
- Source video URL and segment count
Illustrative response excerpt. Available languages and captions depend on the source video.
{
"success": true,
"data": {
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"transcript": "A transcript is useful context for your agent. Each segment includes a timestamp.",
"transcriptSegments": [
{
"text": "A transcript is useful context for your agent.",
"start": 0,
"duration": 3.4
},
{
"text": "Each segment includes a timestamp.",
"start": 3.4,
"duration": 2.1
}
],
"wordCount": 13,
"segments": 2
}
}From URL to your first request
- Create a free account
Verify your email and complete your profile.
- Copy your API key
Use your dashboard key in the
x-access-keyheader. - Request a transcript
Supply a public YouTube video URL. Use the returned JSON in your application.
Clear credit costs
20 free credits per calendar month (UTC). No credit card required.
One credit per successful video transcript. Failed processing does not spend credits. Successful cached requests use the same rate.
Know the limits
Not every video has retrievable captions. Private, restricted or unavailable content may fail. This endpoint retrieves available transcripts; it does not promise transcription of every video.
Bulk requests accept up to five explicit video URLs per API call, with a separate result and charge outcome for each video.
Limits and retry guidance →Try it with your own workflow.
Start with a free account. Choose when to run your first request.
Get your free API key