YouTube Stream URL API

🚀 v3.5.0 - Mix Support, Auto-Cleanup & Secure Playground

🎮 Developer Playground

Interactive GUI for API Testing

Requires PLAYGROUND=true

🎬 YouTube Streaming

GET /get?ytl={url}
Supports Videos, Playlists, & Mixes/Radio
param: limit (default 5)
GET /stream/{video_id}

Get direct stream URL by video ID

🔍 YouTube Search

GET /api/search/youtube
Params: query, limit

🎵 Spotify

GET /api/search/spotify
Target tracks, albums, playlists
GET /api/spotify/playlist/{id}

Extract all tracks from Spotify playlist

📋 Response Examples

Video Playlist Search

Single Video Response

{
  "is_playlist": false,
  "tracks": [
    {
      "title": "Never Gonna Give You Up",
      "url": "https://rr2---sn-woc7kn7y.googlevideo.com/...",
      "thumbnail": "https://img.youtube.com/...",
      "duration": "3:34",
      "uploader": "Rick Astley",
      "videoId": "dQw4w9WgXcQ"
    }
  ]
}

Search / Playlist Response

{
  "query": "rick astley",
  "limit": 10,
  "total_results": 10,
  "results": [
    {
      "videoId": "dQw4w9WgXcQ",
      "name": "Never Gonna Give You Up",
      "artist": "Rick Astley",
      "duration": "3:34",
      "thumbnail": "https://...",
      "views": 1500000000
    },
    ...
  ]
}
Powered by Node.js & Express