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

Choose one catalog endpoint for this request.

13 shown
GETapiKey3 credits/requestyoutube.captionsResponseDocYouTube
GET /youtube/captions/{id}

Retrieve auto-generated or human captions

Returns the caption cues for a specific YouTube video.

API key required. Paste a full key or rotate one from the API Keys page.

Set up API key
View docs

API key

API key required for live requests. Your key is only used to send requests from this Playground.

not configured

Active Playground key: not configured

Manage API keys in Console

Path parameters

Add an API key to send a live request.

If an active API key is configured, Copy cURL includes it. Share links never include API keys.

View docs
Sample responseGET

Shown before your first request. Add an API key and send a request to see the live response, status, latency, and headers.

{
  "code": 200,
  "msg": "OK",
  "data": [
    {
      "text": "Andrew Mayne: Welcome to the OpenAI podcast.",
      "start": 0.399,
      "duration": 1.921
    }
  ]
}

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>"