The SubKit API Documentation

Extract subtitles from any YouTube video with a simple REST API. Get started in minutes with your API key.

Quick Start

Follow these three steps to make your first API request:

1

Create an account

Sign up for a free account to get your API key. The free tier includes 100 requests per month.

Create free account →
2

Get your API key

After signing in, visit your dashboard to generate an API key. Copy it somewhere safe — you'll only see it once.

Go to dashboard →
3

Make your first request

Use the API to extract subtitles from any YouTube video:

Example Requestbash
curl -X POST https://api.ytsubs.dev/api/v1/extract \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'

What You Can Do

Extract subtitles

Get subtitles from any public YouTube video with timing information.

Multiple languages

Request subtitles in any available language using ISO 639-1 codes.

Flexible formats

Choose between timed segments or plain text without timestamps.

Fast & cached

Responses are cached for speed. Force refresh when you need fresh data.

Supported URL Formats

The API accepts all standard YouTube URL formats:

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://www.youtube.com/shorts/VIDEO_ID

Next Steps