Suno · Music

Song DownloadNEW

Download a Suno song as a real audio file. The audio on the official page is an encrypted stream — saving it directly gives you garbage bytes. This endpoint restores the full audio, re-hosts it on our CDN and returns a direct download link.

💡 When to use:Use when you need to save a finished song locally, feed it into your own player / editor, or post-process it. Three ways to specify the song: a clip ID, a Suno song page URL, or one of your own suno task IDs (the clip is resolved automatically, so you don’t have to query the task result first). Works for any public song (not just your own); 64MB per song.

⚡ Synchronous endpoint: one request returns the download link directly — no polling needed. Typically 5-20s (fetch + re-host), so set your client timeout above 60s.
Synchronous call
POST/ api/ cqt/ v2/ suno/ download
OpenAI-style call

The same capability is also available via POST /v1/audio/generations: add task to the body, other fields match the request body below. It returns synchronously with status completed.

Submit task
POST/ v1/ audio/ generations

Authorization

AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.

Request body

application/json
clipIdstring
Song clip ID. Exactly one of clipId / url / taskId is required (if several are sent, priority is clipId > url > taskId)
urlstring
Suno song page URL, e.g. https://suno.com/song/<clipId>; the ID is extracted automatically (one of the three)
taskIdstring
One of your suno task IDs (the one returned on submit and used with GET /api/cqt/info/suno?id=); the clip ID is resolved from that task automatically (one of the three). If the task result is queryable, it is downloadable — ownership is not checked here either. For export tasks (mp4 / wav / timeline / downbeats) that have no clip list, the clip ID submitted with the task is used
clipIndexnumber
Used with taskId: a generation task usually yields 2 songs — pick which one (0-based, default 0). One call downloads one song; if out of range, the error tells you how many songs the task actually has

Response Fields

codenumber
Status code; 200 = success. On non-200, msg carries the reason and credits are fully refunded
msgstring
Message
data.clipIdstring
Song clip ID
data.titlestring
Song title
data.urlstring
Direct download URL (CDN)
data.formatstring
File format: m4a or webm
data.bytesnumber
File size in bytes
data.cachedbool
Whether it came from cache (30-day TTL). true = the previous file was reused and returned faster; billing is unchanged

Common Errors

msgMeaning
param_invalid: clipId, url or taskId is requiredNone of the three inputs was provided (all param_invalid errors below are rejected before billing — no charge)
param_invalid: unrecognized clipId: ...The value is neither a clip ID nor a Suno song page URL
param_invalid: task not found: ...No such suno task ID on the platform
param_invalid: task has no clip yet, status=runningThat task has no result yet — wait until it finishes, then download
param_invalid: clipIndex out of range, this task has N clip(s)clipIndex is out of range; N is how many songs the task actually has (0-based)
clip not found: ...The song page cannot be opened, or has no audio URL (song missing or not public)
rights unavailable: ...No download permission granted for this song (restricted or temporarily unavailable) — try another song or retry later
decrypt failedThe restored bytes are not a recognizable media file — we fail loudly rather than hand back a broken file
Points insufficientInsufficient credits
The request is too fast. Please try again laterToo many downloads in flight (default 5 concurrent) — retry shortly; no credits are charged