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
| Parameter | Usage |
|---|---|
idRequired | The provider's identifier, as returned by its search results. |
language_code | Preferred transcript language. Defaults to en; an unavailable language falls back to the first matching source track. |
title | Select a source caption track by its title. |
type | Select automatically generated captions. asr |
country | Two-letter country or storefront code, such as us or gb. |
device | Device presentation for the source request. desktop, mobile, tablet |
html | Return the encoded original response rather than parsed JSON. |
zero_trace | Do 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_secondstextthumbnailtitletypeurlwebsiteSDKs and guides
The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.
- Python SDK:
pip install prismcrawl - Node.js SDK:
npm install prismcrawl