Extract transcripts from YouTube videos programmatically. Supports multiple URLs per request and provides detailed response information including success/failure status for each video.
Parameter | Type | Required | Description |
---|---|---|---|
urls | string[] | Yes | Array of YouTube URLs to transcribe. Maximum 10 URLs per request. |
https://www.youtube.com/watch?v=VIDEO_ID
https://youtu.be/VIDEO_ID
https://youtube.com/embed/VIDEO_ID
https://m.youtube.com/watch?v=VIDEO_ID
https://youtube.com/live/VIDEO_ID
transcripts
Arrayurl
(string): The original YouTube URLsuccess
(boolean): Whether the transcript was successfully retrievedtitle
(string, optional): Video title (only if successful)transcript
(string, optional): The full transcript text (only if successful)error
(string, optional): Error message (only if failed)summary
Objectrequested
: Number of URLs provided in the requestprocessed
: Number of valid YouTube URLs found and processedsuccessful
: Number of transcripts successfully retrievedfailed
: Number of transcripts that failedtotalCost
: Total cost in USD for successful transcriptssuccess
field for each transcript, as some videos may not have transcripts available.
summary.totalCost
field to track your spending.
YouTube transcription parameters
The body is of type object
.
YouTube transcription response with results for each URL
The response is of type object
.