Skip to main content
GET
/
music
/
{musicId}
Get music track
curl --request GET \
  --url https://rawugc.com/api/v1/music/{musicId} \
  --header 'Authorization: Bearer <token>'
{
  "musicId": "mus_jh7a3b9xq2pn4r8k",
  "status": "pending",
  "model": "V5",
  "prompt": "upbeat lo-fi hip hop beat",
  "creditsUsed": 3,
  "createdAt": 1740000000000
}

Authorizations

Authorization
string
header
required

Use your API key from the RawUGC dashboard. Include as: Authorization: Bearer YOUR_API_KEY

Path Parameters

musicId
string
required

Music identifier (mus_xxx format)

Response

Music generation status

musicId
string

Unique music identifier (mus_xxx format)

status
enum<string>

Current generation status

Available options:
pending,
processing,
completed,
failed
model
string

Suno model version used

prompt
string

Text prompt used for generation

audioUrl
string<uri>

URL to download the generated audio (available when status is 'completed')

albumArtUrl
string<uri>

URL for the generated album art image

duration
number

Track duration in seconds

title
string

Track title

creditsUsed
number

Credits deducted for this generation

createdAt
number

Timestamp when generation was initiated

completedAt
number

Timestamp when generation completed (if finished)

failCode
string

Error code if generation failed

failMessage
string

Error message if generation failed