Split a song into stems

November 14, 2026 (December 1, 2026)

Table of contents

  1. Request Headers
  2. Request Body
  3. Responses
  4. Model
  5. Examples
  6. Try It

Split a finished song into stems, the separate tracks of its voice and instruments. ACE Music’s stem splitter does it on the account that holds the song, on a paid ACE Music plan.

It runs on Creator and higher plans.

The default mode is vocals. It makes vocal and instrumental tracks for 5 credits. Mode all makes every stem ACE Music finds, for 60 credits. The stems it finds include vocals, backing_vocals, drums, bass, guitar, keyboard, strings, synth, woodwinds and fx.

Each track is an MP3 behind a signed link, a private link that works for 24 hours, until expires. For fresh links, read the job again with GET /jobs/jobid or the song with GET /music/songId.

Sync, async and webhooks

A request takes about 90 to 120 seconds.

The call answers with the result when it is ready. It waits up to 100 seconds. If the result isn’t ready by then, it answers 202 with a job to poll. With async on, the call answers at once with a job to poll. Poll GET /v1/acemusic/jobs/{jobid} about every 10 seconds.

A finished job comes back with HTTP 200 and its job record. When you poll instead of waiting, the first answer is HTTP 201, and the record shows status: processing. A job that fails while we wait, or fails at once at ACE Music, comes back with its job record. Its HTTP status is then the record’s code.

If a job has not finished 30 minutes after it started, we mark it failed.

Reading the job still returns HTTP 200, and its record shows status: failed and code: 504. ACE Music may still finish that job, and it has likely charged for it. So before you send the request again, read the job later or look in GET /music. You can read a jobid for 7 days.

Always check the job’s status. Only a completed job has the links. Read a running job with GET /jobs/jobid.

When the job completes or fails, we send the final job record as JSON to replyUrl, in one POST. This works with or without async. If you leave out replyUrl, we use the default replyUrl of your useapi.net account, set with POST account. It must be a public https URL too.

Each account runs at most maxJobs requests at a time. You set it with POST /accounts. It can be 1 to 4, and the default is 4, ACE Music’s own limit. GET /jobs shows what is running.

https://api.useapi.net/v1/acemusic/music/stems

Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
# Or send the same fields as multipart/form-data:
# Content-Type: multipart/form-data
Request Body
  • {
      "songId": "user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7"
    }
    
  • {
      "songId": "user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7",
      "mode": "all",
      "async": true,
      "replyUrl": "https://your-domain.com/webhook",
      "replyRef": "stems-1"
    }
    
  • songId is required. A finished song’s songId (user:[email protected]:so_...). The split runs on the account that holds it.
  • mode is optional. vocals gives two tracks, vocals and instrumental, for 5 credits. all gives every stem ACE Music finds, for 60 credits.
    Supported values: vocals (default), all.
  • async is optional. true answers 201 at once and runs the job in the background.
    Default: false.
  • replyUrl is optional. A public https URL. We POST the job record to it once, when the job completes or fails, in sync and async mode alike.
    Maximum length: 2048 characters.
  • replyRef is optional. Your own reference, echoed back in the job record.
    Maximum length: 1024 characters.

The replyUrl callback body has the same JSON shape as the GET /jobs/jobid response.

