A YouTube Premium Download API turns a watch, youtu.be, or Shorts URL into a file you can store — without scraping the player yourself. On Zyla API Hub that first-party listing is id 13563, YouTube Premium Download API. Two endpoints: Downloader (async job) and Info (metadata only). Video formats: 360, 480, 720, 1080, 1440, 2160. Audio: mp3, m4a, flac, opus, wav (requested audio may arrive as M4A/WebM). Live streams are not supported. Signed download links expire in about two hours.
The Hub catalog is more than 10,000 public APIs. You subscribe per API (monthly or annual, with an included quota). There is no Free Plan. Your first Hub API includes a 7-day free trial (up to 50 requests). Failed quality-monitored listings are discontinued; first-level support intermediates with the provider.
Use cases
- Shorts archive. Pass a
/shorts/URL andformat=720, poll until the job finishes, then copy the file off the signed URL before it expires. - Audio-only podcasts. Same Downloader path with
format=mp3(orm4a) when you only need the soundtrack. - Catalog without bytes. Call Info first for title, duration, channel, views, thumbnail, and video ID — cheaper than transferring the media.
Downloader: start a 720p Shorts job
Official example URL is https://www.youtube.com/shorts/f1HbBexbLtc, format 720.
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://zylalabs.com/api/13563/youtube-premium-download-api/30203/downloader?url=https://www.youtube.com/shorts/f1HbBexbLtc&format=720"
The Downloader response includes a job id, a thumbnail image URL, and progress_url. Poll progress_url every 3–5 seconds until progress is 1000, then use download_url from that poll response. Do not treat 100 as done — the documented complete value is 1000.
Info: metadata without the file
Official example: https://www.youtube.com/watch?v=jNQXAC9IVRw.
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://zylalabs.com/api/13563/youtube-premium-download-api/30268/info?url=https://www.youtube.com/watch?v=jNQXAC9IVRw"
Info returns title, duration, channel, views, thumbnail image URL, and video ID. Live streams may return limited or unavailable metadata.
Go live
1. Register — 7-day trial on the first Hub API (or 50 requests).
2. Subscribe on the item page.
3. POST the Downloader curl with your Hub Bearer key, then poll until progress is 1000.
4. Fetch download_url within about two hours.
FAQ
Is Hub billing pay-per-call?
No. Hub billing is a subscription plus quota per API. MCP call_api uses that same subscription if you connect https://mcp.zylalabs.com/mcp.