Audio API: stems, key & BPM
For developers
Split songs into vocals, drums, bass and other, and detect key, Camelot code and BPM, with one HTTP call. Prepaid credits from $5, no subscription, no expiry.
Pricing
1 credit = 1 minute of splitting or 1 key & BPM check. Credits never expire.
Starter
$5
60 credits
About 15 songs split · 8.3¢ a minute
Studio
$20
300 credits
About 75 songs split · 6.7¢ a minute
Pro
$50
1,000 credits
About 250 songs split · 5¢ a minute
Payments by Link (Stripe), which handles receipts and sales tax. Your key is on your account page right after checkout.
Quickstart
Every request needs your key in the Authorization header. Base URL: https://synapsekits.com/api/v1
# 1. start a split (multipart upload, or send url=https://… instead of file)
curl -X POST https://synapsekits.com/api/v1/split \
-H "Authorization: Bearer $SYNAPSE_KEY" \
-F file=@song.mp3 -F stems=4 -F format=mp3
# → 202 {"id":"9f1c…","status":"queued","credits_charged":4,"eta_seconds":230,…}
# 2. wait for it (holds the request open up to 25 s, call again until done)
curl "https://synapsekits.com/api/v1/jobs/9f1c…?wait=25" -H "Authorization: Bearer $SYNAPSE_KEY"
A finished split looks like this. Stem URLs work for 24 hours and need no key.
{
"id": "9f1c…", "type": "split", "status": "completed",
"duration_seconds": 212.4, "credits_charged": 4,
"expires_at": "2026-11-13T10:02:11Z",
"result": {
"stems": {
"vocals": { "url": "https://synapsekits.com/audio-files/9f1c…/vocals.mp3", "bytes": 8503112 },
"drums": { "url": "…/drums.mp3", "bytes": 8503112 },
"bass": { "url": "…/bass.mp3", "bytes": 8503112 },
"other": { "url": "…/other.mp3", "bytes": 8503112 }
},
"analysis": {
"key": "A Minor", "camelot": "8A", "relative_key": "C Major", "relative_camelot": "8B",
"bpm": 150, "bpm_alternatives": [75], "tuning_cents": -4,
"alternatives": [{ "key": "C Major", "camelot": "8B", "score": 41.2 }, …]
}
}
}
Endpoints
POST /api/v1/split
file: the audio, as a multipart upload (up to 150 MB), orurl: a public http(s) link to it. JSON bodies work too when you sendurl.stems:4(vocals, drums, bass, other; default) or2(vocals, instrumental).format:mp3(320 kbps; default) orwav(16-bit, 44.1 kHz).analyze:true(default) adds key & BPM at no extra cost;falseskips it.- Costs 1 credit per started minute. Answers
202with the job.
POST /api/v1/analyze
fileorurl, as above. Costs 1 credit. A file we've already analyzed answers at once with200.
GET /api/v1/jobs/{id}?wait=0-25
statusisqueued(withqueue_position,eta_seconds),processing(withprogress0–1),completed(withresult) orfailed(witherror; credits are refunded).waitholds the request until the job changes or the seconds run out. Free.
GET /api/v1/limits
- Your credit balance and running jobs. Free.
Errors
Errors are JSON: {"error": {"code": "…", "message": "…"}}.
400no_input,bad_option,bad_request401no_api_key,bad_api_key402insufficient_credits: top up and send it again413too_large422unreadable_audio,too_long(over 10 minutes),bad_url429too_many_jobs(2 splits or 5 analyses running per key), or more than ~60 requests a minute503busy: the queue is full, retry after theRetry-Afterseconds
Limits
- Songs up to 10 minutes. Uploads up to 150 MB; URLs up to 150 MB.
- Results are deleted after 24 hours, uploads as soon as they're processed.
- Only send audio you have the right to process. See the terms.
Questions
What does a credit buy?
One credit is one minute of stem splitting, rounded up per song, with the key and BPM included. A key & BPM check on its own is one credit per song. A typical 3½-minute song costs 4 credits to split.
Do credits expire?
No. Buy once and use them whenever you like. If a job fails on our side, its credits go straight back to your balance.
How fast is it?
A split takes roughly as long as the song itself, plus any wait in the queue; key & BPM takes seconds. The job response includes an estimate. Results are files you download within 24 hours.
Can I call it from a browser?
Not directly: your API key would be visible to everyone. Call it from your server and pass results to your app.
What audio can I send?
Anything ffmpeg can read (MP3, WAV, FLAC, M4A, OGG, video files with audio), up to 10 minutes. Upload up to 150 MB, or send a public URL to the file.
Who can I contact?
Email support@synapsekits.com. We answer API questions within a day.