Getting Started
Get up and running with the YT2Text API in under 5 minutes.
By YT2Text Team • Published January 15, 2025 • Updated February 23, 2026
Getting Started
This guide will help you get up and running with the YT2Text API in under 5 minutes.
Prerequisites
- A YT2Text account (Sign up here)
- An API key (Get one here)
Base URL
All API requests should be made to:
https://api.yt2text.cc/api/v1
Step 1: Get Your API Key
- Log in to your YT2Text Dashboard
- Navigate to API Keys
- Click "Create New API Key"
- Copy your key (you'll only see it once!)
Warning
Keep your API key secret! Don't share it publicly or commit it to version control.
Step 2: Process Your First Video
Make a POST request to process a YouTube video:
curl -X POST https://api.yt2text.cc/api/v1/videos/process \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"options": {
"summary_modes": ["tldr", "detailed"]
}
}'
You'll receive a job ID:
{
"success": true,
"data": {
"job_id": "job_abc123def456",
"status": "queued",
"estimated_completion": "2025-01-05T15:30:00Z"
}
}
Step 3: Check Job Status
Poll the status endpoint to check progress:
curl https://api.yt2text.cc/api/v1/videos/status/job_abc123def456 \
-H "Authorization: Bearer YOUR_API_KEY"
Response:
{
"success": true,
"data": {
"job_id": "job_abc123def456",
"status": "processing",
"progress_percentage": 65,
"current_step": "Generating AI summaries"
}
}
Step 4: Get Results
Once the job is complete, fetch the results:
curl https://api.yt2text.cc/api/v1/videos/result/job_abc123def456 \
-H "Authorization: Bearer YOUR_API_KEY"
Response:
{
"success": true,
"data": {
"job_id": "job_abc123def456",
"status": "completed",
"video_info": {
"title": "Rick Astley - Never Gonna Give You Up",
"channel": "Rick Astley",
"duration": 213
},
"transcript": "Full transcript content here...",
"summaries": {
"tldr": "Classic 1987 hit song by Rick Astley...",
"detailed": "This iconic music video features..."
}
}
}
Summary Modes
YT2Text supports 5 AI summary modes:
| Mode | Description |
|---|---|
tldr | Quick 2-3 sentence summary |
detailed | Comprehensive summary with key points |
study_notes | Educational format with bullet points |
timestamped | Summary with timestamp references |
key_insights | Main takeaways and actionable insights |