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

Choose one catalog endpoint for this request.

13 shown
GETapiKey3 credits/requestyoutube.transcriptResponseDocYouTube
GET /youtube/transcript/{id}

Retrieve transcript for a YouTube video

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.

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": {
    "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"
  }
}

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