# DataForSEO YouTube Subtitles API

> Fetch the subtitle track of a YouTube video with timestamps. Subtitles of a YouTube video by video_id and language.

Source: https://www.sandbase.ai/model/dataforseo/v3/serp/youtube/video_subtitles/live/advanced
API reference: https://www.sandbase.ai/model/dataforseo/v3/serp/youtube/video_subtitles/live/advanced/docs

## Facts

- Provider: DataForSEO
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/dataforseo/v3/serp/youtube/video_subtitles/live/advanced`
- Price: $0.009 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: serp, youtube, video subtitles
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/dataforseo/v3/serp/youtube/video_subtitles/live/advanced` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

## FAQ

### How do I use the DataForSEO YouTube Subtitles API?

Send a POST request to https://api.sandbase.ai/v1/api/dataforseo/v3/serp/youtube/video_subtitles/live/advanced with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the DataForSEO YouTube Subtitles API cost?

$0.009 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the DataForSEO YouTube Subtitles API accept?

DataForSEO YouTube Subtitles takes no input parameters; send an empty JSON body.

### What does the DataForSEO YouTube Subtitles API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a DataForSEO developer account or API key?

No. DataForSEO YouTube Subtitles runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for DataForSEO API access separately.

## README

### DataForSEO YouTube Subtitles API

Fetch the subtitle track of a YouTube video with timestamps.

Request fields follow the official DataForSEO `/v3/serp/youtube/video_subtitles/live/advanced` task schema (one task per call; send `{"tasks": [...]}` for several). The response is DataForSEO's original JSON; results are in `tasks[].result`.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "dataforseo/v3/serp/youtube/video_subtitles/live/advanced", "video_id": "Y8Wu4rSNJms", "location_code": 2840, "language_code": "en"}'
```

#### Reference

- Official docs: https://docs.dataforseo.com/v3/serp/youtube/video_subtitles/live/advanced/
