# YouTube — Video transcript

Retrieve the video transcript with timestamps and language HTML version: https://www.socialrouter.io/services/youtube/video.transcript

## Call it

```
POST https://api.socialrouter.io/v1/extract/youtube/video.transcript
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

None.

## Offers, in failover order

1. `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
