GroundsocialDocs

API · YouTube

POST /youtube/transcripts/batch

Transcripts of up to 10 YouTube videos in one call.

RequestPOST /v1/youtube/transcripts/batch
Operation idyoutube.video.transcript_batch
Cost15 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Transcripts of up to 10 YouTube videos in one call.

Request body

FieldTypeRequiredDescription
idsstring[]yes1 to 10 video ids or URLs.
languagestringnoISO 639-1 language code (en, es, pt-BR).

Responses

StatusMeaningSchema
200The transcripts, and the videos without one.YouTubeTranscriptList
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The video, channel, playlist or post does not exist, was removed, or has nothing there.Error
429Too many requests. Wait for Retry-After seconds.Error
503YouTube is temporarily unavailable. Retryable; nothing was charged.Error

YouTubeTranscriptList fields

FieldTypeDescription
kind"youtube#transcriptListResponse"
itemsYouTubeTranscript[]
pageInfoobject
missingobject[]Videos with no transcript to read (no captions, private, missing), and why.

Errors use one shape everywhere; see Errors for every code and what to do.