All APIs

Video and property search

YouTube Video Transcript API

Retrieve source caption segments, timestamps, and available languages for a YouTube video.

Make a request

Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.

POST /v1/youtube/transcript
curl 'https://api.prismcrawl.com/v1/youtube/transcript' \
  --request POST \
  --header 'content-type: application/json' \
  --header 'x-api-key: <PRISMCRAWL_API_KEY>' \
  --data '{
  "id": "jNQXAC9IVRw",
  "language_code": "en"
}'

Supported parameters

ParameterUsage
idRequiredThe provider's identifier, as returned by its search results.
language_codePreferred transcript language. Defaults to en; an unavailable language falls back to the first matching source track.
titleSelect a source caption track by its title.
typeSelect automatically generated captions.

asr

countryTwo-letter country or storefront code, such as us or gb.
deviceDevice presentation for the source request.

desktop, mobile, tablet

htmlReturn the encoded original response rather than parsed JSON.
zero_traceDo not archive source or parsed response artifacts.

Structured results

Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.

addresscategorycoordinatesdescriptionduration_secondsidlatitudelongitudenamephonepositionrankratingrating_maxrating_sourcereview_countsnippetstart_secondstextthumbnailtitletypeurlwebsite

SDKs and guides

The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.