Retrieve a song
November 14, 2026 (December 1, 2026)
Table of contents
Read one song from the ACE Music Library of the account that holds it. You get its status, title, style, lyrics, length and model. You also get its mp3 and cover links. If the song was split, the answer also has its stems. Each track is a signed link that works for 24 hours. You find songIds in a finished job, in GET /music or in the answer of POST /files.
The mp3 link of a generated song is public. playUrl is a direct link to the same MP3 for players. It works until playUrlExpires, about an hour, and each read gives you a fresh one. Some browsers, such as Brave, block the redirect behind audioUrl. So store audioUrl and play playUrl. For WAV, MIDI or MusicXML files, use GET /music/download.
An uploaded audio file has no public audioUrl. Its playUrl is a direct link to your upload, signed for 24 hours. GET /music/download gives you the same link.
https://api.useapi.net/v1/acemusic/music/
songId
songIdis required. A songId (user:[email protected]:so_...) from a finished job, GET /music or POST /files, URL-encoded. The request runs on the account that holds it.
For example, user%3A12345-example%40example.com-song%3Aso_3f9c2a7d81e64b05a9d2c4e7.
Request Headers
Authorization: Bearer {API token}
API tokenis required. Setup useapi.net shows where to get it.
Responses
-
The song with fresh links, and the tracks of its finished splits.
A finished song
{ "songId": "user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7", "taskId": "so_3f9c2a7d81e64b05a9d2c4e7", "status": "succeeded", "title": "Farmers Market Sunshine", "model": "ace-step-1.5-xl", "style": "Upbeat indie folk, bright cheerful acoustic ukulele strumming, light hand percussion, shaker, warm upright bass, sweet breezy female vocals, sunny acoustic production.", "lyrics": "[verse 1]\nWoven tote bag swinging by my side\nMorning breeze and the sky open wide\n…", "instrumental": false, "duration": 135.02, "audioUrl": "https://acemusic.ai/data/so_3f9c2a7d81e64b05a9d2c4e7.mp3", "playUrl": "https://….r2.cloudflarestorage.com/acemusic-data-prod/users/…/audio/202611/….mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20261114T204512Z&X-Amz-Expires=3599&…", "playUrlExpires": "2026-11-14T21:45:11.000Z", "coverUrl": "https://acemusic.ai/data/so_3f9c2a7d81e64b05a9d2c4e7-cover.jpg?v=1794598529169", "pageUrl": "https://acemusic.ai/song/k4m8q2vz7xpd", "created": "2026-11-14T20:15:30.439Z", "finished": "2026-11-14T20:16:14.205Z", "kind": "original", "score": false, "stems": { "vocals": { "status": "done", "tracks": [ { "type": "vocal", "url": "https://….r2.cloudflarestorage.com/acemusic-data-prod/users/…/stem/202611/…?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=86400&…", "duration": 135.02 }, { "type": "instrumental", "url": "https://….r2.cloudflarestorage.com/acemusic-data-prod/users/…/stem/202611/…?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=86400&…", "duration": 135.02 } ] } } }An uploaded file (
kind: upload){ "songId": "user:[email protected]:so_000000000000000000000002", "taskId": "so_000000000000000000000002", "status": "succeeded", "title": "full-test-upload", "model": null, "style": "A gentle, intimate indie folk lullaby at a slow, peaceful tempo. Delicate fingerpicked acoustic guitar leads the harmonic motion, cushioned by warm ambient synth pads and subtle low-end support. A soft, airy, close-mic'd female lead vocal sings with tender phrasing and slight vocal layering, treated with intimate warmth and spacious plate reverb.", "lyrics": "[verse]\nFold the morning into paper\nSend it down the gutter stream\nSail away, little paper boat\nCarry every quiet dream", "instrumental": false, "duration": 35, "audioUrl": null, "playUrl": "https://9d3f6b2e8a1c4f7e0b5a2d9c6e3f1a8b.r2.cloudflarestorage.com/acemusic-data-prod/users/0000000001/audio/202611/00000000000000000000000000000004.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=7c4e1a9f3b2d48e6a0f5c8d1e3b7a9f2%2F20261115%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261115T201357Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4b9e2d7a1c6f3e8b0a5d9c2f7e1b4a6d8c3f0e9b2a7d5c1e6f4b8a3d0c9e7f2b", "playUrlExpires": "2026-11-16T20:13:57.000Z", "coverUrl": "https://acemusic.ai/data/so_000000000000000000000002-cover.jpg?v=1794598529169", "pageUrl": null, "created": "2026-11-15T20:13:39.816Z", "finished": "2026-11-15T20:13:52.584Z", "kind": "upload", "score": true, "upload": { "seconds": 35, "bpm": 88, "transcription": "done" } } -
The request itself is wrong. Fix what the text names, then send it again.
The body could not be read. It is not valid JSON, or a multipart upload was sent without its boundary.
{ "error": "Path parameter songId (so_3f9c) is not a valid songId (user:<id>-<email>-song:so_…)", "code": 400 }{ "error": "Wrong GET url (songId) /v1/acemusic/music/so_3f9c2a7d81e64b05a9d2c4e7/stems", "code": 400 }{ "error": "Invalid JSON: Unexpected token 'o', \"not json\" is not valid JSON", "code": 400 } -
The useapi.net API token is missing or wrong.
{ "error": "useapi.net ⁝ Unauthorized", "code": 401 } -
The useapi.net subscription is not active.
{ "error": "useapi.net ⁝ Your account has no subscription, please subscribe to our services before submitting requests", "code": 402 } -
The song belongs to another useapi.net user.
{ "error": "Song user:[email protected]:so_8b1d5e0a47c92f63d1a8b5c0 is not yours", "code": 403 } -
The account is not connected (never added, or removed).
ACE Music no longer lists the song. It was deleted.
{ "error": "Account [email protected] is not configured", "code": 404 }{ "error": "Song user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7 not found (deleted on acemusic.ai?)", "code": 404 } -
ACE Music is limiting requests right now. The text gives its reason.
Wait the seconds in the
Retry-Afterheader, or 30 seconds if there isn’t one, then send the request again.{ "error": "Reading the song: HTTP 429", "code": 429 } -
Something failed on our side.
{ "error": "Something went wrong on our side, please retry", "code": 500 }{ "error": "Reading the songs: ACE Music refused the call (HTTP 403). This is unexpected, please report it to support", "code": 500 } -
ACE Music couldn’t take the request right now, or the account’s session is being renewed. This happens before any step that charges, so nothing was charged.
Wait the seconds in the
Retry-Afterheader, or 10 seconds if there isn’t one, then send the request again.{ "error": "ACE Music sign-in for [email protected] failed moments ago, please retry shortly", "code": 503 }{ "error": "ACE Music sign-in for [email protected] failed (ACE Music did not answer within 30 s), please retry shortly", "code": 503 }{ "error": "ACE Music session renewal for [email protected] failed (HTTP 503), please retry shortly", "code": 503 }{ "error": "ACE Music session renewal for [email protected] is in progress, please retry shortly", "code": 503 }{ "error": "ACE Music sign-in for [email protected] is in progress, please retry shortly", "code": 503 }{ "error": "ACE Music refused the session for [email protected] right after a fresh sign-in, please retry shortly", "code": 503 }{ "error": "Reading the song: ACE Music did not answer within 30 s, please retry shortly", "code": 503 }{ "error": "Reading the songs: ACE Music's answer could not be read (HTTP 200), please retry shortly", "code": 503 }{ "error": "Reading the songs: ACE Music answered a song without its id, please retry shortly", "code": 503 } -
596 Account Error
ACE Music refused the account’s stored email and password. Add the account again with the current password (POST /accounts).
{ "error": "Account [email protected]: ACE Music refused the stored email and password. Update the password with POST /accounts to resume using this account", "code": 596 }
Model
The song, with its audio links and the signed links of the stems of any split.
The song and the type it uses (Split)
{ // TypeScript, fields marked ? may be absent
songId: string // `user:[email protected]:so_...`, the song's id: use it as a reference, to split, download or delete
taskId: string // ACE Music's own id of the song (so_…)
status: "planning" | "scoring" | "queued" | "running" | "succeeded" | "failed" | "interrupted" // ACE Music's progress on the song
title: string | null // the song's title (ACE Music writes one for a prompt request)
model: string | null // acemusic-v1, acemusic-v1.1 or ace-step-1.5-xl. null for an uploaded file
style: string | null // the style the song was made with (ACE Music writes it for a prompt request)
lyrics: string | null // with tags such as [verse] and [chorus]
instrumental: boolean | null // true for a song with no vocals
duration: number | null // seconds
audioUrl: string | null // public mp3 link, `https://acemusic.ai/data/so_3f9c2a7d81e64b05a9d2c4e7.mp3`, once the song succeeded. It never changes, so store this one. null for an uploaded file. Get its audio with GET /music/download
playUrl?: string | null // a direct link to the song's audio for players, until playUrlExpires. For a made song it is the same mp3 as audioUrl and works about an hour. For an upload it is the uploaded audio and works 24 hours. Some browsers, such as Brave, block the redirect behind audioUrl, so store audioUrl and play playUrl. For about the first minute after a song is made, playUrl is the same link as audioUrl. You get it in job records, GET /music/{songId} and the POST /files answer for audio, not in GET /music. null while the song is not finished, or when we could not read the link
playUrlExpires?: string | null // ISO 8601, when playUrl stops working: read the job or the song again for a fresh one
coverUrl: string | null // cover art (jpg)
pageUrl: string | null // the song's page on acemusic.ai, when ACE Music made one
created: string | null // ISO 8601
finished: string | null // ISO 8601
kind: "original" | "cover" | "mashup" | "edit" | "upload" // how the song was made: original, cover, mashup, edit or upload. A remix shows as cover, and a file sent with POST /files as upload
score: boolean // true when ACE Music already has the song's score (GET /music/score)
error?: {
code?: string // ACE Music's code, e.g. `ref_no_melody`, `song_not_made`
message?: string // ACE Music's own words
reason?: string // ACE Music's reason, when it gives one
} // a failed song
refunded?: boolean // ACE Music gave the credits back for a failed song
stems?: {
vocals?: Split // mode vocals: vocal and instrumental
all?: Split // mode all: every stem ACE Music found
} // splits made with POST /music/stems. Their track links are signed (24 hours) on GET /music/{songId}, null elsewhere
upload?: {
seconds?: number // its length, counted against the account's upload minutes
bpm?: number // the tempo ACE Music read
transcription?: string // done once ACE Music has read its lyrics, style and melody
} // an uploaded audio file (POST /files)
}
Split:
{ // TypeScript, fields marked ? may be absent
status?: string // ACE Music's progress on the split
tracks: {
type?: "vocal" | "instrumental" | "vocals" | "backing_vocals" | "drums" | "percussion" | "bass" | "guitar" | "keyboard" | "strings" | "brass" | "woodwinds" | "synth" | "fx" // the stem
url: string | null // signed mp3 link (24 hours) on GET /music/{songId}, null elsewhere
duration?: number // seconds
}[] // one per stem
}
Examples
-
curl "https://api.useapi.net/v1/acemusic/music/user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7" \ -H "Authorization: Bearer YOUR_API_TOKEN" -
const response = await fetch('https://api.useapi.net/v1/acemusic/music/user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7', { headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' } }) console.log(response.status, await response.json()) -
import requests response = requests.get( 'https://api.useapi.net/v1/acemusic/music/user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7', headers={'Authorization': 'Bearer YOUR_API_TOKEN'}, ) print(response.status_code, response.json())