Responses
  • 200 OK

    The split was finished within the 100 seconds the request waits, or ACE Music had already split the song that way. The answer is the job record with its stems.

    The split is done

    {
      "jobid": "j1114203012775104298s-u12345-email:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7.0-bot:acemusic",
      "type": "stems",
      "status": "completed",
      "email": "[email protected]",
      "created": "2026-11-14T20:30:12.775Z",
      "stems": {
        "mode": "vocals",
        "songId": "user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7",
        "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
          }
        ],
        "expires": "2026-11-15T20:31:40.508Z"
      },
      "completed": "2026-11-14T20:31:39.143Z",
      "job_state": "completed",
      "outputs": [
        {
          "ok": true,
          "url": "https://….r2.cloudflarestorage.com/acemusic-data-prod/users/…/stem/202611/…?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=86400&…",
          "url_auth": "none",
          "mime": "audio/mpeg",
          "expires_at": "2026-11-15T20:31:40.531Z",
          "ref": null
        },
        {
          "ok": true,
          "url": "https://….r2.cloudflarestorage.com/acemusic-data-prod/users/…/stem/202611/…?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=86400&…",
          "url_auth": "none",
          "mime": "audio/mpeg",
          "expires_at": "2026-11-15T20:31:40.531Z",
          "ref": null
        }
      ]
    }
    

    mode: vocals, the split is done

    {
      "jobid": "j1115203937352006818s-u12345-email:[email protected]:so_000000000000000000000002.0-bot:acemusic",
      "type": "stems",
      "status": "completed",
      "email": "[email protected]",
      "created": "2026-11-15T20:39:37.352Z",
      "stems": {
        "mode": "vocals",
        "songId": "user:[email protected]:so_000000000000000000000002",
        "tracks": [
          {
            "type": "vocal",
            "url": "https://9d3f6b2e8a1c4f7e0b5a2d9c6e3f1a8b.r2.cloudflarestorage.com/acemusic-data-prod/users/0000000001/stem/202611/00000000000000000000000000000004?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=7c4e1a9f3b2d48e6a0f5c8d1e3b7a9f2%2F20261115%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261115T204113Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4b9e2d7a1c6f3e8b0a5d9c2f7e1b4a6d8c3f0e9b2a7d5c1e6f4b8a3d0c9e7f2b",
            "duration": 240.02
          },
          {
            "type": "instrumental",
            "url": "https://9d3f6b2e8a1c4f7e0b5a2d9c6e3f1a8b.r2.cloudflarestorage.com/acemusic-data-prod/users/0000000001/stem/202611/00000000000000000000000000000005?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=7c4e1a9f3b2d48e6a0f5c8d1e3b7a9f2%2F20261115%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261115T204114Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4b9e2d7a1c6f3e8b0a5d9c2f7e1b4a6d8c3f0e9b2a7d5c1e6f4b8a3d0c9e7f2b",
            "duration": 240.02
          }
        ],
        "expires": "2026-11-16T20:41:14.326Z"
      },
      "completed": "2026-11-15T20:41:08.850Z",
      "job_state": "completed",
      "outputs": [
        {
          "ok": true,
          "url": "https://9d3f6b2e8a1c4f7e0b5a2d9c6e3f1a8b.r2.cloudflarestorage.com/acemusic-data-prod/users/0000000001/stem/202611/00000000000000000000000000000004?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=7c4e1a9f3b2d48e6a0f5c8d1e3b7a9f2%2F20261115%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261115T204113Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4b9e2d7a1c6f3e8b0a5d9c2f7e1b4a6d8c3f0e9b2a7d5c1e6f4b8a3d0c9e7f2b",
          "url_auth": "none",
          "mime": "audio/mpeg",
          "expires_at": "2026-11-16T20:41:14.352Z",
          "ref": null
        },
        {
          "ok": true,
          "url": "https://9d3f6b2e8a1c4f7e0b5a2d9c6e3f1a8b.r2.cloudflarestorage.com/acemusic-data-prod/users/0000000001/stem/202611/00000000000000000000000000000005?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=7c4e1a9f3b2d48e6a0f5c8d1e3b7a9f2%2F20261115%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261115T204114Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4b9e2d7a1c6f3e8b0a5d9c2f7e1b4a6d8c3f0e9b2a7d5c1e6f4b8a3d0c9e7f2b",
          "url_auth": "none",
          "mime": "audio/mpeg",
          "expires_at": "2026-11-16T20:41:14.352Z",
          "ref": null
        }
      ]
    }
    
  • 201 Created

    When async is true, the job record comes back at once. The split is still being made. A song that was already split this way answers 200. A split that fails at once answers 422. Both come with the job record.

    {
      "jobid": "j1114203348120936514s-u12345-email:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7.2-bot:acemusic",
      "type": "stems",
      "status": "processing",
      "email": "[email protected]",
      "created": "2026-11-14T20:33:48.120Z",
      "stems": {
        "mode": "all",
        "songId": "user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7",
        "tracks": []
      },
      "replyUrl": "https://your-domain.com/webhook",
      "replyRef": "stems-1",
      "job_state": "in_progress",
      "outputs": []
    }
    
  • 202 Accepted

    The split was not finished after 100 seconds. The answer is the job record. Read it again with GET /jobs/jobid.

    {
      "jobid": "j1114035348330000000s-u12345-email:[email protected]:so_000000000000000000000001.2-bot:acemusic",
      "type": "stems",
      "status": "processing",
      "email": "[email protected]",
      "created": "2026-11-14T03:53:48.330Z",
      "stems": {
        "mode": "all",
        "songId": "user:[email protected]:so_000000000000000000000001",
        "tracks": []
      },
      "job_state": "in_progress",
      "outputs": []
    }
    
  • 400 Bad Request

    ACE Music refused the request. The text gives its reason.

    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": "Invalid JSON: Unexpected token 'o', \"not json\" is not valid JSON",
      "code": 400
    }
    
    The error text of each parameter check
    • Parameter songId is required
    • Parameter songId must be a string
    • Parameter songId is not a valid songId (user:<id>-<email>-song:so_…)
    • Parameter mode (x) valid values: vocals,all
    • Parameter async (x) valid values: 0,1,true,false
    • Parameter replyUrl must be a string
    • Parameter replyUrl is not a valid URL
    • Parameter replyRef must be a string
    • Parameter replyRef length exceeds 1024 characters
  • 401 Unauthorized

    The useapi.net API token is missing or wrong.

    {
      "error": "useapi.net ⁝ Unauthorized",
      "code": 401
    }
    
  • 402 Payment Required

    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
    }
    
  • 403 Forbidden

    The song belongs to another useapi.net user.

    This needs a paid ACE Music plan (Creator or Artist). The account is on Free. The end of the error text is ACE Music’s own message.

    {
      "error": "Song user:[email protected]:so_8b1d5e0a47c92f63d1a8b5c0 is not yours",
      "code": 403
    }
    
    {
      "error": "Splitting the song into stems needs a paid ACE Music plan (the account is on free): Downloads come with a paid plan",
      "code": 403
    }
    
  • 404 Not Found

    The failed job

    The song was deleted before the split finished, so the job failed. The answer is the job record with code 404.

    The account is not connected (never added, or removed).

    The song was deleted at ACE Music.

    The song was deleted at ACE Music, and its stems went with it.

    {
      "error": "Account [email protected] is not configured",
      "code": 404
    }
    
  • 412 Precondition Failed

    The account that holds the song has too few ACE Music credits for this request. cost is the number of credits the request needs. It is missing when ACE Music does not say. Add credits to the account.

    {
      "error": "Splitting the song into stems: Not enough credits",
      "code": 412
    }
    
  • 422 Unprocessable Content

    The failed job

    ACE Music could not split the song, so the job failed. The answer is the job record, with code 422 and ACE Music’s reason in error. Do not retry the same request.

    ACE Music could not split the song. The error field says why.

    {
      "jobid": "j1114035348330000000s-u12345-email:[email protected]:so_000000000000000000000001.2-bot:acemusic",
      "type": "stems",
      "status": "failed",
      "email": "[email protected]",
      "created": "2026-11-14T03:53:48.330Z",
      "stems": {
        "mode": "all",
        "songId": "user:[email protected]:so_000000000000000000000001",
        "tracks": []
      },
      "code": 422,
      "error": "ACE Music could not split this song",
      "completed": "2026-11-14T03:54:18.330Z",
      "job_state": "failed",
      "outputs": [],
      "error_info": {
        "code": "generation_failed",
        "message": "ACE Music could not split this song",
        "retry": {
          "mode": "never"
        }
      }
    }
    
  • 429 Too Many Requests

    ACE Music is limiting requests right now. The text gives its reason.

    The account this request needs is already running its maxJobs requests. It is the account you named, or the one that holds your referenced songs.

    Wait the seconds in the Retry-After header, or 30 seconds if there isn’t one, then send the request again.

    {
      "error": "Splitting the song into stems: HTTP 429",
      "code": 429
    }
    
    {
      "error": "Account [email protected] is running 2 of 2 jobs (maxJobs). Wait for one to finish, or raise maxJobs with POST /accounts",
      "code": 429
    }
    
  • 500 Internal Server Error

    Something failed on our side.

    {
      "error": "Something went wrong on our side, please retry",
      "code": 500
    }
    
    {
      "error": "Splitting the song into stems: ACE Music refused the call (HTTP 403). This is unexpected, please report it to support",
      "code": 500
    }
    
  • 502 Bad Gateway

    ACE Music may have accepted the split, and charged for it, but we didn’t get a usable answer. Check GET /music before you send it again. Its stems may be there.

    {
      "error": "Splitting the song into stems: ACE Music could not be reached: fetch failed. It may already have charged for this: check GET /music before retrying",
      "code": 502
    }
    
  • 503 Service Unavailable

    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-After header, 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
    }
    
  • 504 Gateway Timeout

    ACE Music may have accepted the split, and charged for it, but we didn’t get a usable answer. Check GET /music before you send it again. Its stems may be there.

    {
      "error": "Splitting the song into stems: ACE Music did not answer within 30 s. It may already have charged for this: check GET /music before retrying",
      "code": 504
    }
    
  • 596 Account Error

    The failed job

    ACE Music refused the account’s stored password. Add the account again with the current password (POST /accounts). If the password is refused while the request waits, the job fails, and you get its record with code 596. ACE Music may still finish the job. Once the account works again, you can read the job with GET /jobs/jobid.

    ACE Music refused the account’s stored email and password. Add the account again with the current password (POST /accounts).

    ACE Music refused the stored email and password of the job’s account. Add the account again with the current password (POST /accounts), then read the job again.

    {
      "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 job record. GET /jobs/jobid and the replyUrl webhook return the same shape.

The job record and the types it uses (Song, Split, DeletedSong, Output, ErrorInfo)
{ // TypeScript, fields marked ? may be absent
  jobid: string  // the job's id, `j...-u12345-email:[email protected]:so_...-bot:acemusic`. It names the account and the song or songs the job is about. Read the job with GET /jobs/{jobid}
  type: "music" | "stems"  // music: POST /music. stems: POST /music/stems
  status: "processing" | "completed" | "failed"  // processing: ACE Music is making the songs or the split (every job starts here). completed: done. A song job is completed when at least one of its two songs is ready. failed: no result. error says why, and code is the HTTP status
  email: string  // the ACE Music account the job runs on
  created: string  // ISO 8601
  completed?: string  // ISO 8601, when the job completed or failed
  model?: string  // music: the model you asked for
  modelUsed?: string  // music: the model that made the songs. It can differ from model. See Model switching on POST /music
  songs?: (Song | DeletedSong)[]  // music: the request's two songs, see Song below. A song you deleted after the job ended, with DELETE /music/{songId} or on acemusic.ai, is a DeletedSong
  stems?: {
    mode: "vocals" | "all"  // the split you asked for
    songId: string  // the song that was split
    songStatus?: "deleted"  // the song was deleted, and its stems with it. The job failed with code 404
    tracks: {
      type: "vocal" | "instrumental" | "vocals" | "backing_vocals" | "drums" | "percussion" | "bass" | "guitar" | "keyboard" | "strings" | "brass" | "woodwinds" | "synth" | "fx"  // the stem. Mode vocals gives vocal and instrumental, mode all one track for each other stem ACE Music found
      url: string | null  // signed mp3 link, valid 24 hours
      duration?: number  // seconds
    }[]  // one per stem
    expires?: string  // ISO 8601, when the track links stop working (read the job again for fresh ones)
  }  // on a stems job: the split
  error?: string  // status 'failed': why
  code?: number  // status failed: the HTTP status of the failure. 400: ACE Music could not read a referenced song's melody (read its score with GET /music/score, then run it again). 404: the account was removed, or a split's song was deleted. 422: ACE Music could not make the songs or the split. 504: not finished within 30 minutes (ACE Music may still finish it). 596: the account was signed out
  replyUrl?: string  // the replyUrl you sent: it receives this record when the job ends
  replyRef?: string  // the replyRef you sent, echoed back
  job_state: "pending" | "in_progress" | "completed" | "failed" | "cancelled" | "expired" | "unknown"  // where the job is, in the same words for every useapi.net API
  outputs: Output[]  // one entry per file the job made, see Output below
  error_info?: ErrorInfo  // only on a failed job: why, and whether to retry, see ErrorInfo below
}

Song:

{ // 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
}

DeletedSong:

{ // TypeScript, fields marked ? may be absent
  songId: string  // the song's id, as it was
  taskId: string  // ACE Music's own id of the song (so_…)
  status: "deleted"  // deleted with DELETE /music/{songId} or on acemusic.ai
}

Output:

{ // TypeScript, fields marked ? may be absent
  ok: boolean  // true when this file is ready to use
  url: string | null  // the link to the file, always absolute
  url_auth: "none" | "bearer"  // none: open the link as it is. bearer: send your API token with it
  mime: string  // the file type, such as audio/mpeg
  expires_at: string | null  // ISO 8601, when the link stops working. null when it does not expire
  ref: string | null  // the id to use for this file in later calls
  thumbnail_url?: string | null  // a cover or preview image
  text?: string  // the text, when the output is text
}

ErrorInfo:

{ // TypeScript, fields marked ? may be absent
  code: string  // the kind of failure, in the same words for every useapi.net API, e.g. `timeout`, `generation_failed`, `input_rejected`, `not_found`, `account_unhealthy`
  message: string  // what went wrong, in the API's own words
  retry: {
    mode: "never" | "now" | "backoff" | "after" | "after_reset" | "other_account"  // When to send the request again: - `never`: don't send it again as it is. `action` says what to change. - `now`: send it again right away. - `backoff`: send it again later, waiting longer each time. - `after`: send it again once the wait in `seconds` has passed. - `after_reset`: send it again once the account's credits or usage limit reset. - `other_account`: send it on another account.
    seconds?: number  // mode after: wait this long (or the Retry-After header)
    max?: number  // retry at most this many times
    action?: string  // what to change first, e.g. `fix_body`, `replace_input`, `add_credits`, `upgrade_plan`
  }  // whether and when to send it again
  vendor_code?: string  // the code the vendor answered with
}
Examples
  • curl -X POST "https://api.useapi.net/v1/acemusic/music/stems" \
         -H "Authorization: Bearer YOUR_API_TOKEN" \
         -H "Content-Type: application/json" \
         -d '{"songId":"user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7"}'
    
  • const response = await fetch('https://api.useapi.net/v1/acemusic/music/stems', {
      method: 'POST',
      headers: {
        'Authorization': 'Bearer YOUR_API_TOKEN',
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        "songId": "user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7"
      })
    })
    console.log(response.status, await response.json())
    
  • import requests
    
    response = requests.post(
        'https://api.useapi.net/v1/acemusic/music/stems',
        headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
        json={
            'songId': 'user:[email protected]:so_3f9c2a7d81e64b05a9d2c4e7'
        },
    )
    print(response.status_code, response.json())
    
Try It