AloneMusic API Reference & Documentation
In-depth endpoint specifications, request/response schemas, and multi-language integration guide.
Authentication & Usage Guidelines
All authenticated endpoints require an active API key passed as a query parameter api_key=YOUR_API_KEY or within path routes.
https://api.riteshyt.in | Web Portal: https://yt.riteshyt.in
30-Day Free API Keys
Generated instantly on the Developer Dashboard or via Telegram Bot command /generate. Format prefix: riteshfree...
Permanent Lifetime Keys
Unlimited lifetime keys issued by administrators. Format prefix: riteshprantly... or ritesh_unlimited...
GET Multi-Platform Media Extractor
Extract rich metadata, direct video/audio stream URLs, thumbnails, and multiple resolution formats from 28+ social media and streaming platforms.
/api/extract, /api/get, /api/universal, /api/all, /get, /media
| Parameter | Type | Presence | Description |
|---|---|---|---|
url | string | Required | Target media URL (Reels, TikTok, Spotify track, Pins, Shorts, Tweets, etc.) |
api_key | string | Optional | Your active API Key |
Supported Platforms (100+):
Example JSON Response:
GET Search Endpoint
Search YouTube for tracks and videos with ultra-fast InnerTube lookup (<500ms) and yt-dlp fallbacks.
| Parameter | Type | Presence | Description |
|---|---|---|---|
q / query | string | Required | Search string, song title, or YouTube video URL |
limit | integer | Optional | Max results to return (Default: 1, Max: 20) |
api_key | string | Required | Your active API Key |
Example JSON Response:
GET Stream & Download Endpoint
Stream or download MP3 audio and MP4 video media with full HTTP 206 Range headers support for instantaneous seeking.
| Parameter | Type | Presence | Description |
|---|---|---|---|
query | string | Required | Video ID (11 chars), YouTube URL, Spotify URL, or search query |
dl_type | string | Optional | audio (default MP3) or video (MP4) |
quality | integer | Optional | Video resolution (e.g. 360, 720, 1080). Default: 720 |
api_key | string | Required | Your active API Key |
Direct Stream URL Paths (Alias):
GET Video Details Endpoint
Retrieve single video or Spotify track metadata including duration (seconds and string format), title, thumbnail URL, and exact video ID.
| Parameter | Type | Presence | Description |
|---|---|---|---|
link / id | string | Required | YouTube Video URL, 11-char Video ID, or Spotify Track URL |
api_key | string | Required | Your active API Key |
Example JSON Response:
GET Playlist Endpoint
Extract videos and tracks from YouTube Playlists, Spotify Playlists, Albums, or Artist top tracks.
| Parameter | Type | Presence | Description |
|---|---|---|---|
link / id | string | Required | YouTube Playlist URL/ID or Spotify Playlist/Album/Artist URL |
limit | integer | Optional | Max items to fetch (Default: 10) |
api_key | string | Required | Your active API Key |
Example JSON Response:
GET Technical Video Info Endpoint
Get technical format lists, resolutions, and media metadata for YouTube video IDs.
| Parameter | Type | Presence | Description |
|---|---|---|---|
vidid | string | Required | 11-character YouTube Video ID |
api_key | string | Required | Your active API Key |
GET MusicBot Audio Redirect Endpoint
Dedicated high-speed audio redirect URL engineered for Pyrogram/Telethon Telegram music bots (Yukki, Yukon, Aviax, Fallen, Alone, etc.).
GET System Health Check
Check API service status and health uptime.