YT-API v2
▶ YouTube Downloader API

Fast. Secure.
Token-Protected.

Professional YouTube downloader API. Requires API key. Downloads served via signed, time-limited CDN tokens.

Try It — Download
Format
Processing...
🔐 API key required for all downloads. Each download returns a signed, time-limited token URL — direct file access is blocked without a valid token.
🔑
API Key System
Quota-based keys. Auto-deactivate when quota hits zero.
🛡️
Signed Tokens
Every download URL has a unique 32-char token. No token = no access.
Auto Expiry
Files + tokens expire in 20 min and are auto-deleted.
🎛
All Formats
MP3, MP4 360/720/1080/Best. Shorts, videos, playlists.
🤖
Bot Ready
Pure JSON API. Use in Telegram bots, scripts, automations.
📊
Full Logging
Every request logged with IP, key, action, timestamp.
API Reference
GET /api/v1/?url=&key=&fmt= Download
# Required params:
url  = YouTube video/shorts/playlist URL
key  = Your API key TD_xxx
fmt  = mp3 | mp4 | mp4_360 | mp4_720 | mp4_1080

# Response:
{
  "status": "success",
  "title": "Video Title",
  "thumbnail": "https://...",
  "duration": 212,
  "format": "mp4",
  "filesize_mb": 8.4,
  "download_url": "https://cdn.teamdev.sbs/download?token=a3f9...&file=abc.mp4",
  "expires_at": "2025-01-01 12:30:00 UTC",
  "expires_in_minutes": 20,
  "quota_remaining": 49
}
GET /api/v1/?url=&key=&info=1 Video Info
# Returns metadata + available formats. No file downloaded.
# Deducts 1 quota.
GET /key/info?key=TD_xxx Key Status
# Returns quota, used count, active status
Python Usage
import requests

API_KEY = "TD_your_key_here"

r = requests.get("https://yt.teamdev.sbs/api/v1/", params={
    "url": "https://youtu.be/dQw4w9WgXcQ",
    "key": API_KEY,
    "fmt": "mp3"
})
data = r.json()

# Signed token URL — valid for 20 minutes
print(data["download_url"])
# https://cdn.teamdev.sbs/download?token=a3f9b2...&file=abc123.mp3

# Download the file
file_bytes = requests.get(data["download_url"]).content
open("audio.mp3", "wb").write(file_bytes)