Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Billed in credits: 1 per successful call, failed calls and /credits are free. A new account gets 100 free credits.
  • Batch transcript jobs (POST /batch) and agent self-signup are in the API but not in this entry.

Endpoints

Get a video transcript

  • 1 credit per successful call; a failed call (no captions, private or removed video) costs nothing.
  • Text comes from the captions the video already has; a video with captions turned off has no transcript. timestamps=true adds per-line segments with start and duration in seconds.

List a video’s caption languages

  • 1 credit per successful call; failed calls are free.
  • 1 credit per successful call; failed calls are free.
  • Paged: pass data.continuation_token from the previous response as page_token to get the next page; each page is a separate 1-credit call.

Resolve a channel handle

  • 1 credit per successful call; failed calls are free.

A channel’s details and latest uploads

  • 1 credit per successful call; failed calls are free.

List a channel’s videos

  • 1 credit per successful call; failed calls are free.
  • Paged: pass data.continuation_token from the previous response as continuation to get the next page; each page is a separate 1-credit call.
  • 1 credit per successful call; failed calls are free.
  • Paged: pass data.continuation_token from the previous response as continuation to get the next page; each page is a separate 1-credit call.

List a channel’s playlists

  • 1 credit per successful call; failed calls are free.
  • Paged: pass data.continuation_token from the previous response as continuation to get the next page; each page is a separate 1-credit call.

List a channel’s community posts

  • 1 credit per successful call; failed calls are free.
  • Paged: pass data.continuation_token from the previous response as continuation to get the next page; each page is a separate 1-credit call.

A channel’s banner and avatar

  • 1 credit per successful call; failed calls are free.

List the videos in a playlist

  • 1 credit per successful call; failed calls are free.
  • Paged: pass data.continuation_token from the previous response as continuation to get the next page; each page is a separate 1-credit call.
  • 1 credit per successful call; failed calls are free.

A video’s estimated likes and dislikes

  • 1 credit per successful call; failed calls are free.
  • Estimates from Return YouTube Dislike, not YouTube’s own counts (estimated is always true); cached for an hour.

Remaining credit balance

  • Free: 0 credits.