how long caption is displayed
Response
(
format=text
— readable):
{
"video_id"
:
"dQw4w9WgXcQ"
,
"language"
:
"en"
,
"transcript"
:
"[00:00:18] We're no strangers to love\n[00:00:21] You know the rules..."
}
Tips
Use
format=json
for sync'd captions (accessibility tools, timing analysis).
Use
format=text
with
include_timestamp=false
for clean reading.
Auto-generated captions are available for most videos; manual CC is higher quality.
Errors
Code
Meaning
Action
402
No credits
transcriptapi.com/billing
404
No captions
Video doesn't have CC enabled
408
Timeout
Retry once after 2s
1 credit per request. Free tier: 100 credits, 300 req/min.