Quickstart
From zero to a MusicXML file in about five minutes.
- Sign in and buy credits. Open the ScoreFlip app (this page takes you there), sign in with Google or Apple, go to Settings, Developer API and buy credits, a pack or any amount. There is no free tier; see credits and pricing for the current prices.
- Create an API key. In the same screen, name a key and copy it. It starts with
sf_live_and is shown only once. - Store it safely. Put it in an environment variable, never in client-side code or a public repository:
export SCOREFLIP_API_KEY=sf_live_... - Run a conversion. The example below starts a job, waits for it, and saves the score.
# 1. Start a job (this spends credits; max_credits caps the cost)
curl -X POST https://api.scoreflipml.roovemusic.com/v1/transcriptions \
-H "Authorization: Bearer $SCOREFLIP_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/my-recording.mp3", "mode": "auto", "max_credits": 200}'
# 2. Poll until status is "done"
curl https://api.scoreflipml.roovemusic.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $SCOREFLIP_API_KEY"
# 3. Download the score
curl "https://api.scoreflipml.roovemusic.com/v1/jobs/JOB_ID/result?format=musicxml" \
-H "Authorization: Bearer $SCOREFLIP_API_KEY" -o score.musicxmlHow a job works
- Submit.
POST /v1/transcriptionsreturns202with the job and the credits charged. The charge happens up front. - Poll.
GET /v1/jobs/{id}every 2 to 5 seconds. Status movesqueued,processing, thendoneorfailed. A three-minute song usually takes 30 to 90 seconds. - Download.
GET /v1/jobs/{id}/result?format=musicxml(ormidi, orjson). Results are kept 7 days.
Failed jobs cost nothing. If a job fails, the credits come straight back. Unreadable or too-long audio is refused before it is charged.
Sending a file instead of a link
Use a multipart upload (max 25 MB):
curl -X POST https://api.scoreflipml.roovemusic.com/v1/transcriptions \
-H "Authorization: Bearer $SCOREFLIP_API_KEY" \
-F file=@recording.mp3 -F mode=piano -F max_credits=100Next
- API reference: every endpoint and field.
- AI agents and MCP: use ScoreFlip as a tool in Claude, Cursor and agent frameworks.
- Errors: every code and how to handle it.
- Machine-readable: OpenAPI 3.1 · llms-full.txt