CURL QUICKSTART

YouTube Transcript API cURL

Test YouTube transcript extraction from the terminal with a single cURL command against the real TubeScript endpoint.

QUICK ANSWERS

Direct answer

The real endpoint is https://tubescript.cc/v1/transcript. API access is included with the Team plan.

01

YouTube Transcript API cURL

The fastest way to test TubeScript's API is cURL: POST a JSON body with a YouTube URL to https://tubescript.cc/v1/transcript and pass your Team API key as a bearer token.

cURL
curl -X POST https://tubescript.cc/v1/transcript \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://youtube.com/watch?v=dQw4w9WgXcQ","language":"en","stream":false}'

One request per video

The current public API processes one YouTube video per request. Batch and webhook surfaces should not be assumed until they ship.

Use cache for repeats

If a transcript already exists, TubeScript can return cached transcript data quickly without running AI fallback again.

Build on the transcript engine

Team includes API keys, JSON transcript access, cache-backed reads, and 100 API requests per day.

View Pricing