ScrapeCreatorsYouTubeSocial

YouTube video transcript by URL — captions, subtitles

scrapecreators.x.v1-youtube-video-transcript

Retrieves the captions, subtitles, or transcript of a YouTube video or short.

Price
$0.00188/callAt provider cost
Success rate
99.3%Last 30 days · 63,133 calls
Latency p50
2.5 sp95 7.7 s
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-video-transcript?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbjVIDXPP7UkPreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Query parameters
urlstringRequiredYouTube video or short URLhttps://www.youtube.com/watch?v=bjVIDXPP7Uk
languagestringOptional2 letter language code, ie 'en', 'es', 'fr' etc. If the transcript is not available in the language you specify, the transcript will be null.en
cache_max_agestringOptionalIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...7d
  • Query parameters
  • urlstringRequired

    YouTube video or short URL

    Example: https://www.youtube.com/watch?v=bjVIDXPP7Uk

  • languagestringOptional

    2 letter language code, ie 'en', 'es', 'fr' etc. If the transcript is not available in the language you specify, the transcript will be null.

    Example: en

  • cache_max_agestringOptional

    If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...

    Example: 7d

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-video-transcript?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbjVIDXPP7Uk' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.