Public API

Free, open REST API for YouTube video metadata and downloads. No API key required.

Rate Limit: 30 requests per minute per IP.
GET /api/info?url=<YOUTUBE_URL>

Get video metadata and all available download formats.

Parameters

urlrequiredYouTube video URL (any format)

Try it

Example Response
{
  "success": true,
  "video": {
    "id": "dQw4w9WgXcQ",
    "title": "Rick Astley - Never Gonna Give You Up",
    "author": "Rick Astley",
    "length": 212,
    "views": 1500000000,
    "likes": 12000000
  },
  "formats": {
    "combined": [{ "itag": 18, "label": "360p MP4", "hasAudio": true }],
    "video": [...],
    "audio": [{ "itag": 140, "label": "AAC 128kbps", "container": "m4a" }]
  },
  "downloadUrls": { "api": { "combined": [...], "audio": [...] } }
}
GET /api/download?url=<URL>&itag=<ITAG>

Download or get a redirect URL for a specific format. Use the itag from /api/info.

Parameters

urlrequiredYouTube video URL
itagrequiredFormat itag (from /api/info)
redirectoptionaltrue (default) redirects to CDN. false proxies through server.
typeoptionalcombined, video, or audio
cURL Example
curl -L "https://yt-downloader-comment-db.pages.dev/api/download?url=https://youtu.be/dQw4w9WgXcQ&itag=18" -o video.mp4
Click "Fetch" or "Search" above to see a live response.