A premium REST API to download videos and audio from YouTube and 1000+ sites. Fast, secure, and protected with API key authentication.
AEGIS Downloader is a FastAPI-powered backend that wraps yt-dlp. Send a POST request with a video URL, get a job ID, and track the download progress in real time.
Include your secret API key in every request header as x-api-key. Unauthorized requests are rejected instantly.
POST your video URL and preferred quality to the /download endpoint. Supports YouTube, Instagram, Twitter, TikTok & 1000+ more.
The API returns a unique job_id instantly. The download runs in the background using yt-dlp and ffmpeg.
Poll the /status/{job_id} endpoint to get real-time download progress from 0% to 100%.
Status returns "done" with the filename and title. The file is saved on the server or your configured output path.
Built on yt-dlp — the most powerful video downloader engine — wrapped in a clean, authenticated REST API.
YouTube, Instagram, Twitter/X, TikTok, Facebook, Vimeo, Dailymotion, SoundCloud, and over 1000 more platforms supported out of the box.
Choose from Best, 1080p, 720p, 480p, or MP3 audio-only. AEGIS picks the optimal format using yt-dlp's smart format selection engine.
Every endpoint is protected by API key authentication. Set your key as an environment variable — no database needed.
Downloads run in the background using FastAPI's BackgroundTasks. Your client gets an instant response with a job ID to track.
Extract audio-only as MP3 from any video. Uses FFmpeg post-processing to convert on the fly with no quality loss.
Real-time download percentage, file title, and status updates. Poll /status/{id} to build progress bars in your app.
Ships with a production Dockerfile with FFmpeg pre-installed. One command to build and deploy anywhere — Railway, VPS, or locally.
FastAPI auto-generates interactive API documentation at /docs. Test every endpoint directly in your browser.
Deploy on Railway's free $5/month credit. No credit card needed to get started. Self-hostable on any VPS or local machine.
All endpoints require the x-api-key header. Base URL: https://your-api.up.railway.app
| Quality Value | Description | Format | Use Case |
|---|---|---|---|
best |
Best available quality | Video + Audio | Maximum quality |
1080p |
Full HD — 1920×1080 | Video + Audio | HD streaming |
720p |
HD — 1280×720 | Video + Audio | Balanced quality/size |
480p |
SD — 854×480 | Video + Audio | Low bandwidth |
mp3 |
Audio only | Audio Only | Music / podcasts |
Test your deployed AEGIS API directly from this page. Enter your live Railway URL and API key below.
Get AEGIS Downloader running in minutes. Choose between local development or full cloud deployment on Railway.
Get the 3 required files: api.py, requirements.txt, Dockerfile
Install Python packages locally for testing.
Start the API server on your machine.
Push all 4 files to a GitHub repository.
Connect your GitHub repo on railway.app and add environment variable.
In Railway → Settings → Domains → Generate Domain. Your API is live!