REST API v2.0All 14+ Providers Operational

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.

Platforms:

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 Only

Modular 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

Interactive Swagger playground live at /docs

How to Get an API Key

Step-by-step onboarding for developers

1

Create an Account

Sign up using credentials or instant Google OAuth on the Arc API portal.

2

Choose a Plan

Pick a plan on the Plans page. Instant UPI and Crypto checkout available.

3

Copy Your Key

Your key is issued instantly. View analytics and regenerate keys on your Usage dashboard.

Keep your API keys secret. Never commit keys to public GitHub repositories or expose them in client-side bundles. You can regenerate keys anytime if compromised.

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 Request with Key
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:

403 Forbidden Response403 Forbidden
{
  "detail": "Invalid API key or plan expired"
}
CodeStatusMeaning & Guidance
400Bad RequestMalformed input parameters, invalid URL, or unsupported playlist link.
403ForbiddenInvalid API key, inactive account, or expired plan subscription.
404Not FoundMedia unavailable, track not found on upstream platform, or unknown job_id.
429Too Many RequestsDaily request quota or daily video download limit exceeded for your tier.
500Internal Server ErrorUnexpected upstream extraction failure; safely retryable after a few seconds.

YouTube API

3 Endpoints

Search, playlist metadata extraction, and accelerated audio/video caching

GET/youtube/v2/playlist

YouTube 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

ParameterTypeRequirementDescription
linkstringrequiredYouTube playlist link or playlist ID
limitnumberoptional (def: 100)Max tracks to return, 1–200 (default 100)
api_keystringrequiredYour 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

Success200 OK
{
  "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"
    }
  ]
}
GET/youtube/v2/download

YouTube 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

ParameterTypeRequirementDescription
querystringrequiredYouTube video ID or full URL
isVideobooleanoptional (def: false)true downloads video, false (default) downloads audio-only MP3
api_keystringrequiredYour 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

Cached (Instant CDN)200 OK
{
  "status": "success",
  "job_id": null,
  "result": {
    "success": true,
    "cached": true,
    "source": "telegram",
    "cdn": "https://t.me/arcmusiccdn/48213",
    "is_audio": true,
    "is_video": false
  }
}
Implementation Details & Tips

•cdn is either a direct file URL under your storage or an accelerated https://t.me/<channel>/<message_id> media link.

GET/youtube/jobStatus

YouTube 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

ParameterTypeRequirementDescription
job_idstringrequiredThe job_id returned by /youtube/v2/download

Request Example

curl -X GET "https://api.arcmusic.fun/youtube/jobStatus?job_id=f331659faf05717c"

Response Samples

Completed200 OK
{
  "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
  }
}
Implementation Details & Tips

•job.status is one of 'queued', 'done', or 'error' — poll every 2-3 seconds until done.

Spotify API

2 Endpoints

Synchronous playlist track scraping and direct track audio streaming

GET/spotify/playlist

Spotify Playlist

Fetches all track details from a Spotify playlist — track name, Spotify URL, and duration.

Query Parameters

ParameterTypeRequirementDescription
linkstringrequiredSpotify playlist link
api_keystringrequiredYour 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

Success200 OK
{
  "status": "success",
  "total": 1,
  "tracks": [
    {
      "name": "Blinding Lights - The Weeknd",
      "url": "https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b",
      "duration": "00:03:20"
    }
  ]
}
GET/spotify/download

Spotify Download

Resolves and returns a Spotify track directly — synchronous, single request, zero waiting queue.

Query Parameters

ParameterTypeRequirementDescription
linkstringrequiredSpotify track link
api_keystringrequiredYour 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

