AnySound API

Send a 5 to 30 second recording, get a ranked list of what it most likely is, with the measured evidence. Spec: /api/openapi.json.

Authenticate

Create a key on your dashboard under Settings, then send it as Authorization: Bearer KEY or X-API-Key: KEY.

Identify a sound

curl -X POST https://anysound.sensifai.com/api/v1/jobs \
  -H "Authorization: Bearer $ANYSOUND_KEY" -H "Idempotency-Key: 7f3c-unique-per-request" \
  -F [email protected] -F 'context={"category":"vehicle","setting":"outdoor"}'
# 202 {"id":"...","status":"queued","poll":"/api/v1/jobs/..."}
curl -H "Authorization: Bearer $ANYSOUND_KEY" https://anysound.sensifai.com/api/v1/jobs/JOB_ID

One analysis is billed only when it is delivered as a clear or partial match, after it succeeds. No match, a recording too poor to analyse, an unusable file and any failure are never charged. Repeating a request with the same Idempotency-Key returns the same job and never a second charge.

Errors

RFC 7807 problems. 402 empty wallet, 403 no subscription, 413 file too large, 415 unsupported audio type, 422 recording unusable (with kind and duration_s), 429 hourly limit.