# YouTube — Video info

Retrieve video metadata, views, and engagement metrics HTML version: https://www.socialrouter.io/services/youtube/video.info

## Call it

```
POST https://api.socialrouter.io/v1/extract/youtube/video.info
Authorization: Bearer <your API key>
Content-Type: application/json

{ "urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"] }
```

The response shape does not depend on which offer ran; `served_by` names the one that did.

## Input

- `https://www.youtube.com/watch?v=<video_id>` — youtu.be and /shorts/ URLs are accepted too.. Example: `https://www.youtube.com/watch?v=dQw4w9WgXcQ`

## Options

- `downloadSubtitles` (boolean), default `false` — Also fetch the video's subtitles.
- `subtitlesLanguage` (string) — Subtitle language code, e.g. "en".
- `preferAutoGeneratedSubtitles` (boolean) — Prefer auto-generated subtitles over uploaded ones.
- `subtitlesFormat` (string) — Subtitle format (e.g. srt, vtt).

## Offers, in failover order

1. `brightdata/youtube` — $0.0017 per record, up to 1000 inputs per call
2. `apify/streamers` — $0.0055 per record, up to 100 inputs per call

## See also

- Catalogue as JSON: https://api.socialrouter.io/v1/services
- OpenAPI 3.1 spec: https://api.socialrouter.io/v1/openapi.json
- Agent overview: https://www.socialrouter.io/llms.txt
- Sitemap: https://www.socialrouter.io/sitemap.xml
- Docs: https://docs.socialrouter.io