Success200 OK
{
  "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 Endpoints

Metadata search and direct audio extraction from SoundCloud

GET/soundcloud/download

SoundCloud Download

Resolves and returns audio directly from SoundCloud — synchronous, high quality.

Query Parameters

ParameterTypeRequirementDescription
querystringrequiredSoundCloud track URL or query
api_keystringrequiredYour 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

Success200 OK
{
  "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 Endpoints

Direct 320kbps high-fidelity audio stream and metadata extraction

GET/jiosaavn/download

JioSaavn Download (320kbps)

Resolves a single-track JioSaavn song URL to a direct 320kbps CDN link. Synchronous, instant download.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA JioSaavn song URL
api_keystringrequiredYour 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

Success200 OK
{
  "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 Endpoints

Full album/playlist catalog metadata and single track stream resolution

GET/applemusic/download

Apple Music Download

Resolves any Apple Music URL to a direct MP3 CDN audio link. Synchronous, no queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredApple Music song, album, or playlist URL
api_keystringrequiredYour 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

Success200 OK
{
  "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 Provider

High-speed direct file, document, archive, and video stream extraction from TeraBox

GET/terabox/download

TeraBox 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

ParameterTypeRequirementDescription
urlstringrequiredTeraBox share URL (teraboxapp.com/s/..., 1024tera.com/s/...)
api_keystringrequiredYour 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

Success200 OK
{
  "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
}
Implementation Details & Tips

•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 Platforms

Unified synchronous extraction for Instagram, Twitter / X, Facebook, Threads, Bluesky, TikTok, Reddit, and Pinterest

Every social platform below shares a unified request signature: GET /{platform}/download?url=...&api_key=.... Responses are delivered synchronously with rich metadata and direct media CDN URLs.
GET/instagram/download

Instagram Media Download

Resolves a Instagram post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid Instagram post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/instagram/download?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FC1a2B3c4D5e%2F&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "instagram",
  "url": "https://www.instagram.com/reel/C1a2B3c4D5e/",
  "title": "Beautiful evening in Tokyo 🌆 #sunset #travel",
  "type": "video",
  "duration": "00:00:30",
  "thumbnail_url": "https://instagram.com/p/C1a2B3c4D5e/thumb.jpg",
  "shortcode": "C1a2B3c4D5e",
  "cdn": "https://cdn.example.com/instagram/reel_C1a2B3c4D5e.mp4",
  "items": [
    {
      "type": "video",
      "cdn": "https://cdn.example.com/instagram/reel_C1a2B3c4D5e.mp4",
      "thumbnail_url": "https://instagram.com/p/C1a2B3c4D5e/thumb.jpg"
    }
  ]
}
Implementation Details & Tips

•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.

GET/twitter/download

Twitter / X Media Download

Resolves a Twitter / X post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid Twitter / X post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/twitter/download?url=https%3A%2F%2Fx.com%2Fusername%2Fstatus%2F1234567890123456789&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "twitter",
  "url": "https://x.com/username/status/1234567890123456789",
  "title": "Check out this incredible speed benchmark! 🚀",
  "author": {
    "name": "Arc Developer",
    "username": "arc_api",
    "avatar": "https://pbs.twimg.com/profile_images/.../avatar.jpg"
  },
  "duration": "00:00:45",
  "thumbnail_url": "https://pbs.twimg.com/media/thumb.jpg",
  "cdn": "https://video.twimg.com/ext_tw_video/.../vid/1080p.mp4",
  "quality": "1080p",
  "views": 45200,
  "likes": 1280,
  "retweets": 340
}
Implementation Details & Tips

•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'.

GET/facebook/download

Facebook Media Download

Resolves a Facebook post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid Facebook post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/facebook/download?url=https%3A%2F%2Fwww.facebook.com%2Fwatch%2F%3Fv%3D1234567890123456&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "facebook",
  "url": "https://www.facebook.com/watch/?v=1234567890123456",
  "cdn": "https://cdn.example.com/media/download.mp4"
}
Implementation Details & Tips

•Accepts facebook.com, web.facebook.com, m.facebook.com, and fb.watch links for public videos.

GET/threads/download

Threads Media Download

Resolves a Threads post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid Threads post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/threads/download?url=https%3A%2F%2Fwww.threads.net%2F%40username%2Fpost%2FC1a2B3c4D5e&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "threads",
  "url": "https://www.threads.net/@username/post/C1a2B3c4D5e",
  "cdn": "https://cdn.example.com/media/download.mp4"
}
Implementation Details & Tips

•The post must contain an attached video or image.

GET/bluesky/download

Bluesky Media Download

Resolves a Bluesky post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid Bluesky post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/bluesky/download?url=https%3A%2F%2Fbsky.app%2Fprofile%2Fuser.bsky.social%2Fpost%2F3k5xyzabc123&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "bluesky",
  "url": "https://bsky.app/profile/user.bsky.social/post/3k5xyzabc123",
  "cdn": "https://cdn.example.com/media/download.mp4"
}
Implementation Details & Tips

•Supports image posts and video posts with direct stream resolution.

GET/tiktok/download

TikTok Media Download

Resolves a TikTok post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid TikTok post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/tiktok/download?url=https%3A%2F%2Fwww.tiktok.com%2F%40username%2Fvideo%2F7123456789012345678&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "tiktok",
  "url": "https://www.tiktok.com/@username/video/7123456789012345678",
  "cdn": "https://cdn.example.com/media/download.mp4"
}
Implementation Details & Tips

•Works with standard tiktok.com URLs as well as vm.tiktok.com / vt.tiktok.com short links.

GET/reddit/download

Reddit Media Download

Resolves a Reddit post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid Reddit post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/reddit/download?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fvideos%2Fcomments%2F1a2b3c4%2Fexample_post%2F&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "reddit",
  "url": "https://www.reddit.com/r/videos/comments/1a2b3c4/example_post/",
  "cdn": "https://cdn.example.com/media/download.mp4",
  "caption": "Example post title"
}
Implementation Details & Tips

•Automatically merges video and audio tracks for Reddit-hosted (v.redd.it) media.

•Returns an extra 'caption' field with the post's title.

GET/pinterest/download

Pinterest Media Download

Resolves a Pinterest post URL and returns direct CDN media links — synchronous, single request, zero queue.

Query Parameters

ParameterTypeRequirementDescription
urlstringrequiredA valid Pinterest post or video link
api_keystringrequiredYour assigned Arc API key

Request Example

curl -X GET "https://api.arcmusic.fun/pinterest/download?url=https%3A%2F%2Fwww.pinterest.com%2Fpin%2F1234567890123456789%2F&api_key=YOUR_API_KEY"

Response Samples

Success200 OK
{
  "success": true,
  "platform": "pinterest",
  "url": "https://www.pinterest.com/pin/1234567890123456789/",
  "cdn": "https://cdn.example.com/media/download.mp4",
  "type": "image"
}
Implementation Details & Tips

•Works for image Pins, video Pins, and pin.it short links.

•Returns an extra 'type' field indicating 'image' or 'video'.