Public Playground
Preview the endpoint before sending a live request
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Playground
Retrieve transcript for a YouTube video API Playground
Returns transcript segments for a YouTube video using YouTube's native player captions.
GETapiKey3 credits/requestyoutube.transcriptResponseDocYouTube
Endpoint details
Returns transcript segments for a YouTube video using YouTube's native player captions. Set `format=text`, `format=srt`, or `format=vtt` to receive plain-text output instead of the standard response envelope.
- Method
- GET
- Path
- /youtube/transcript/{id}
- Authentication
- apiKey
- Credit cost
- 3 credits/request
- Platform
- YouTube
- Parameters
- 6 documented fields
Request parameters
id:pathlang:querytranslate_to:queryformat:querytimestamps:queryx-api-key:header
Response schema fields
codedatadata.is_generateddata.languagedata.language_codedata.segmentsdata.segments[].durationdata.segments[].startdata.segments[].textdata.textdata.translation_languagedata.video_id
Sample response summary
{
"code": 200,
"msg": "OK",
"data": {
"video_id": "dQw4w9WgXcQ",
"language": "English",
"language_code": "en",
"segments": [
{
"text": "Never gonna give you up",
"start": 12.34,
"duration": 2.11
}
],
"text": "Never gonna give you up"
}
}cURL example
curl "https://api.crawlora.net/api/v1/youtube/transcript/<id>" \
-H "x-api-key: <api-key>"