Playground

Retrieve transcript for a YouTube video API playground

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.

GETapiKey3 credits/requestyoutube.transcriptResponseDoc

Selected endpoint

GET /youtube/transcript/{id}

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.

Group
YouTube
Authentication
apiKey
Credit cost
3 credits/request
Path parameters
1
Query parameters
4
Body parameters
0
GETapiKey3 credits/requesttranscriptResponseDoc

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

Path parameters

Query parameters

Request URL will appear here.

Request headers will appear here.

Request body preview will appear here when applicable.

Status, latency, response headers, and response body will appear after a request.

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