The canonical OpenAPI 3.1 specification for the AudD music recognition API.
This repository is the source of truth that all official AudD SDKs build their typed models against.
| File | Purpose |
|---|---|
openapi.yaml |
OpenAPI 3.1 spec covering every public AudD endpoint |
fixtures/ |
Real captured API responses, PII scrubbed — used by every SDK's contract tests |
tests/validate.py |
Validates each fixture against its schema in openapi.yaml |
tests/capture_fixtures.py |
Re-capture fixtures from the live API (requires an api_token) |
- Standard recognition —
POST/GET https://api.audd.io/ - Enterprise recognition —
POST https://enterprise.audd.io/(hours- to days-long files) - Stream management —
setCallbackUrl,getCallbackUrl,addStream,getStreams,setStreamUrl,deleteStream - Longpoll —
GET /longpoll/ - Custom catalog upload —
POST /upload/(special access required)
The WebSocket recognition variant is intentionally not modeled — AudD recommends the HTTP endpoints for all use cases.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt
python tests/validate.pyTo re-capture fixtures from the live API:
AUDD_TEST_TOKEN_STD=... AUDD_TEST_TOKEN_ENTERPRISE=... \
python tests/capture_fixtures.py
python tests/scrub_fixtures.pyWhen this repo lands a change to openapi.yaml or fixtures/, a workflow fires repository_dispatch events at the nine SDK repos that have a separate contract workflow (audd-python, audd-node, audd-go, audd-rust, audd-php, audd-swift, audd-kotlin, audd-dotnet, audd-java) to re-run their contract tests against the new spec. Those nine SDKs also run the same contract tests on a daily cron at 06:00 UTC as a safety net.
MIT — see LICENSE.
- Documentation: https://docs.audd.io
- Tokens: https://dashboard.audd.io
- Email: [email protected]