Get your API key
Create a developer account and request a key from the API keys page. Pass it on every request as a Bearer token or X-API-Key header.
HTTP API for the Wav Linq attribution protocol — asynchronous detection via job polling, plus federated embed so credit resolves against your catalog, not ours. Sign up or login to your developer account to get started.
https://wavlinq.com
Create a developer account and request a key from the API keys page. Pass it on every request as a Bearer token or X-API-Key header.
POST /api/detect/jobs with an audio file. You receive a job_id immediately — processing runs in the background.
GET /api/detect/jobs/{job_id} with exponential backoff until status is succeeded or failed. Latency depends strongly on whether a mark is present — see Latency before sizing your poll loop.
Join the federated network — embed a Linq ID and register your resolver URL so attribution resolves against your catalog when others run detection.
All endpoints require a partner API key. Include it on every request using one of the headers below.
Headers
| Name | Description |
|---|---|
| Authorizationrequired | Bearer <key> — standard OAuth-style header |
| X-API-Key | Alternative to Authorization — pass the raw key value |
Upload audio, receive a job_id, then poll until the job reaches a terminal state.
Upload an audio file to start asynchronous attribution detection. Returns a job_id immediately.
Body parameters
| Name | Type | Description |
|---|---|---|
| audio_filerequired | file | Audio file to analyze (multipart field) |
| extraction_mode | string | quick, standard (default), or exhaustive. Governs how hard the decoder searches — see Extraction modes |
| priority | string | Queue priority. Defaults to standard |
| idempotency_key | string | Form-field alternative to the Idempotency-Key header |
Accepted audio
| Property | Value |
|---|---|
| Formats | .wav · .mp3 · .flac · .aiff · .m4a |
| Maximum request size | 60 MB. Larger requests are rejected with 413 before reaching the queue |
| Shortest reliable clip | Around 4 seconds. Shorter submissions are accepted, but recall falls off and a miss is not evidence the source was unmarked |
Response · 202 Accepted
Poll until status is succeeded or failed. Use exponential backoff — do not poll faster than once per second.
Response · 200 — mark recovered
Response · 200 — no mark present
status values
| Value | Terminal? | Meaning |
|---|---|---|
| queued | no | Accepted and waiting for a worker |
| processing | no | A worker is decoding the file |
| succeeded | yes | A Linq ID was recovered; result is populated |
| failed | yes | No mark found, or the job errored. error distinguishes the two |
attribution_source values
| Value | Description |
|---|---|
| direct | Metadata resolved from a Wav Linq embed record |
| partner_registry:live | Live call to your resolver endpoint succeeded |
| partner_registry:cache | Metadata served from a fresh cache entry |
| partner_registry:stale_cache | Your resolver was unreachable; a previously cached response was served instead. Treat the metadata as possibly out of date |
| partner_registry:registry_only | Signature found in the registry but no metadata returned |
Detection cost is asymmetric. Size your integration against your expected miss rate, not your hit rate.
Latency
When a mark is present, decoding typically completes in under one second per 30-second window. When no mark is present, the decoder must exhaust its search across offsets, occupancy plans and geometries before it can conclude nothing is there — which takes substantially longer, on the order of 15 seconds for the same window. Negatives cost roughly 20× positives.
Practical consequence: a pipeline scanning audio you did not mark is dominated by miss latency. Use a poll interval that starts around 1 second and backs off to several seconds, set client timeouts above 30 seconds, and never block a user-facing request on a detection job. Each job also waits roughly 20–30 seconds to start, because it runs in a fresh worker, so end to end a marked file typically takes about 30 seconds; allow up to a minute.
Extraction modes
| Mode | Use when | Trade-off |
|---|---|---|
| quick | High-volume triage where you expect most files to be marked and can tolerate missing marginal cases | Lowest latency; lower recall on degraded or short audio |
| standarddefault | General use. Retries across sample rates and channel strategies | Balanced |
| exhaustive | Disputes, spot checks, or short clips where a miss is costly | Highest recall; highest latency, especially on unmarked audio |
Rate limits
20 requests/minute per API key for POST /api/detect/jobs during beta. Over limit returns 429 with a Retry-After header — honor it and do not tight-loop.
This is a published floor, not a capacity ceiling: sustained throughput above it is available by agreement, and catalog backfills are sized as a separate exercise rather than drawn from the per-minute limit. Contact us before a bulk run so we can provision for it — a backfill submitted against the standard limit will be throttled rather than queued.
How it works
Join the network as a node — embed a Linq ID and register a resolver URL pointing to your catalog. When anyone runs detection, Wav Linq calls your node's HTTPS endpoint to fetch track metadata. We never store it ourselves. Apply partner_registry.sql in your database before first use.
Embeds a Linq ID and registers your resolver URL in one step. Returns attributed audio/wav as a download.
Body parameters
| Name | Type | Description |
|---|---|---|
| audio_filerequired | file | Source audio to embed (multipart field) |
| track_id | string | Track identifier used in signature generation |
| song_title | string | Alternative to track_id for signature generation |
| resolver_endpoint | string | Full resolver URL per request (Option A). {signature} and {SIG} are replaced with the uppercase Linq ID. Must be HTTPS on a public host |
| resolver_base_url | string | Base URL — Wav Linq appends path template (Option B) |
| resolver_path_template | string | Defaults to resolve/{signature}. {signature} and {SIG} both insert the uppercase Linq ID |
Accepted audio
| Property | Value |
|---|---|
| Source formats | .wav · .mp3 · .flac · .aiff · .m4a |
| Returned format | Always uncompressed audio/wav, whatever you send. The mark is placed in a lossless carrier; re-encoding afterwards is yours to do |
| Maximum request size | 60 MB. See the note below — the response, not the request, is the binding constraint here |
Response · 200 audio/wav
Implement on your side — Wav Linq only stores a pointer to your resolver in partner_registry. We GET your HTTPS endpoint; your database stays yours.
Wav Linq calls your registered URL when detection finds a partner-embedded Linq. Return JSON track metadata.
Request headers
| Name | Description |
|---|---|
| X-WavLinq-Signaturerequired | 20-character signature (Linq ID) from the detection result |
| X-WavLinq-Timestamp | Unix timestamp (seconds) — sent when HMAC verification is enabled |
| X-WavLinq-HMAC | Hex HMAC-SHA256 of "{timestamp}.{SIGNATURE_UPPER}" |
Response · 200 OK
If you generate audio rather than distribute recordings, the music fields above do not describe your content — you have no ISRC and no rights holder. Return the provenance set instead. These keys are a convention rather than a separate endpoint: those keys are copied onto result.metadata with the other documented resolver fields.
Response · 200 OK — generated audio
Provenance fields
| Name | Type | Description |
|---|---|---|
| content_origin | string | ai_generated, ai_assisted, or human |
| provider_name | string | The legal entity that operates the generating system |
| system_name | string | Product or model name of the generating system |
| system_version | string | Version identifier, so a disclosure can be tied to a specific release |
| created_at | string | ISO 8601 UTC timestamp of generation |
What we hold, for how long, and what you keep if you leave.
What we store
| Data | Retention | Notes |
|---|---|---|
| Submitted audio (detection) | Deleted after the job reaches a terminal state | Held only to run the job. Not retained for training, benchmarking, or any other purpose |
| Submitted audio (embed) | Deleted after the marked file is returned | In-pipeline integration avoids this transit entirely |
| Job records | 30 days | Job ID, status, timestamps, filename, timing, and the recovered Linq ID. No audio |
| Registry records | Retained for the life of the ID | Linq ID, your account, key version, and your resolver URL. This is what keeps a mark resolvable |
| Your track metadata | Not stored at rest | Held in your systems and fetched from your resolver on demand |
| Resolver cache | Short-lived performance copy | A cached copy of what your resolver returned, used to answer repeat lookups and to serve stale_cache when you are unreachable |
Export & exit
The mapping between your tracks and their Linq IDs is yours. You hold it at the moment of embedding — every embed response returns the X-WavLinq-Signature for that file — and we recommend persisting it on your side as the authoritative record rather than relying on us to reproduce it. A full export of your registry rows is available on request.
Marks already embedded stay resolvable. A Linq ID is embedded in the audio signal, so it does not stop existing when a contract does. If you leave, the registry rows for IDs you already minted remain in place and continue to resolve, which is what protects a historical disclosure obligation from lapsing retroactively. What ends is your ability to mint new IDs and to submit detection jobs.
Offline detection — running the detector inside your own infrastructure, with no call to us — is available under a separate agreement rather than through this API. Partners whose obligations require verification independent of a vendor's continued existence should ask about it explicitly.
Availability
The Partner API is in beta. It runs on managed infrastructure with request-level autoscaling, and current status and advisories are published on API Status.
Beta means no contractual uptime commitment, and that capacity is provisioned against observed partner load rather than a published ceiling. In practice: tell us before you turn on a new workload of material size, design for the failure modes below rather than assuming availability, and treat attribution as an asynchronous enrichment step rather than a dependency in a critical path. Partners who need an SLA should raise it during contracting — it is a commercial conversation, not a configuration flag.
Design your pipeline for our worst case scenarios. Note the first two rows especially — they look alike and must be handled differently.
Error handling
| Situation | We return | Recommended behavior |
|---|---|---|
| No mark present | status: failed, result: null, error: "No composite signature found…" | Record as a conclusive negative. Do not retry. Re-running it costs ~20× a positive and returns the same answer |
| Job errored | status: failed with any other error | Retry once with backoff; if it persists, capture the job_id and contact us |
| Job not ready | status: queued / processing | Keep polling with backoff; don't block user-facing flows |
| Rate limited | 429 + Retry-After | Back off per header; queue and retry |
| Degraded / unreachable | 5xx / timeout | Fail open — treat attribution as deferred, re-submit later |
| Auth problem | 401 / 403 | Surface as config error; verify key matches job owner |
| Unknown resolver | succeeds, registry_only | Detection succeeds; metadata absent |
| Resolver unreachable | succeeds, stale_cache | Metadata may be out of date; refresh when your resolver recovers |
Idempotency & versioning
Pass Idempotency-Key on retries — same key returns the same job_id (200 on replay vs 202 on first submit). The API is versioned (v1). Breaking changes ship under a new version with 90 days notice; additive changes — new response fields, new enum values — ship within v1 without notice, so parse permissively. Subscribe to API Status for advisories.