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 auto-generated or human captions API Playground
Returns the caption cues for a specific YouTube video.
GETapiKey3 credits/requestyoutube.captionsResponseDocYouTube
Endpoint details
Returns the caption cues for a specific YouTube video.
- Method
- GET
- Path
- /youtube/captions/{id}
- Authentication
- apiKey
- Credit cost
- 3 credits/request
- Platform
- YouTube
- Parameters
- 3 documented fields
Request parameters
id:pathlang:queryx-api-key:header
Response schema fields
codedatadata[].durationdata[].startdata[].textmsg
Sample response summary
{
"code": 200,
"msg": "OK",
"data": [
{
"text": "Andrew Mayne: Welcome to the OpenAI podcast.",
"start": 0.399,
"duration": 1.921
}
]
}cURL example
curl "https://api.crawlora.net/api/v1/youtube/captions/<id>" \
-H "x-api-key: <api-key>"