YouTube
YouTube extract, formats, subtitles, save, download, and engine status routes.
by @saifyxpro
Base path: /api/operators/youtube/*
Endpoints
| Method | Path | Purpose | Notes |
|---|---|---|---|
POST | /api/operators/youtube/info/stream | stream YouTube extract flow | SSE |
POST | /api/operators/youtube/info | extract YouTube metadata | JSON response |
POST | /api/operators/youtube/formats | extract available format inventory | JSON response |
POST | /api/operators/youtube/subtitles | extract subtitles and captions | JSON response |
POST | /api/operators/youtube/save/stream | stream temporary download packaging | SSE |
POST | /api/operators/youtube/save | create temporary downloadable archive | JSON response |
GET | /api/operators/youtube/download/:jobId | download generated zip | temporary artifact |
DELETE | /api/operators/youtube/download/:jobId | delete temporary saved artifact | cleanup |
GET | /api/operators/youtube/status | yt-engine status | depends on YT_ENGINE_URL |
Requirements
Requires:
YT_ENGINE_URL
Route groups
Extract
POST /api/operators/youtube/infoPOST /api/operators/youtube/info/stream
Inventories
POST /api/operators/youtube/formatsPOST /api/operators/youtube/subtitles
Temporary save flow
POST /api/operators/youtube/savePOST /api/operators/youtube/save/streamGET /api/operators/youtube/download/:jobIdDELETE /api/operators/youtube/download/:jobId
Notes
- save and download flows are temporary-artifact based
- streaming routes follow the same event pattern used by other SSE surfaces