YouTube

YouTube extract, formats, subtitles, save, download, and engine status routes.

by @saifyxpro

Base path: /api/operators/youtube/*

Endpoints


MethodPathPurposeNotes
POST/api/operators/youtube/info/streamstream YouTube extract flowSSE
POST/api/operators/youtube/infoextract YouTube metadataJSON response
POST/api/operators/youtube/formatsextract available format inventoryJSON response
POST/api/operators/youtube/subtitlesextract subtitles and captionsJSON response
POST/api/operators/youtube/save/streamstream temporary download packagingSSE
POST/api/operators/youtube/savecreate temporary downloadable archiveJSON response
GET/api/operators/youtube/download/:jobIddownload generated ziptemporary artifact
DELETE/api/operators/youtube/download/:jobIddelete temporary saved artifactcleanup
GET/api/operators/youtube/statusyt-engine statusdepends on YT_ENGINE_URL

Requirements


Requires:

  • YT_ENGINE_URL

Route groups


Extract

  • POST /api/operators/youtube/info
  • POST /api/operators/youtube/info/stream

Inventories

  • POST /api/operators/youtube/formats
  • POST /api/operators/youtube/subtitles

Temporary save flow

  • POST /api/operators/youtube/save
  • POST /api/operators/youtube/save/stream
  • GET /api/operators/youtube/download/:jobId
  • DELETE /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