Developer Documentation
High-performance unified API for streaming, downloading, and extracting media from 14+ global audio, video, and cloud storage providers.
Replaces YOUR_API_KEY across all code examples live.
Introduction
High level overview and global API configuration
The Arc REST API delivers lightning-fast media retrieval and scraping across 14+ major platforms with clean JSON responses. Every endpoint is accessible via standard HTTP GET queries.
Base Production Endpoint
https://api.arcmusic.funHTTPS OnlyModular Platform Routes
Each provider is scoped at its top-level path: /youtube/..., /spotify/..., /terabox/..., /instagram/....
Async Queues vs Synchronous
YouTube leverages high-speed Telegram caching with asynchronous fallback jobs. All other platforms (Spotify, JioSaavn, TeraBox, Socials) resolve synchronously in a single call.
OpenAPI / Swagger Specs
/docsHow to Get an API Key
Step-by-step onboarding for developers
Create an Account
Sign up using credentials or instant Google OAuth on the Arc API portal.
Copy Your Key
Your key is issued instantly. View analytics and regenerate keys on your Usage dashboard.
Authentication
Securing and authenticating your API requests
Every request requires an api_key query parameter. Rate limits, daily request limits, and video limits are tied to your plan tier and reset at midnight UTC.
curl "https://api.arcmusic.fun/spotify/download?link=https://open.spotify.com/track/...&api_key=YOUR_API_KEY"Error Codes & Responses
Standard HTTP status codes returned by the API
All error responses return clean JSON payloads with a standard detail message:
{
"detail": "Invalid API key or plan expired"
}| Code | Status | Meaning & Guidance |
|---|---|---|
| 400 | Bad Request | Malformed input parameters, invalid URL, or unsupported playlist link. |
| 403 | Forbidden | Invalid API key, inactive account, or expired plan subscription. |
| 404 | Not Found | Media unavailable, track not found on upstream platform, or unknown job_id. |
| 429 | Too Many Requests | Daily request quota or daily video download limit exceeded for your tier. |
| 500 | Internal Server Error | Unexpected upstream extraction failure; safely retryable after a few seconds. |
YouTube API
3 EndpointsSearch, playlist metadata extraction, and accelerated audio/video caching
/youtube/v2/searchYouTube Search
Resolves a free-text query, a full YouTube URL, or a bare 11-character video ID to one or more results. A URL or ID returns a single exact match instead of a result list.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
query | string | required | Free-text search query, YouTube URL, or 11-char video ID |
limit | number | optional (def: 10) | Max results to return, 1–20 (default 10). Ignored when query is a direct URL/ID. |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/youtube/v2/search?query=lofi%20hip%20hop%20radio&limit=5&api_key=YOUR_API_KEY"Response Samples
{
"status": "success",
"query": "lofi hip hop radio",
"results": [
{
"video_id": "5qap5aO4i9A",
"title": "lofi hip hop radio 📚 beats to relax/study to",
"duration": "LIVE",
"views": "1.2M watching",
"channel": "Lofi Girl",
"thumbnail": "https://i.ytimg.com/vi/5qap5aO4i9A/hqdefault.jpg",
"url": "https://www.youtube.com/watch?v=5qap5aO4i9A"
}
]
}•duration is YouTube's raw display string (e.g. "3:45", "1:02:03", or "LIVE").
/youtube/v2/playlistYouTube Playlist
Scrapes a YouTube playlist page and returns video metadata for every track in the first batch (up to ~100 videos). Each track's url can be passed directly into Download.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
link | string | required | YouTube playlist link or playlist ID |
limit | number | optional (def: 100) | Max tracks to return, 1–200 (default 100) |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/youtube/v2/playlist?link=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI&limit=50&api_key=YOUR_API_KEY"Response Samples
{
"status": "success",
"total": 2,
"tracks": [
{
"title": "Never Gonna Give You Up",
"duration": "00:03:33",
"channel": "Rick Astley",
"thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
]
}/youtube/v2/downloadYouTube Download (Step 1: Start)
Initiates an audio or video download. YouTube features high-speed Telegram caching: a cache hit returns immediately with job_id: null and direct CDN URL. Otherwise it queues a background job.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
query | string | required | YouTube video ID or full URL |
isVideo | boolean | optional (def: false) | true downloads video, false (default) downloads audio-only MP3 |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/youtube/v2/download?query=dQw4w9WgXcQ&isVideo=false&api_key=YOUR_API_KEY"Response Samples
{
"status": "success",
"job_id": null,
"result": {
"success": true,
"cached": true,
"source": "telegram",
"cdn": "https://t.me/arcmusiccdn/48213",
"is_audio": true,
"is_video": false
}
}•cdn is either a direct file URL under your storage or an accelerated https://t.me/<channel>/<message_id> media link.
/youtube/jobStatusYouTube Download (Step 2: Poll Status)
Polls progress with the job_id returned by a queued /youtube/v2/download request. Jobs are retained in memory for 30 minutes after creation.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
job_id | string | required | The job_id returned by /youtube/v2/download |
Request Example
curl -X GET "https://api.arcmusic.fun/youtube/jobStatus?job_id=f331659faf05717c"Response Samples
{
"status": "success",
"job": {
"status": "done",
"result": {
"success": true,
"cached": false,
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"quality": 128,
"cdn": "https://api.arcmusic.fun/media/audios/dQw4w9WgXcQ.mp3",
"is_audio": true,
"is_video": false,
"source": "yt_audio"
},
"error": null
}
}•job.status is one of 'queued', 'done', or 'error' — poll every 2-3 seconds until done.
Spotify API
2 EndpointsSynchronous playlist track scraping and direct track audio streaming
/spotify/playlistSpotify Playlist
Fetches all track details from a Spotify playlist — track name, Spotify URL, and duration.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
link | string | required | Spotify playlist link |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/spotify/playlist?link=https%3A%2F%2Fopen.spotify.com%2Fplaylist%2F37i9dQZF1DXcBWIGoYBM5M&api_key=YOUR_API_KEY"Response Samples
{
"status": "success",
"total": 1,
"tracks": [
{
"name": "Blinding Lights - The Weeknd",
"url": "https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b",
"duration": "00:03:20"
}
]
}/spotify/downloadSpotify Download
Resolves and returns a Spotify track directly — synchronous, single request, zero waiting queue.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
link | string | required | Spotify track link |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/spotify/download?link=https%3A%2F%2Fopen.spotify.com%2Ftrack%2F0VjIjW4GlUZAMYd2vXMi3b&api_key=YOUR_API_KEY"Response Samples
{
"success": true,
"spotify_link": "https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b",
"song_name": "Blinding Lights - The Weeknd",
"thumbnail_url": "https://i.scdn.co/image/ab67616d0000b273...",
"duration": "00:03:20",
"cdn": "https://cdn.example.com/audio/blinding-lights.mp3",
"is_audio": true
}SoundCloud API
2 EndpointsMetadata search and direct audio extraction from SoundCloud
/soundcloud/searchSoundCloud Search
Looks up a track's metadata — accepts a SoundCloud URL or free-text search query.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
query | string | required | SoundCloud track URL or search keyword |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/soundcloud/search?query=odesza%20a%20moment%20apart&api_key=YOUR_API_KEY"Response Samples
{
"status": "success",
"result": {
"title": "A Moment Apart",
"url": "https://soundcloud.com/odesza/a-moment-apart",
"uploader": "ODESZA",
"duration": 274,
"plays": 12345678,
"likes": 234567,
"thumbnail": "https://i1.sndcdn.com/artworks-....jpg"
}
}/soundcloud/downloadSoundCloud Download
Resolves and returns audio directly from SoundCloud — synchronous, high quality.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
query | string | required | SoundCloud track URL or query |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/soundcloud/download?query=https%3A%2F%2Fsoundcloud.com%2Fodesza%2Fa-moment-apart&api_key=YOUR_API_KEY"Response Samples
{
"status": "success",
"result": {
"success": true,
"cached": false,
"url": "https://soundcloud.com/odesza/a-moment-apart",
"cdn": "https://cdn.example.com/audio/odesza.mp3",
"name": "A Moment Apart - ODESZA",
"is_audio": true,
"is_video": false
}
}JioSaavn API
2 EndpointsDirect 320kbps high-fidelity audio stream and metadata extraction
/jiosaavn/searchJioSaavn Search & Metadata
Resolves a JioSaavn song, album, or playlist URL to metadata for every track it contains.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
url | string | required | A JioSaavn song, album, or playlist URL |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/jiosaavn/search?url=https%3A%2F%2Fwww.jiosaavn.com%2Fsong%2Fkesariya%2FRVAJcRVXTG4&api_key=YOUR_API_KEY"Response Samples
{
"success": true,
"type": "song",
"url": "https://www.jiosaavn.com/song/kesariya/RVAJcRVXTG4",
"total": 1,
"tracks": [
{
"title": "Kesariya",
"duration": "4:28",
"thumbnail": "https://c.saavncdn.com/.../500x500.jpg",
"song_url": "https://www.jiosaavn.com/song/kesariya/RVAJcRVXTG4"
}
]
}/jiosaavn/downloadJioSaavn Download (320kbps)
Resolves a single-track JioSaavn song URL to a direct 320kbps CDN link. Synchronous, instant download.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
url | string | required | A JioSaavn song URL |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/jiosaavn/download?url=https%3A%2F%2Fwww.jiosaavn.com%2Fsong%2Fkesariya%2FRVAJcRVXTG4&api_key=YOUR_API_KEY"Response Samples
{
"success": true,
"url": "https://www.jiosaavn.com/song/kesariya/RVAJcRVXTG4",
"title": "Kesariya",
"duration": "4:28",
"cdn": "https://aac.saavncdn.com/.../kesariya_320.mp4"
}Apple Music API
2 EndpointsFull album/playlist catalog metadata and single track stream resolution
/applemusic/searchApple Music Search & Metadata
Resolves a song, album, or playlist Apple Music URL to rich metadata for every track.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
url | string | required | Apple Music song, album, or playlist URL |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/applemusic/search?url=https%3A%2F%2Fmusic.apple.com%2Fus%2Fsong%2Fflowers%2F1670319317&api_key=YOUR_API_KEY"Response Samples
{
"success": true,
"type": "song",
"url": "https://music.apple.com/us/song/flowers/1670319317",
"total": 1,
"tracks": [
{
"title": "Flowers",
"artist": "Miley Cyrus",
"duration": "3:20",
"thumbnail": "https://is1-ssl.mzstatic.com/.../600x600bb.jpg"
}
]
}/applemusic/downloadApple Music Download
Resolves any Apple Music URL to a direct MP3 CDN audio link. Synchronous, no queue.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
url | string | required | Apple Music song, album, or playlist URL |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/applemusic/download?url=https%3A%2F%2Fmusic.apple.com%2Fus%2Fsong%2Fflowers%2F1670319317&api_key=YOUR_API_KEY"Response Samples
{
"success": true,
"url": "https://music.apple.com/us/song/flowers/1670319317",
"title": "Flowers",
"duration": "3:20",
"cdn": "https://cdn.example.com/audio/flowers.mp3"
}TeraBox Downloader API
New ProviderHigh-speed direct file, document, archive, and video stream extraction from TeraBox
/terabox/downloadTeraBox File & Video Download
Resolves a TeraBox file/folder share link to direct high-speed download CDN stream URLs, complete with file metadata (title, file size, thumbnail, and mime-type). Supports terabox.com, teraboxapp.com, 1024tera.com, and shortlinks.
Query Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
url | string | required | TeraBox share URL (teraboxapp.com/s/..., 1024tera.com/s/...) |
api_key | string | required | Your assigned Arc API key |
Request Example
curl -X GET "https://api.arcmusic.fun/terabox/download?url=https%3A%2F%2Fteraboxapp.com%2Fs%2F1a2B3c4D5e6F&api_key=YOUR_API_KEY"Response Samples
{
"success": true,
"platform": "terabox",
"url": "https://teraboxapp.com/s/1a2B3c4D5e6F",
"title": "Course_Archive_2026.zip",
"size": "142.8 MB",
"size_bytes": 149736857,
"thumbnail": "https://d.terabox.app/thumbnail/1a2B3c4D5e6F.jpg",
"cdn": "https://d.terabox.app/download/Course_Archive_2026.zip",
"fast_download_url": "https://d.terabox.app/download/Course_Archive_2026.zip",
"is_video": false
}•Accepts all standard TeraBox domains: terabox.com, teraboxapp.com, 1024tera.com, terabox.link, freeterabox.com, and mirrobox.com.
•fast_download_url provides accelerated direct downloading for large zip archives, videos, and documents.
Social Media Extraction
8 PlatformsUnified synchronous extraction for Instagram, Twitter / X, Facebook, Threads, Bluesky, TikTok, Reddit, and Pinterest
GET /{platform}/download?url=...&api_key=.... Responses are delivered synchronously with rich metadata and direct media CDN URLs./instagram/downloadInstagram Media Download
Resolves a Instagram post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•Supports Reels, video posts, and single/carousel image posts.
•New fields: 'title' (caption), 'thumbnail_url', 'type' (video/image/carousel), 'duration', 'shortcode', and 'items' for multi-slide posts.
/twitter/downloadTwitter / X Media Download
Resolves a Twitter / X post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•Accepts both x.com and twitter.com video post links.
•New fields: 'title' (tweet text), 'author' object with name/username/avatar, 'duration', 'thumbnail_url', 'quality' (1080p, 720p), 'views', 'likes', and 'retweets'.
/facebook/downloadFacebook Media Download
Resolves a Facebook post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•Accepts facebook.com, web.facebook.com, m.facebook.com, and fb.watch links for public videos.
/threads/downloadThreads Media Download
Resolves a Threads post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•The post must contain an attached video or image.
/bluesky/downloadBluesky Media Download
Resolves a Bluesky post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•Supports image posts and video posts with direct stream resolution.
/tiktok/downloadTikTok Media Download
Resolves a TikTok post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•Works with standard tiktok.com URLs as well as vm.tiktok.com / vt.tiktok.com short links.
/reddit/downloadReddit Media Download
Resolves a Reddit post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•Automatically merges video and audio tracks for Reddit-hosted (v.redd.it) media.
•Returns an extra 'caption' field with the post's title.
/pinterest/downloadPinterest Media Download
Resolves a Pinterest post URL and returns direct CDN media links — synchronous, single request, zero queue.
Query Parameters
urlapi_keyRequest Example
Response Samples
•Works for image Pins, video Pins, and pin.it short links.
•Returns an extra 'type' field indicating 'image' or 'video'.