/api
Live · self-serve keysThe lab's measurements as an API.
The same measurements we use in our audits, behind one key: for your pipeline, your CI gate and your AI agent (MCP). EU-hosted; only numbers come back, and a file sent through a signed upload sits in EU storage for at most an hour.
-
1A key, no account
curl -X POST https://audiolab.tools/v1/keys20 calls a month, 3 a minute, on every route. Put it in
AUDIOLAB_KEY, or get one with a click: Get a key. -
2Your first call
curl https://audiolab.tools/v1/mixlab/analyze -H "Authorization: Bearer $AUDIOLAB_KEY" -F file=@speech.wavSign in later and the same key becomes a free key: 300 minutes of audio a month, no card.
Keep your key → -
3Into your AI
Set it up →npx -y @audiolabtools/mcp-serverin Claude, Cursor or VS Code: with your key, files up to 150 MB and batches; without a key, single files up to 4 MB. ChatGPT and n8n use the hosted /mcp, with the key
Start here
Do
From nothing to a real response in under two minutes. No account needed: a key takes one click.
- 01 A key, no account One click, or one line in your terminal. 20 calls a month and 3 a minute, on every route. Get a key
- 02 Your first call Run the cURL in step 2 of the example with your key. Or see the response shape first in the playground below, in your browser. Open the playground
- 03 Keep it Sign in with this browser and the same key gets the limits of your plan (free: 300 minutes of audio a month, no card). Sign in
- 04 Into your AI The same tools over MCP: the npm package in Claude, Cursor or VS Code, the hosted /mcp for ChatGPT and n8n. Set it up
# 1. a key, no account (or the button above)
curl -X POST https://audiolab.tools/v1/keys
# 2. your first call
export AUDIOLAB_KEY=al_live_...
curl https://audiolab.tools/v1/mixlab/analyze \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-F file=@track.wav Your key starts as a trial of 20 calls a month, 3 a minute, on every route. Sign in with this browser and the same key gets the minutes of your plan (free: 300 minutes of audio a month, no card). Reading the answer: what each field means and how far to trust it. Every option, what it does and what it is not: options.
Endpoints
Each takes a multipart audio file, or a JSON body with a public url, and returns structured JSON. Full schemas live in the
OpenAPI spec.
- POST
/v1/mixlab/analyzeMixLab · loudness + dynamics
Loudness (BS.1770-4), true-peak, loudness range, crest factor, stereo image, and a tonal-balance spectrum.
Know if a track hits −14 LUFS, clips, or has a boomy low-end, before it ships.
- POST
/v1/voicelab/qaVoiceLab · speech quality
Speech quality: speech/silence ratio, pacing, signal-to-noise, energy in the pauses, sibilance, and clipping risk.
Catch a noisy or clipped voice take automatically.
- POST
/v1/signallabSignalLab · index + tags
A metadata index: content type, tags, clipping/silence regions, brightness and dynamics buckets, file metadata.
Tag and triage a whole library: what is it, is it clean, where is the silence.
- POST
/v1/signallab/sampleOne sound from a sample library, not a recording: material and structure, plus the character vector for a single hit or tempo and loop QC for a phrase. Whatever could not be measured carries its reason.
- POST
/v1/analyze/profileMeasure against a named profile and get back only the lenses that question needs, keyed by stable lens id. Eleven profiles: basic (free), voice, master, provenance, dataset, environment, broadcast, loop, room (reverberation from a clap), chain (lost packets) and pitch (where a voice sits and how clean it is). Add series:true for the curves and per-block lanes.
- POST
/v1/mixlab/check-targetPass or fail against a delivery target (Spotify, Apple Music, YouTube, podcast, EBU and others, or your own LUFS and true peak), with the delta per measure and, on a fail, an ffmpeg loudnorm command as a starting point. It passes within ±0.5 LU of the target loudness, with true peak at or under the ceiling of the target; measure the output again, because single-pass loudnorm can land outside them.
- POST
/v1/mixlab/timeseriesShort-term loudness about ten times a second, with its time-base, plus downsampled waveform peaks: for loudness charts and level meters.
- POST
/v1/mixlab/spectrumFFT bins and seven band energies with the spectral descriptors (centroid, rolloff, flatness): for spectrum displays and tonal-balance diagnosis.
- POST
/v1/voicelab/segmentsVoiced speech regions with start and end times and the level of each: when speech happens, not who is speaking. For auto-trim and chapters.
- POST
/v1/qcOne verdict against a spec: a delivery target, the starting limits or your own limits per lens. Pass, warn or fail, rule by rule, with the status and margin of each measure. No composite score.
- POST
/v1/jobsAny analysis route as a job: an id at once (202), the analysis runs in the background after we reply. Read it with GET, or give a webhook and get the finished job as a signed POST. Costs the same as the call itself.
- GET
/v1/jobsYour last 50 jobs, newest first, with status, verdict and report link. Also on your account page, under Jobs.
- GET
/v1/jobs/{id}One job: its status, and once done the full answer of the route (with provenance and reportUrl) or the error.
- POST
/v1/batchRun one of the MixLab, VoiceLab or SignalLab routes over up to 20 items in one call: URLs and/or uploaded objectPaths (local files). Each item is metered as one call; per-item ok/error in the response.
- GET
/v1/usageWhere your key stands this month: plan, the minutes of audio used and left, and your requests per minute. The same numbers as /account. Needs a key. Reading it is free and does not count as a call.
- POST
/v1/keysA trial key without an account: 20 calls a month on every route. No key and no body needed. Add it on /account to keep it as a key of your plan.
This is the API, running client-side. Drop a file, switch endpoints, and copy a request that returns the exact JSON you see. Your file is not uploaded; it stays in the browser.
This playground runs the identical engine client-side, so the response below is exactly what the hosted API returns. Your file never leaves the browser. The hosted API is live with self-serve keys at audiolab.tools/v1/*.
# Files up to 150 MB go in one request through the upload door, see https://audiolab.tools/docs/start/jobs. A file in the body of this request itself can be up to 4 MB.
curl https://audiolab.tools/v1/mixlab/analyze \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-F file=@track.wavLoudness, dynamics, spectrum
Every endpoint, from the request to the answer field by field, with the status and the margin of each number, the errors it can give, and a box to try it with your own key. Generated from the OpenAPI contract, so it cannot drift from what the API sends. To try without uploading anything, use the playground above: it runs the engine in your browser.
POST /v1/mixlab/analyze Analyze loudness, dynamics, stereo, and spectrum 43 fields
Submit an audio file and get back the same JSON the in-browser MixLab analyzer renders. The analysis returns inline; POST /v1/jobs runs it in the background instead. Files too long to decode are refused with 413 rather than queued.
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | Public http(s) URL to the audio file (alternative to multipart upload). |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| series | boolean | Send the curves as well: shortTermLufs, waveform and spectrum. Off by default since 22 September 2026, because they are ~98% of the payload and no answer needs them. Raw or multipart callers use ?series=true. |
| round | boolean | Round the numbers to what the measurement is worth: dB and LUFS to 2 decimals, seconds to 3, shares to 3, Hz to 1. Same keys, same types, only fewer decimals. Off by default: without it you get the full precision, exactly as before. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| measureStatus | boolean | Add one extra key, measureStatus, with the status (validated, proxy, beta, withdrawn, planned), the basis, how it works (dsp, model, mixed) and, where known, the margin of every measure in the answer. Off by default: without it the answer has no extra key. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| spectrumCalc | string | Which spectrum calculation is used. v1 is the default until 15 February 2027; v2 corrects three errors found in a test against an independent calculation (MARGES-5): spectralRolloffHz no longer counts the DC bin (v1 reads it low: on 1,200 speech recordings by a median of 8 Hz and in 1 of 20 by 59 Hz or more, on 200 music files by a median of 4 Hz and in 1 of 20 by 75 Hz or more, at most about 1 kHz), and in the analysis grid of analyze/profile the flatness divides by the 1,023 bins it uses (about 0.1 percent lower, never above 1) and every level under -120 dB reads -120 (v1 could read down to -180 dB in near-silent blocks). The same keys and types in both, only these values differ (details: https://audiolab.tools/docs/start/changes-and-deprecation). From 15 February 2027 the default becomes v2 and v1 stays selectable until at least 15 May 2027. Supported on mixlab/analyze, mixlab/spectrum and analyze/profile. · v1 | v2 |
Example
curl https://audiolab.tools/v1/mixlab/analyze \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/reference/is-original.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/mixlab/analyze",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/reference/is-original.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/mixlab/analyze", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/reference/is-original.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
MixLab analysis (mirrors the engine AnalysisResult type). The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| measureStatus | MeasureStatus | ||
| durationSec* | number | Validated | |
| sampleRate* | integer | Validated | |
| channels* | integer | Validated | |
| integratedLufs* | number | Validated | Integrated loudness (LUFS), BS.1770-4. · ±0.1 LU |
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| shortTermLufsMax | number | Validated | |
| loudnessRange | number | Validated | LRA (LU). · ±1 LU |
| loudnessLayout | string | Validated | Only for more than two channels: the layout the loudness was summed over, with the BS.1770 channel weights (surrounds 1.41, LFE left out); unknown = every channel weighted 1.0. · mono | stereo | 5.0 | 5.1 | 7.1 | unknown |
| truePeakDb* | number | Validated | True peak (dBTP). · +0.2 / -0.4 dB |
| peakDb | number | Validated | |
| rmsDb | number | Validated | |
| crestFactorDb | number | Validated | |
| stereoWidth | number | Validated | |
| stereoCorrelation | number | Validated | |
| stereoBalanceDb | number | Validated | RMS left minus right, dB. Positive is left louder. 0 on mono. |
| stereoLayout | string | Validated | What kind of stereo file this is. dual-mono is two identical channels; one-sided is a dead channel. · mono | dual-mono | one-sided | stereo | silent |
| bassCorrelation | number | Validated | Correlation below 120 Hz after a 4th-order low-pass. Null on mono or without energy there. Below 0 the low end cancels in mono. |
| momentaryLufsMax | number | Validated | Loudest 400 ms window (EBU Tech 3341 M), LUFS. Ungated. |
| loudnessMeasurable | boolean | Validated | Present, and false, only when BS.1770-4 gives no integrated loudness for this file: it is shorter than one 400 ms block or no block rises above the absolute gate of -70 LUFS (silence or near-silence). Then integratedLufs sits on its floor of -70, which is not a measurement, and plrDb, psrDb and the gain per platform are null. Absent means measurable, so an ordinary answer keeps its shape. The lens loudness.measurable always says true or false. Since 0.37.0. · false |
| loudnessUnmeasurable | string | Why the loudness is not measurable. Only when loudnessMeasurable is false. Since 0.37.0. · too-short | below-gate | |
| shortFileLufs | number | Validated | Only for a file shorter than 400 ms (loudnessUnmeasurable too-short): the K-weighted loudness over the whole file, without gates, in LUFS. Not an integrated loudness, and no platform target applies to it. Left out below -70 LUFS. Since 0.38.0. · ±0.1 LU |
| plrDb | number | Validated | Peak to loudness ratio: true peak minus integrated, LU. Null when loudnessMeasurable is false (since 0.37.0). |
| psrDb | number | Validated | Peak to short-term ratio: true peak minus the loudest 3 s window, LU. Null when loudnessMeasurable is false (since 0.37.0). |
| platformNormalisation | object[] | Validated | Per platform: the gain it applies, the true peak after it, and whether that clears the ceiling. Read the peak AFTER the gain. |
| monoCompatible | boolean | Proxy | |
| spectralCentroidHz | number | Validated | |
| spectralRolloffHz | number | Validated | |
| spectralFlatness | number | Validated | |
| bandEnergy | Band | Validated | |
| harshness.score | number | ||
| harshness.label | string | Low | Medium | High | |
| harshness.band | string | ||
| muddiness.score | number | ||
| muddiness.label | string | Low | Medium | High | |
| spectrum.freqs | number[] | ||
| spectrum.mags | number[] | ||
| waveform | number[] | Validated | Downsampled waveform peaks. |
| shortTermLufs | number[] | Validated | Short-term loudness over time, at most 2000 points. Longer takes keep the PEAK per bucket, so a loud moment survives; seriesIntervalSec says how much time one point covers. Use /v1/mixlab/timeseries to choose the resolution yourself. |
| seriesIntervalSec | number | Seconds covered by one point of shortTermLufs. | |
| fileName | string |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/voicelab/qa Analyze speech quality 58 fields
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | Public http(s) URL to the audio file (alternative to multipart upload). |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| series | boolean | Send the curves as well: rmsEnvelope, voicedMask, segments and segmentalSnrPerSegmentDb. Off by default since 22 September 2026, because they are ~98% of the payload and no answer needs them. Raw or multipart callers use ?series=true. |
| round | boolean | Round the numbers to what the measurement is worth: dB and LUFS to 2 decimals, seconds to 3, shares to 3, Hz to 1. Same keys, same types, only fewer decimals. Off by default: without it you get the full precision, exactly as before. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| measureStatus | boolean | Add one extra key, measureStatus, with the status (validated, proxy, beta, withdrawn, planned), the basis, how it works (dsp, model, mixed) and, where known, the margin of every measure in the answer. Off by default: without it the answer has no extra key. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| speechDetector | string | Which speech detector finds the speech in the recording; it decides speechRatio, speechSec, silenceSec, longSilences, segments and the measures that read the pauses. v1 is the first detector and is the default until 15 January 2027; k2 lets a phrase run on into its soft word starts and endings (by at most 100 ms per side) and was better on new speakers in the tests (frame F1 from 0.88 to 0.94 on clean audio and noise at 20 and 10 dB; see the status of voice.speechRatio at https://audiolab.tools/lenses). The same keys and types in both, only the values differ: with k2 the speech ratio reads about 5 to 14 points higher, everything that reads the speech frames or the pauses moves with it, signalToNoiseDb is corrected below 16 dB and reads about 4 to 5 dB lower at 10 dB noise and below (closer to the true ratio), and a pause measure is null when no pause frame is left; brightness, sibilanceRisk, noiseFloorDb and peakDb do not move (details: https://audiolab.tools/docs/start/changes-and-deprecation). From 15 January 2027 the default becomes k2 and v1 stays selectable until at least 15 April 2027. Supported on voicelab/qa, voicelab/segments and analyze/profile. · v1 | k2 |
Example
curl https://audiolab.tools/v1/voicelab/qa \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/voicelab/qa",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/voicelab/qa", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/samples/voice/speech-female-plain.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
VoiceLab speech-quality analysis (mirrors the engine VoiceAnalysis type). The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| measureStatus | MeasureStatus | ||
| durationSec* | number | Validated | |
| sampleRate* | integer | Validated | |
| speechSec | number | Proxy | |
| silenceSec | number | Proxy | |
| speechRatio* | number | Proxy | |
| segments | VoiceSegment[] | Proxy | |
| estimatedSyllableRate | number | Proxy | Speech bursts per second, counted from deep dips in the envelope. Not a syllable count. |
| speakingRateLabel | string | Proxy | Slow | Normal | Fast | Variable |
| longSilences | number | Proxy | |
| peakDb | number | Validated | |
| averageSpeechRms | number | ||
| averageSpeechRmsDb | number | Validated | |
| noiseFloorDb | number | Validated | |
| signalToNoiseDb | number | Validated | ±6 dB |
| clipping.count | integer | ||
| clipping.severity | string | None | Low | Medium | High | |
| brightness | number | Proxy | Mean spectral centre of every non-silent frame (pauses with noise included) over 2500 Hz, capped at 1. |
| activeKind | string | Proxy | What the active material looks like, from the frame labels shared with the SignalLab timeline: voice, music or noise. Voice QA assumes speech input, so read every voice figure as a figure about the material rather than about a voice as soon as this is not "voice". Null when nothing rises above the silence gate. · voice | music | noise | mixed |
| activeVoiceShare | number | Proxy | Share of active frames labelled voice, 0 to 1. Music with vocals genuinely sits in the middle. Null when nothing is active. |
| roomEchoScore | number | Withdrawn | Energy left in the pauses after speech: the 60 to 420 ms tail after each phrase against the phrase itself. Noise OR reverb, and this number does not separate the two, so do not read it as a room verdict. Tested on 27 Sep 2026 against 24 measured room responses: it tracked the measured RT60 at Spearman 0.06 and a 1.71 s room scored below a 0.18 s booth, while it does rise with background noise. The field name is kept for compatibility with saved history and existing integrations. Null when no speech was found to read it from. |
| sibilanceRisk | string | Proxy | Low | Medium | High |
| segmentalSnrDb | number | Validated | SNR measured per phrase and averaged, dB. |
| segmentalSnrSpreadDb | number | Validated | Spread of the per-phrase SNR, dB. |
| segmentalSnrPerSegmentDb | number[] | Validated | |
| gapModulationRatio | number | Proxy | 2 to 8 Hz share of the gap-envelope energy: speech rhythm where the target is silent. |
| gapModulationHighRatio | number | Proxy | Share of the movement in the pauses between 8 and 16 Hz, from pauses of at least 1.4 s. Flat noise already reads about 0.5. |
| gapPeriodicity | number | Proxy | Autocorrelation peak of the gap envelope at syllable lags. |
| gapLevelDb | number | Proxy | Mean level of the gaps, dBFS. |
| humLevelDb | number | Validated | Mains hum in the pauses, dB above the 30 to 600 Hz floor. Null when no 0.34 s window fits inside a pause. |
| humMainsHz | integer | Validated | 50, 60, or null when the hum stays under 6 dB or was not measured. · 50 | 60 |
| startsInSpeech | boolean | Validated | The take opens mid-sound. |
| endsInSpeech | boolean | Validated | The take is cut off at the end. |
| edgeStartDb | number | Validated | Envelope level at the first frame, dBFS. |
| edgeEndDb | number | Validated | Envelope level at the last frame, dBFS. |
| sceneBackground | string | Proxy | What fills the speech pauses, read after the first 0.4 s of each: quiet, stationary (a machine), program (a second voice or music), unsteady (moves without cadence or pitch). Null under one second of pause. · quiet | stationary | program | unsteady |
| sceneProgramScore | number | Proxy | 0 to 1: how strongly the pauses carry a program, from level movement times speech cadence or a moving pitch. Above 0.5 the label reads program. |
| sceneStationaryScore | number | Proxy | 0 to 1: how still the pause floor stands in level and in spectral shape. Above 0.5 the label reads stationary. |
| sceneGapLowBandShare | number | Proxy | Share of the pause power below 500 Hz. |
| sceneGapSpeechBandShare | number | Proxy | Share of the pause power between 300 and 3400 Hz. |
| sceneGapStabilityDb | number | Proxy | Standard deviation, dB, of the quieter half of the pause frames (20 ms each). |
| sceneGapHarmonicShare | number | Proxy | Share of 40 ms pause frames with a clear, moving pitch between 70 and 400 Hz: a second voice or music. A fixed pitch is reported as sceneGapToneHz instead. |
| sceneGapToneHz | number | Proxy | One steady tone filling the pauses (a fan, a transformer), Hz, or null. |
| sceneGapSpectralFlux | number | Proxy | 0 to 1: how much the spectral shape of the pause floor changes between 0.4 s windows. Under 0.06 a machine, above 0.2 music or speech. |
| speechToBackgroundDb | number | Proxy | Mean speech level minus the mean pause floor level, dB. |
| sceneIntelligibility | string | Proxy | A proxy, not an STI: the weaker of the worst-tenth per-phrase SNR and speech over background (3 dB reads 0, 18 dB reads 1), reduced for clipping. Null under two measurable phrases. · clear | borderline | buried |
| sceneIntelligibilityScore | number | Proxy | The intelligibility proxy as a number, 0 to 1. |
| worstPhraseSnrDb | number | Validated | Tenth percentile of the per-phrase SNR, dB: what the weakest phrases measure against the noise beside them. |
| rmsEnvelope | number[] | Validated | Level envelope, at most 2000 points. Longer takes are reduced by keeping the PEAK per bucket, so a short clip or a hot moment survives; seriesIntervalSec says how much time one point covers. |
| voicedMask | boolean[] | Proxy | Speech present per envelope point, same length and interval as rmsEnvelope. A bucket reads true when any of its points did. |
| seriesIntervalSec | number | Seconds covered by one point of rmsEnvelope and voicedMask, so the series still maps onto the timeline after reduction. | |
| totalSegments | integer | Speech segments the engine found, before any cap. | |
| returnedSegments | integer | Segments in this response. Lower than totalSegments when truncated. | |
| truncated | boolean | True when more than 500 segments were found and only the longest 500 are returned, with segmentalSnrPerSegmentDb kept in step. | |
| fileName | string |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/analyze/profile Measure against a named profile and get back only the lenses that question needs
One preset answers one question, keyed by stable lens id. Profiles: basic, voice, master, provenance, dataset, environment, broadcast, loop, room, chain, pitch. Only basic is free, the rest return 402. series:true adds curves and can reach ~2 MB: for your own code, not for a chat client.
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | Public http(s) URL to the audio file. |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| profile* | string | The preset. room: the reverberation time per octave band from one clap, balloon pop, impulse response or sweep (see roomSource); a recording that holds none of them is a 422 with the code room_not_measurable. chain: the gaps of digital silence inside the sound (lost packets). pitch: the pitch of a voice, how voiced the recording is and the harmonics-to-noise ratio. A measure that has not met its test yet (a beta that is not offered) is left out of the answer; the status of every measure is at https://audiolab.tools/lenses. · basic | voice | master | provenance | dataset | environment | broadcast | loop | room | chain | pitch |
| series | boolean | Include per-block lanes and curves alongside the single values. |
| round | boolean | Round the numbers to what the measurement is worth: dB and LUFS to 2 decimals, seconds to 3, shares to 3, Hz to 1. Same keys, same types, only fewer decimals. Off by default: without it you get the full precision, exactly as before. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| measureStatus | boolean | Add one extra key, measureStatus, with the status (validated, proxy, beta, withdrawn, planned), the basis, how it works (dsp, model, mixed) and, where known, the margin of every measure in the answer. Off by default: without it the answer has no extra key. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| contentModel | string | Which model gives the content type (voice, music, mixed, noise, unknown) and its confidence. v1 is the first model and is the default until 15 January 2027; v2 is the new one, much better on speech and music in the tests (see the status of signal.contentType at https://audiolab.tools/lenses). The same keys and types in both, only the values differ, and with v2 the evidence list contains model:v2. From 15 January 2027 the default becomes v2 and v1 stays selectable until at least 15 April 2027. Supported on signallab and analyze/profile. · v1 | v2 |
| roomSource | string | For the room profile: how the recording was made. clap: one clap (the default; the bands from 500 Hz up); balloon: one balloon pop (the same bands); impulse: the file already is an impulse response (every octave band from 125 Hz); sweep: the file holds the exponential sweep of the engine as the room returned it (every octave band from 125 Hz). Supported on analyze/profile with the room profile. · clap | balloon | impulse | sweep |
| speechDetector | string | Which speech detector finds the speech in the recording; it decides speechRatio, speechSec, silenceSec, longSilences, segments and the measures that read the pauses. v1 is the first detector and is the default until 15 January 2027; k2 lets a phrase run on into its soft word starts and endings (by at most 100 ms per side) and was better on new speakers in the tests (frame F1 from 0.88 to 0.94 on clean audio and noise at 20 and 10 dB; see the status of voice.speechRatio at https://audiolab.tools/lenses). The same keys and types in both, only the values differ: with k2 the speech ratio reads about 5 to 14 points higher, everything that reads the speech frames or the pauses moves with it, signalToNoiseDb is corrected below 16 dB and reads about 4 to 5 dB lower at 10 dB noise and below (closer to the true ratio), and a pause measure is null when no pause frame is left; brightness, sibilanceRisk, noiseFloorDb and peakDb do not move (details: https://audiolab.tools/docs/start/changes-and-deprecation). From 15 January 2027 the default becomes k2 and v1 stays selectable until at least 15 April 2027. Supported on voicelab/qa, voicelab/segments and analyze/profile. · v1 | k2 |
| spectrumCalc | string | Which spectrum calculation is used. v1 is the default until 15 February 2027; v2 corrects three errors found in a test against an independent calculation (MARGES-5): spectralRolloffHz no longer counts the DC bin (v1 reads it low: on 1,200 speech recordings by a median of 8 Hz and in 1 of 20 by 59 Hz or more, on 200 music files by a median of 4 Hz and in 1 of 20 by 75 Hz or more, at most about 1 kHz), and in the analysis grid of analyze/profile the flatness divides by the 1,023 bins it uses (about 0.1 percent lower, never above 1) and every level under -120 dB reads -120 (v1 could read down to -180 dB in near-silent blocks). The same keys and types in both, only these values differ (details: https://audiolab.tools/docs/start/changes-and-deprecation). From 15 February 2027 the default becomes v2 and v1 stays selectable until at least 15 May 2027. Supported on mixlab/analyze, mixlab/spectrum and analyze/profile. · v1 | v2 |
| liveEvents | boolean | Add one key, liveEvents: the file read as a stream by the live monitor of /live and @audiolabtools/live, and every event it raised (dropout, clipping, level_drop, dead_air, hum) with its start, end, the moment the monitor knew, the reason in plain words and the numbers behind it. Status signals for every event: none of these detectors has been validated on live streams yet. A dropout or clipping event names the file measure with a rule of its own (chain.dropoutCount, signal.clipping), its status and why the two can differ. Off by default: without it the answer has no extra key. Any profile. |
Example
curl https://audiolab.tools/v1/analyze/profile \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/reference/is-original.mp3", "profile": "basic"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/analyze/profile",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/reference/is-original.mp3", "profile": "basic"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/analyze/profile", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/reference/is-original.mp3", profile: "basic" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
The answer is keyed by lens id and holds only the lenses the profile needs, each with its value, so there is no fixed field list. Every lens, its status and, where we measured one, its margin is in the catalogue; the profile basic is free.
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/signallab Index an audio file (tags, content type, clipping/silence, metadata) 60 fields
Note: use /v1/signallab, not /v1/signallab/index. The hosting layer strips a trailing /index from any path, so the older form redirects and then 404s for clients that do not follow redirects.
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | Public http(s) URL to the audio file (alternative to multipart upload). |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| series | boolean | Send the curves as well: regions, energyEnvelope and centroidEnvelope. Off by default since 22 September 2026, because they are ~98% of the payload and no answer needs them. Raw or multipart callers use ?series=true. |
| round | boolean | Round the numbers to what the measurement is worth: dB and LUFS to 2 decimals, seconds to 3, shares to 3, Hz to 1. Same keys, same types, only fewer decimals. Off by default: without it you get the full precision, exactly as before. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| measureStatus | boolean | Add one extra key, measureStatus, with the status (validated, proxy, beta, withdrawn, planned), the basis, how it works (dsp, model, mixed) and, where known, the margin of every measure in the answer. Off by default: without it the answer has no extra key. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile. |
| contentModel | string | Which model gives the content type (voice, music, mixed, noise, unknown) and its confidence. v1 is the first model and is the default until 15 January 2027; v2 is the new one, much better on speech and music in the tests (see the status of signal.contentType at https://audiolab.tools/lenses). The same keys and types in both, only the values differ, and with v2 the evidence list contains model:v2. From 15 January 2027 the default becomes v2 and v1 stays selectable until at least 15 April 2027. Supported on signallab and analyze/profile. · v1 | v2 |
| bandLimit | boolean | Add one key, bandLimit, that answers: is this file upsampled? upsampled is yes, no or cannot-say, with its status, its reason in plain words and the conditions it rests on, and the band measurement under it (bandwidth, sample rate, ratio, verdict). yes rests on the telephone origin rule (study UP-1, validated); no and cannot-say on the band measurement (study UP-2, proxy). Off by default: without it the answer has no extra key. Guide: https://audiolab.tools/docs/start/is-my-audio-upsampled |
Example
curl https://audiolab.tools/v1/signallab \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/reference/is-original.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/signallab",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/reference/is-original.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/signallab", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/reference/is-original.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
SignalLab indexer output (mirrors the engine SignalIndex type). The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| measureStatus | MeasureStatus | ||
| fileName* | string | ||
| fileSizeKb | number | Validated | |
| format | string | Validated | |
| durationSec* | number | Validated | |
| sampleRate* | integer | Validated | |
| channels* | integer | Validated | |
| bitDepthGuess | string | Proxy | A guess from the file type: 16/24-bit guess for WAV and AIFF, lossless, depth not read for FLAC, lossy for MP3, AAC, Ogg and Opus, unknown (AAC or ALAC) for m4a. Not read from the samples. |
| peakDb | number | ||
| rmsDb | number | ||
| noiseFloorDb | number | ||
| dcOffset | number | Validated | |
| hasClipping | boolean | Validated | |
| clippingRegions | integer | Validated | |
| silenceRegions | integer | Validated | |
| silenceTotalSec | number | Validated | |
| contentTypeGuess* | string | Proxy | voice | music | mixed | noise | silence | unknown |
| contentConfidence | number | Proxy | |
| contentEvidence | string[] | Proxy | The measurements that back the content type, as tags. |
| beatStability | number | Proxy | Deprecated alias of tempo confidence; one release, then gone. |
| spectralFlatness | number | Validated | Flatness of the opening 10 s, 0 tonal to 1 noise-like. |
| loopSeamRatio | number | Validated | Wrap-around jump divided by the mean sample-to-sample step. Under 3 inaudible, above 10 a click. Null on files too short to judge. |
| edgeSilenceStartMs | number | Validated | Milliseconds under -60 dBFS at the start. |
| edgeSilenceEndMs | number | Validated | Milliseconds under -60 dBFS at the end. |
| inputSha256 | string | Validated | SHA-256 of the submitted bytes, when supplied. |
| bandwidthHz | number | Validated | Median per-block bandwidth over the non-silent blocks, Hz. Read it against half the sampleRate: far below means the audio came from a lower rate or through a narrowband codec, whatever the container says. Under 5,000 Hz in a file of 16 kHz or more found speech that went through an 8 kHz telephone codec in 97.3 to 100 percent of 782 FLEURS recordings, with 0.1 to 1.8 percent false (UP-1, 21 October 2026); other resamplers and codecs were not part of that test. |
| lossySource | string | Validated | The wall a lossy encoder leaves, or unknown where two explanations collide (a 64 kbps wall and a sharp resample read the same). lossless means no codec wall was found between 10 kHz and 0.9 of Nyquist, not that no codec or resampler was used: telephone codecs and audio upsampled from 8 or 4 kHz read lossless. For those, read bandwidthHz against half the sampleRate. · lossless | lossy ~64k | lossy ~128k | lossy ~256k | unknown |
| effectiveBitDepth | integer | Validated | Bits actually in use: 16 in a 24-bit container reads 16. Null under a thousand non-silent samples. |
| upsampledFromHz | number | Proxy | Likely original sample rate behind a resampler-shaped roll-off, or null. On real speech it rarely gives a rate: 17 of 1,650 upsampled files in study UP-2 (5 November 2026). Null does not rule out upsampling: read bandLimit (with bandLimit: true in the request) for the band, and telephonyOrigin for an 8 kHz telephone origin. |
| telephonyOrigin | boolean | Validated | True when a file of 16 kHz or more has a bandwidth under 5 kHz: it probably passed through an 8 kHz telephone channel. A probability, not proof: study UP-1 found it in 97.3 to 100 percent of 782 recordings put through an 8 kHz telephone codec, and read true for 0.1 to 1.8 percent of the untouched originals. Null under 16 kHz, without a measurable bandwidth, or on a tone. |
| g711Law | string | Validated | Whether a mono 8 kHz file was stored by a G.711 decoder and left untouched: mu-law or A-law when every non-zero sample lies on that table, with at least 20 values the other table does not have. Study CD-1 read the right law for 200 of 200 (mu-law) and 199 of 200 (A-law) recordings and a law for 0 of 600 files without G.711 (8 kHz PCM, AMR narrowband, GSM, Opus). undetermined under 1,000 non-zero samples or with too few values to tell the laws apart; no-grid on anything else. A volume change or a resample after the decoder removes the trace, so no-grid is not proof that no G.711 was used. · mu-law | A-law | undetermined | no-grid |
| bandLimit.upsampled* | string | Proxy | The one answer to read. yes only when the telephone origin rule fires (study UP-1, validated): the band stops under 5 kHz in a file of 16 kHz or more, for at least 2 s. no when the band reaches half the sample rate (ratio 0.90 or more) and that rule does not fire (study UP-2, proxy). cannot-say for everything else: a band that only stops early also matches a narrow source, and grey-zone, short, toneful or silent files. · yes | no | cannot-say |
| bandLimit.status* | string | Proxy | validated for yes (UP-1), proxy for no and cannot-say (UP-2). · validated | proxy |
| bandLimit.reason* | string | Proxy | The answer in plain words, with the bandwidth and the sample rate, ready to copy into a report. |
| bandLimit.basis* | object[] | Proxy | Each condition the answer rests on, with its own status and result. A proxy condition never carries a yes on its own. |
| bandLimit.bandwidthHz* | number | Proxy | |
| bandLimit.sampleRate* | number | Proxy | |
| bandLimit.ratio* | number | Proxy | bandwidthHz / (sampleRate / 2), three decimals. Filter on this if you need a number. |
| bandLimit.verdict* | string | Proxy | The band measurement of study UP-2: full-band at a ratio of 0.90 or more, band-limited under 0.80, undetermined in between, under 2 s or without a bandwidth. Not a statement that a file was upsampled. · full-band | band-limited | undetermined |
| bandLimit.reasonCode* | string | Proxy | ratio-at-or-above-H | grey-zone | ratio-below-L | too-short | no-bandwidth |
| bandwidthSplices | integer | Validated | Bandwidth jumps of more than 3 kHz that hold for at least two seconds. |
| toneProminenceDb | number | Validated | Most prominent tone against the masking noise in its critical band, dB (ISO 1996-2 annex C). Null on speech and under 0.17 s. |
| toneFrequencyHz | number | Validated | |
| toneLabel | string | Validated | Null where no tone was measured; see toneProminenceDb. · none | audible | prominent |
| thirdOctaveDb.centres | number[] | ||
| thirdOctaveDb.db | number[] | ||
| brightnessBucket | string | Proxy | Dark | Balanced | Bright | Very bright |
| dynamicsBucket | string | Proxy | Flat | Compressed | Modern | Dynamic |
| dominantBand | string | Proxy | A rough band label from the zero-crossing rate. Not the band with the most energy. |
| monophonicProbability | number | Validated | Left-right correlation, never below 0. Near 1 means mono in disguise. Not a probability. |
| regions | TimelineRegion[] | Proxy | |
| totalRegions | integer | Regions the engine found, before any cap. | |
| returnedRegions | integer | Regions in this response. Lower than totalRegions when truncated. | |
| truncated | boolean | True when more than 500 regions were found and only the longest 500 are returned. | |
| energyEnvelope | number[] | Validated | |
| centroidEnvelope | number[] | Validated | Zero-crossing rate per frame, a rough brightness trace. Not a spectral centre in Hz. |
| tags | string[] | Proxy |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/signallab/sample Describe a single sound from a sample library (material, character, loop) 44 fields
One SOUND, not a recording: a single one-shot from a sample library, for sorting and searching a pack. Use /v1/signallab for a take or an episode. A single hit returns the character vector with loop null; material with several onsets returns tempo and loop QC with character null.
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | Public http(s) URL to the audio file (alternative to multipart upload). |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
Example
curl https://audiolab.tools/v1/signallab/sample \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/reference/cal-1k-sine.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/signallab/sample",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/reference/cal-1k-sine.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/signallab/sample", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/reference/cal-1k-sine.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
One sound from a sample library. character and loop are mutually exclusive: a single hit fills character, material with several onsets fills loop, and the other is null. Next to the English names the answer still carries their deprecated Dutch aliases, removed after 2027-01-31 (the Sunset header): aanvalSterkte, maten, tempoSterkte, keuzeMarge, bpmRuw, octaven, naadVerhouding, randStilte (with voorMs and naMs) and alles. A response that carries them has Deprecation and Sunset headers. Read the English names. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| material.structure | string | silence = no energy; continuous = one sustained event; single-event = one hit; phrase = several onsets. · silence | continuous | single-event | phrase | |
| material.durationClass | string | sample under 5 s, clip under 30 s, track under 15 min, long-form beyond that. · sample | clip | track | long-form | |
| material.evidence | string[] | Plain sentences behind the call, such as "4 onsets" or "96% of windows above -40 dB". | |
| material.onsetCount | integer | ||
| material.attackStrength | number | Peak-to-surroundings ratio of the strongest onset, 0 to 1. | |
| character.durationMs | number | ||
| character.attackMs | number | Time from onset to peak. | |
| character.decayT20Ms | number | Decay from a Schroeder curve, not from a short envelope: at low frequencies an envelope swings more within one period than the decay it is meant to measure. | |
| character.decayFitR2 | number | Fit quality of that decay line, 0 to 1. Low means the number is not worth much. | |
| character.decayRangeDb | number | ||
| character.decayTruncated | boolean | True when the file ends before the sound does. | |
| character.band.sub | number | ||
| character.band.bass | number | ||
| character.band.lowMid | number | ||
| character.band.mid | number | ||
| character.band.highMid | number | ||
| character.band.presence | number | ||
| character.band.air | number | ||
| character.bodyTilt | number | Spectral tilt of the body, dB per octave. | |
| character.bodyResonance | number | How peaked the body is: high means one resonance dominates. | |
| character.clickRatio | number | Share of the energy in the first few milliseconds. | |
| character.f0Hz | number | ||
| character.note | string | Nearest note name for f0Hz, such as F1. | |
| character.cents | integer | Deviation from that note, -50 to +50. | |
| character.pitchDefiniteness | number | MPM clarity: 1.00 on a pure tone, 0.07 on white noise. Below the gate the pitch fields are omitted with a reason. | |
| character.glideSt | number | Pitch change in semitones between two windows whose centres sit exactly 180 ms apart, so this is NOT the glide over the whole sound. A glide of 12 semitones spread over 1.5 s reads about 1.4 here. Sign follows direction: negative falls. | |
| character.crestDb | number | ||
| character.channelCorrelation | number | Null for mono input. | |
| character.omitted | object | Per field that could not be measured, the reason why. | |
| loop.durationSec | number | ||
| loop.bpm | number | ||
| loop.bars | integer | How many bars that tempo makes the file, at 4/4. | |
| loop.tempoStrength | number | Strength of the winning tempo peak. | |
| loop.candidateMargin | number | How far the winner sits above the runner-up. Near 0 means the tempo is a coin flip. | |
| loop.bpmRaw | number | Before snapping to the octave and the grid. | |
| loop.octaveCandidates | object[] | The same tempo at half and double time, since 120 and 60 fit the same file. | |
| loop.seamRatio | number | Level jump at the loop seam relative to the material. 0 is seamless; high means it clicks when it wraps. | |
| loop.edgeSilence.startMs | number | ||
| loop.edgeSilence.endMs | number | ||
| loop.omitted | object | ||
| omitted | object | Top-level reasons, for whole blocks that could not be measured. |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/mixlab/check-target Check audio against a loudness target (Spotify, EBU, podcast, etc.) 21 fields
Pass/fail against a loudness target: within ±0.5 LU, true peak at or under its ceiling. A fail returns a single-pass ffmpeg loudnorm starting point; measure its output again. Presets: spotify, apple-music, youtube, tidal, amazon-music, podcast, ebu-broadcast, atsc-broadcast, custom (lufs+tp).
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | Public http(s) URL to the audio file. |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| target* | string | Preset name or "custom". |
| lufs | number | Custom target LUFS (when target="custom"). |
| tp | number | Custom target dBTP (when target="custom"). |
Example
curl https://audiolab.tools/v1/mixlab/check-target \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/reference/is-original.mp3", "target": "spotify"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/mixlab/check-target",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/reference/is-original.mp3", "target": "spotify"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/mixlab/check-target", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/reference/is-original.mp3", target: "spotify" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
Pass/fail verdict for a loudness target check, with concrete deltas and, on a fail, a single-pass ffmpeg loudnorm command as a starting point. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| pass* | boolean | True only if integrated loudness is within ±0.5 LU of the target and true peak is at or under its ceiling (tp). | |
| target.lufs | number | Target integrated loudness (LUFS). | |
| target.tp | number | Target maximum true-peak (dBTP). | |
| target.label | string | Human-readable target name (e.g. "Spotify"). | |
| target.source | string | published: the platform documents the figure. measured: taken from outside measurements, so it can shift. · published | measured | |
| target.sourceUrl | string | Where the platform publishes the figure. Present on published targets. | |
| target.verifiedOn | string | Date the published figure was last checked at sourceUrl. | |
| target.measurementCaveat | string | How the platform's own measurement differs from integrated loudness. Present only where it does (atsc-broadcast). | |
| target.bron | string | Deprecated Dutch alias of source; removed after 2027-01-31 (the Sunset header). · published | measured | |
| target.bewijs | string | Deprecated Dutch alias of sourceUrl; removed after 2027-01-31 (the Sunset header). | |
| target.gecontroleerd | string | Deprecated Dutch alias of verifiedOn; removed after 2027-01-31 (the Sunset header). | |
| target.meetVerschil | string | Deprecated Dutch alias of measurementCaveat; removed after 2027-01-31 (the Sunset header). | |
| measurements.integratedLufs | number | ||
| measurements.truePeakDb | number | ||
| measurements.lufsDelta | number | measured - target. | |
| measurements.tpDelta | number | measured - target. | |
| issues* | object[] | ||
| ffmpegFix | string | A single-pass ffmpeg loudnorm command as a starting point when failing; null when passing. It is not a guaranteed fix: single-pass loudnorm can land outside the ±0.5 LU margin (one test file went from -24.3 to -14.97 LUFS against -14), so check the output again. For an exact hit, run loudnorm twice: a first pass with print_format=json, then a second with its measured_* values and linear=true. |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/mixlab/timeseries Loudness and waveform over time (for graphing) 11 fields
Returns short-term LUFS samples (~10 Hz, EBU R128 3s window) with their time-base, plus downsampled waveform peaks. For loudness charts, level meters, waveform displays.
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| waveformPoints | integer | Number of waveform peaks to return (downsampled). Default 200. |
Example
curl https://audiolab.tools/v1/mixlab/timeseries \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/reference/is-original.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/mixlab/timeseries",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/reference/is-original.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/mixlab/timeseries", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/reference/is-original.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
Loudness and waveform data over time, for graphing or visualization. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| durationSec* | number | Validated | |
| sampleRate | integer | Validated | |
| loudnessOverTime* | SeriesArray | ||
| waveformOverTime* | SeriesArray | ||
| summary.integratedLufs | number | ||
| summary.shortTermLufsMax | number | ||
| summary.loudnessRange | number | ||
| summary.truePeakDb | number |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/mixlab/spectrum FFT spectrum bins + band energies 11 fields
Returns paired frequency/magnitude arrays plus 7-band energies and spectral descriptors (centroid, rolloff, flatness). For spectrum-analyzer UIs and tonal-balance diagnosis beyond the harshness/muddiness labels.
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| spectrumCalc | string | Which spectrum calculation is used. v1 is the default until 15 February 2027; v2 corrects three errors found in a test against an independent calculation (MARGES-5): spectralRolloffHz no longer counts the DC bin (v1 reads it low: on 1,200 speech recordings by a median of 8 Hz and in 1 of 20 by 59 Hz or more, on 200 music files by a median of 4 Hz and in 1 of 20 by 75 Hz or more, at most about 1 kHz), and in the analysis grid of analyze/profile the flatness divides by the 1,023 bins it uses (about 0.1 percent lower, never above 1) and every level under -120 dB reads -120 (v1 could read down to -180 dB in near-silent blocks). The same keys and types in both, only these values differ (details: https://audiolab.tools/docs/start/changes-and-deprecation). From 15 February 2027 the default becomes v2 and v1 stays selectable until at least 15 May 2027. Supported on mixlab/analyze, mixlab/spectrum and analyze/profile. · v1 | v2 |
Example
curl https://audiolab.tools/v1/mixlab/spectrum \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/reference/is-original.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/mixlab/spectrum",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/reference/is-original.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/mixlab/spectrum", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/reference/is-original.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
FFT spectrum bins plus band energies and spectral descriptors. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| sampleRate* | integer | Validated | |
| spectralCentroidHz | number | Validated | |
| spectralRolloffHz | number | Validated | |
| spectralFlatness | number | Validated | |
| bandEnergy* | Band | Validated | |
| spectrum.freqs | number[] | ||
| spectrum.mags | number[] | ||
| spectrum.count | integer |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/voicelab/segments Voiced speech segments with timestamps 9 fields
List voiced speech regions with start/end timestamps and per-segment RMS level. For auto-trim and chapter generation. RMS-based voice-activity detection: when speech happens, not who is speaking, and not where the speaker changes.
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload. |
| speechDetector | string | Which speech detector finds the segments. v1 is the first detector and is the default until 15 January 2027; k2 lets a phrase run on into its soft word starts and endings (by at most 100 ms per side), so neighbouring segments sometimes merge into fewer, longer ones. The same keys and types in both, only the values differ. From 15 January 2027 the default becomes k2 and v1 stays selectable until at least 15 April 2027. Supported on voicelab/qa, voicelab/segments and analyze/profile. · v1 | k2 |
Example
curl https://audiolab.tools/v1/voicelab/segments \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/voicelab/segments",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/voicelab/segments", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/samples/voice/speech-female-plain.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
Voiced regions with timestamps. For auto-trim and chapter generation. It finds where speech is, not who is speaking or where the speaker changes. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. | |
| durationSec* | number | Validated | |
| speechSec | number | Proxy | |
| silenceSec | number | Proxy | |
| speechRatio* | number | Proxy | 0..1 fraction of audio that is voiced. |
| longSilences | number | Proxy | Count of unusually long silences (e.g. potential dead air). |
| segments* | SpeechSegment[] | Proxy |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/qc One verdict against a spec 21 fields
One verdict against a spec (a delivery target, starting-point) or your own limits per lens: pass, warn or fail, rule by rule, with each value, its status and margin. A proxy is information only; there is no composite score. Guide and every spec: https://audiolab.tools/docs/start/qc-in-one-call
Request
Send a public url (up to 150 MB), a small file as the multipart field file or as the raw body with an audio content type
(about 4.5 MB), or an objectPath after a signed upload. A file you send is uploaded to the API: see /privacy for what is kept.
| JSON field | Type | Notes |
|---|---|---|
| url | string | Public http(s) URL to the audio file. |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it. |
| spec | string | A named set of limits: a delivery target (target-...) or starting-point. Send spec or limits, not both. With a raw upload (multipart or an audio body) the spec goes in the query: /v1/qc?spec=target-podcast. Every spec and who chose it: https://audiolab.tools/docs/start/qc-in-one-call#specs · starting-point | target-spotify | target-youtube | target-tidal | target-amazon-music | target-apple-music | target-podcast | target-tiktok | target-instagram | target-soundcloud | target-deezer | target-ebu-broadcast | target-atsc-broadcast |
| limits | object | Your own limits, per lens id (https://audiolab.tools/lenses): {"loudness.integrated": {"min": -17, "max": -15}}. Up to 30 lenses, each with min, max or both. Send spec or limits, not both. |
| critical | string[] | Which critical faults fail the file on their own. All three by default; [] switches them off. |
| fileName | string | A name for the file in the answer and the report. |
Example
curl https://audiolab.tools/v1/qc \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3", "spec": "target-podcast"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/qc",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3", "spec": "target-podcast"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/qc", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://audiolab.tools/samples/voice/speech-female-plain.mp3", spec: "target-podcast" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
One verdict against a spec, from the same decision engine as https://audiolab.tools/voice-ai-check/qc. No composite score: the verdict follows from the rules. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| rulesVersion* | string | The version of the rules that decided. | |
| engineVersion* | string | The engine version the starting limits were measured with. The engine that answered is in provenance. | |
| generatedAt* | string | ||
| file.name* | string | ||
| file.durationSec* | number | ||
| thresholdSet.id* | string | The spec, or custom for your own limits. | |
| thresholdSet.name* | string | For a target-... spec, the target itself (for example -16 LUFS, -1 dBTP); the limits in rules are its pass band, see note. | |
| thresholdSet.chosenBy* | string | Who chose these limits: a platform that publishes its target, community measurements of a platform that publishes none, AudioLab for the measured starting range, or you. | |
| thresholdSet.note* | string | How the limits relate to the spec. For a target-... spec: half an LU either side of the target loudness, and the true-peak ceiling of the target itself. | |
| thresholdSet.hash* | string | A hash of the limits and the critical faults that were on: the same file and the same hash give the same verdict. | |
| criticalOn* | string[] | The critical faults that were on. | |
| values* | object | The measured value per lens id that a rule used. | |
| rules* | QcRule[] | ||
| verdict* | string | fail: at least one rule broken by more than the margin of its measure. warn: nothing broken, but a value past its limit by less than the margin of its measure, a proxy outside the range, or a measure missing. pass: every rule passes, every value inside its limit. · pass | warn | fail | |
| verdictWord* | string | Pass | Check | Fail | |
| verdictMeaning* | string | ||
| summary* | string | ||
| specs* | string | Where every spec and how it was chosen is listed. | |
| provenance | Provenance | ||
| voiceMinutes | VoiceMinutes | ||
| reportUrl | string | Shareable numbers-only report page for this analysis (https://audiolab.tools/r/<id>). Present on a metered analysis response once the call is logged; absent only when the event log is down. |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 413 File too large for the route, or a recording too long to decode. file_too_large, track_too_long
- 422 File could not be decoded as audio. unsupported_format, room_not_measurable, invalid_samples, incomplete_file
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
POST /v1/jobs Run an analysis as a job 19 fields
Any analysis route as a job: send its request plus endpoint and get an id at once (202); the analysis runs in the background. Read it with GET /v1/jobs/{id}, or give a webhook. Same cost and checks as the call; kept 30 days. Guide: https://audiolab.tools/docs/start/jobs
Request
| JSON field | Type | Notes |
|---|---|---|
| endpoint* | string | The analysis route to run. Every other field is what you would send to that route (spec, profile, target, options). · mixlab/analyze | mixlab/check-target | mixlab/timeseries | mixlab/spectrum | voicelab/qa | voicelab/segments | signallab | signallab/sample | analyze/profile | qc |
| reference | string | Optional reference of your own, for example your call id: up to 200 characters, no control characters. It comes back in the job, in the list and in the webhook, so you can match the result to your call. |
| url | string | Public http(s) URL to the audio file, at most 4096 characters. The options (every other field except objectPath, webhook, fileName and reference) may be at most 4096 bytes together written as JSON; more is a 400 invalid_parameter before anything is counted. |
| objectPath | string | Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it. |
| webhook | string | Optional public https address that receives the finished job (failed ones too) as one POST, with the header X-AudioLab-Signature: sha256=<hex HMAC-SHA256 of the raw body, with your API key as the HMAC key> and X-AudioLab-Job: <id>. Up to three attempts (now, after 2 seconds, after 8 seconds), each with a 10-second timeout, again after a network error, 408, 429 or a 5xx, not after another 4xx. The result is always on statusUrl, also when every attempt fails. |
| fileName | string | A name for the file in the answer, the report and your account page. Without it, the name comes from the url or the upload. |
Example
curl https://audiolab.tools/v1/jobs \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint": "qc", "spec": "target-podcast", "url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/jobs",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={"endpoint": "qc", "spec": "target-podcast", "url": "https://audiolab.tools/samples/voice/speech-female-plain.mp3"},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/jobs", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ endpoint: "qc", spec: "target-podcast", url: "https://audiolab.tools/samples/voice/speech-female-plain.mp3" }),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
A job: an analysis that runs in the background after we reply. result is the full answer of the route once status is done; error is the error once status is failed. A job passes the same checks as the call first: key, pause, requests a minute, monthly quota, the preset of your plan and the options of the route. An analysis not finished after 270 seconds fails with api_timeout, and the webhook hears it; a worker that dies is set to failed within 30 minutes, without a webhook, and that job still counts as a call. Jobs are kept for 30 days. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| id* | string | ||
| status* | string | queued | running | done | failed | |
| endpoint* | string | ||
| reference* | string | The reference of your own you sent with the job (for example your call id); null when you sent none. | |
| input.url | string | ||
| input.objectPath | string | ||
| input.fileName | string | The name you gave the file, if you did. | |
| options* | object | The request of the route, as sent. | |
| createdAt* | string | ||
| startedAt* | string | ||
| finishedAt* | string | ||
| webhook.url | string | ||
| webhook.status | integer | The HTTP status your webhook answered with; 0 when it could not be reached; null before it was sent. | |
| statusUrl* | string | ||
| result | object | The answer of the route (only on GET /v1/jobs/{id}, once done). | |
| error.code | string | ||
| error.message | string | ||
| verdict | string | In a list and in the 202: the verdict of a qc job once done. | |
| reportUrl | string | In a list and in the 202: the report link once done. |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 402 A limit of your plan was reached: the calls or the data of the month, or a preset that needs a paid plan. The body carries usage where it applies. quota_exceeded, data_quota_exceeded, profile_requires_paid_plan, voice_minutes_exhausted
- 409 An Idempotency-Key that was already used within the last 24 hours for a different request: nothing was started and nothing was counted. idempotency_conflict
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
GET /v1/jobs Your recent jobs 1 fields
The last 50 jobs of this key, and of the account behind it, newest first, without the full result.
Example
curl https://audiolab.tools/v1/jobs \
-H "Authorization: Bearer $AUDIOLAB_KEY"import os
import requests
r = requests.get(
"https://audiolab.tools/v1/jobs",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
timeout=30,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/jobs", {
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}` },
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
The answer of /v1/jobs. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| jobs* | Job[] |
Errors
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
A GET without a body. It is free to call and does not count against your limits.
This asks the EU-hosted API where your key stands. No audio is involved.
GET /v1/jobs/{id} One job, with its result 19 fields
The status of a job; once it is done, the full answer of the route in result (with provenance and reportUrl), or the error in error.
Example
curl https://audiolab.tools/v1/jobs/JOB_ID \
-H "Authorization: Bearer $AUDIOLAB_KEY"import os
import requests
r = requests.get(
"https://audiolab.tools/v1/jobs/JOB_ID",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
timeout=30,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/jobs/JOB_ID", {
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}` },
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
A job: an analysis that runs in the background after we reply. result is the full answer of the route once status is done; error is the error once status is failed. A job passes the same checks as the call first: key, pause, requests a minute, monthly quota, the preset of your plan and the options of the route. An analysis not finished after 270 seconds fails with api_timeout, and the webhook hears it; a worker that dies is set to failed within 30 minutes, without a webhook, and that job still counts as a call. Jobs are kept for 30 days. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| id* | string | ||
| status* | string | queued | running | done | failed | |
| endpoint* | string | ||
| reference* | string | The reference of your own you sent with the job (for example your call id); null when you sent none. | |
| input.url | string | ||
| input.objectPath | string | ||
| input.fileName | string | The name you gave the file, if you did. | |
| options* | object | The request of the route, as sent. | |
| createdAt* | string | ||
| startedAt* | string | ||
| finishedAt* | string | ||
| webhook.url | string | ||
| webhook.status | integer | The HTTP status your webhook answered with; 0 when it could not be reached; null before it was sent. | |
| statusUrl* | string | ||
| result | object | The answer of the route (only on GET /v1/jobs/{id}, once done). | |
| error.code | string | ||
| error.message | string | ||
| verdict | string | In a list and in the 202: the verdict of a qc job once done. | |
| reportUrl | string | In a list and in the 202: the report link once done. |
Errors
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 404 No job with this id for this key (code not_found). unknown_endpoint, not_found
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with the id from POST /v1/jobs, or see your jobs on your account.
POST /v1/batch Run one analysis route over up to 20 URLs in a single call 19 fields
One route over up to 20 sources in a single call: same engine, same metering as the single routes. Each item counts as one call plus its bytes, and a rate or quota stop ends the loop and is reported on the item where it fired. Provide urls and/or objectPaths, max 20 combined.
Request
| JSON field | Type | Notes |
|---|---|---|
| urls | string[] | Public http(s) URLs to audio files. urls and objectPaths together hold at most 20 items. |
| objectPaths | string[] | Storage objects minted via /api/upload-url under this key's key/<keyHash>/ namespace, for local files with no public URL. Readable for about an hour, so a second question about the same file needs no re-upload, then swept. urls and objectPaths together hold at most 20 items. |
| endpoint | string | Which analysis route to run for every URL. · mixlab/analyze | mixlab/check-target | mixlab/timeseries | mixlab/spectrum | voicelab/qa | voicelab/segments | signallab | signallab/index |
| args | object | Optional route-specific extras (e.g. target, waveformPoints), applied to every URL. |
| name | string | Optional session name; stored on every item's event (meta.batch) so history can group the run. |
Example
curl https://audiolab.tools/v1/batch \
-H "Authorization: Bearer $AUDIOLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://audiolab.tools/reference/is-original.mp3", "https://audiolab.tools/reference/is-muddy.mp3"], "endpoint": "mixlab/analyze"}'import os
import requests
r = requests.post(
"https://audiolab.tools/v1/batch",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
json={
"urls": [
"https://audiolab.tools/reference/is-original.mp3",
"https://audiolab.tools/reference/is-muddy.mp3",
],
"endpoint": "mixlab/analyze",
},
timeout=300,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/batch", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
urls: [
"https://audiolab.tools/reference/is-original.mp3",
"https://audiolab.tools/reference/is-muddy.mp3",
],
endpoint: "mixlab/analyze",
}),
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
The answer of /v1/batch. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| endpoint* | string | The analysis route that ran. | |
| count* | integer | Items in results; shorter than the request when a stop fired (see stoppedBy and notRun). | |
| batchId | string | Unique id for this run; every item's event carries it in meta.batch. | |
| name | string | The session name, when provided. | |
| summary.ok | integer | ||
| summary.failed | integer | ||
| summary.avgLufs | number | ||
| summary.loudest.ref | string | ||
| summary.loudest.lufs | number | ||
| summary.quietest.ref | string | ||
| summary.quietest.lufs | number | ||
| summary.overTruePeakCount | integer | ||
| summary.totalDurationSec | number | ||
| summary.passed | integer | check-target only. | |
| summary.passRate | number | check-target only, 0..1. | |
| summary.headline | string | One-line human/agent-readable overview. | |
| results* | object[] | ||
| stoppedBy | string | Present only when the batch stopped before its last item: the code of the stop. A batch stops itself after 270 seconds, so its answer is never lost to the platform limit of 300. Added 19 November 2026. · rate_limited | quota_exceeded | data_quota_exceeded | voice_minutes_exhausted | api_timeout | |
| notRun | object[] | Present only with stoppedBy: the items that did not run, in request order, each as {url} or {objectPath}. They were not counted. Send them again later, or as jobs (/v1/jobs). Added 19 November 2026. |
Errors
- 400 Malformed request, a URL we could not use, or a parameter that is not valid. url_not_allowed, url_fetch_failed, invalid_json, missing_input, invalid_parameter, batch_too_large, upload_not_found
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
This sends your URL or file to the EU-hosted API, so the audio leaves your device and counts as a call. The API keeps no audio: a direct request is decoded and discarded inside the request, and only numbers come back. Details on /privacy. To measure without uploading, use the playground above.
GET /v1/usage Where your key stands this month 19 fields
Your plan, the calls and data used this month against the limits the API enforces, and your requests per minute. The same numbers as /account. Needs a key. Reading it is free and does not count as a call; it is limited to 30 a minute.
Example
curl https://audiolab.tools/v1/usage \
-H "Authorization: Bearer $AUDIOLAB_KEY"import os
import requests
r = requests.get(
"https://audiolab.tools/v1/usage",
headers={"Authorization": f"Bearer {os.environ['AUDIOLAB_KEY']}"},
timeout=30,
)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
print(r.json())const res = await fetch("https://audiolab.tools/v1/usage", {
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_KEY}` },
});
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
console.log(body); Response
Where a key stands this month. The same numbers as /account. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| plan* | string | The plan of the account. trial is a key handed out without an account (POST /v1/keys); custom is a hand-issued key without a subscription. · trial | free | plus | studio | enterprise | founder | custom | |
| period.start* | string | First day of the month (UTC). | |
| period.end* | string | Last day of the month (UTC). | |
| period.resetsAt* | string | When the counters start again. | |
| calls.used* | integer | Accepted requests this month, across all the keys of the account. A request that then fails still counts. | |
| calls.limit* | integer | Calls allowed per month; null when there is no limit. | |
| calls.remaining* | integer | limit minus used, never below 0; null when there is no limit. | |
| data.usedBytes* | integer | Bytes of audio processed this month. | |
| data.limitBytes* | integer | Bytes allowed per month; null when there is no limit. | |
| data.remainingBytes* | integer | limitBytes minus usedBytes, never below 0; null when there is no limit. | |
| requestsPerMinute* | integer | Requests per minute this key may make to the analysis routes. | |
| concurrent.running | integer | Analyses running now; null when they could not be counted. | |
| concurrent.limit | integer | Analyses allowed at the same time on this key (a twelfth of requestsPerMinute, at least 1). | |
| keep | string | Only on a trial key: how to keep it. Sign in at https://audiolab.tools/account and add the key there; it becomes a free key and keeps working as it is. | |
| voice.unit | string | minutes | |
| voice.remaining | integer | Minutes left. | |
| voice.total | integer | Minutes granted, over all grants that have not expired. | |
| voice.used | integer | Minutes used of those grants. | |
| voice.expiresNext | string | When the next grant with minutes left expires. |
Errors
- 401 Invalid or revoked API key. /v1/batch and /v1/usage always need a key; the analysis routes also run without one, as a small keyless trial. invalid_api_key
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with your key
A GET without a body. It is free to call and does not count against your limits.
This asks the EU-hosted API where your key stands. No audio is involved.
POST /v1/keys A key without an account 11 fields
A trial key at once, with no account and no body: 20 calls a month and 3 a minute, on every route. We keep only a hash, so copy it now. Add it on https://audiolab.tools/account to keep it with the limits of your plan. One network gets at most 3 trial keys in 30 days.
Example
curl -X POST https://audiolab.tools/v1/keysimport requests
r = requests.post("https://audiolab.tools/v1/keys", timeout=30)
if not r.ok:
# error.code says what happened: https://audiolab.tools/docs/errors
raise RuntimeError(r.json()["error"]["code"])
# Shown once: keep it, for example in AUDIOLAB_KEY
print(r.json()["key"])const res = await fetch("https://audiolab.tools/v1/keys", { method: "POST" });
const body = await res.json();
// On an error, body.error.code says what happened: https://audiolab.tools/docs/errors
if (!res.ok) throw new Error(body.error.code);
// Shown once: keep it, for example in AUDIOLAB_KEY
console.log(body.key); Response
A trial key from POST /v1/keys. It works on every route, with the signed upload for large files and /v1/batch (on this key a batch stops at the first item over 3 requests a minute, see /v1/batch). Sign in at https://audiolab.tools/account and add it there: the same key gets the minutes of your plan (free: 300 minutes of audio a month, no card) and keeps working. The word next to a number says how far to trust it
(the five statuses); a margin says how far it can be off.
Add "measureStatus": true to the request to get the same status and margin inside the answer.
| Field | Type | Status | Notes |
|---|---|---|---|
| key* | string | The key. We keep only a hash of it, so this is the one time you see it. | |
| prefix* | string | The first characters of the key, as /account shows them. | |
| plan* | string | Always trial. Add the key on /account and /v1/usage reports your plan from then on. · trial | |
| limits.callsPerMonth* | integer | Calls a month with this key. | |
| limits.bytesPerMonth* | integer | Bytes of audio a month with this key. | |
| limits.requestsPerMinute* | integer | Requests a minute to the analysis routes. | |
| shownOnce* | string | A reminder that the key is shown once. | |
| firstCall* | string | A first call with this key, as curl. | |
| keep* | string | How to keep the key: sign in and add it on /account. | |
| usage* | string | Where the key stands this month: GET it with the key. | |
| upload* | string | Where a file over 4 MB goes in one request, as a job: POST the file as the body, with ?endpoint=… and the options of that route in the query. See https://audiolab.tools/docs/start/jobs |
Errors
- 429 Too many requests. rate_limited is per minute: wait the Retry-After. trial_key_limit is per 30 days and has no Retry-After. rate_limited, trial_key_limit, too_many_jobs
- 500 Something went wrong on our side. The details are logged and never sent to you. storage_unavailable, analysis_error
- 503 Paused on purpose for the moment: wait the Retry-After (3600 seconds), or use a key that is not paused. storage_unavailable can also come with 503, when a new key or job could not be saved. service_paused, service_busy
Every error carries a stable code and a docs_url: the cause, the fix and an example for each.
Try it with the Get a key, no account button under Your first call: it calls this route and keeps the key in this browser until you sign in.
Shared types Band · VoiceSegment · TimelineRegion · SeriesArray · SpeechSegment
| sub | number | |
| bass | number | |
| lowMid | number | |
| mid | number | |
| highMid | number | |
| presence | number | |
| air | number |
| startSec | number | |
| endSec | number | |
| meanRms | number | |
| levelDb | number | Phrase level, dBFS. |
| clipFraction | number | Share of clipped samples in the phrase. |
| decayScore | number | Energy left in the pause after this phrase, relative to the phrase itself, 0 to 1. Noise or reverb, and this number does not separate the two, so it is not a reverberation measure. Same limit as roomEchoScore. Null when no usable pause follows the phrase. |
| tailDecayDbPerSec | number | Decay slope of the phrase tail, dB per second. Null when no usable tail. |
| flankFlatness | number | Background character on the phrase flanks, 0 tonal to 1 noise-like. |
| startSec | number | |
| endSec | number | |
| kind | string | voice | silence | music | noise | clipping |
| confidence | number |
| intervalSec | number | Seconds between samples. |
| count | integer | Number of samples. |
| samples | number[] | |
| unit | string | Unit of measurement (e.g. "LUFS", "peak (-1..1)"). |
| startSec | number | |
| endSec | number | |
| durationSec | number | |
| meanRmsDb | number | Mean RMS of the segment in dBFS. |
* required · generated from public/openapi.yaml, the lens registry and lib/code-samples.mjs
Keys and limits
The hosted API uses a bearer key in the Authorization
header, generated from your dashboard. Keys are self-serve and live, with a free tier of 300 minutes of audio
a month, no card. The playground above still needs no key at all: it runs the engine in your
browser and your audio never leaves the device. Call the API from your server, not from a web page: a key
does not belong in a browser, and the API sends no CORS headers, so a request from another site's page
is refused by the browser.
Authorization: Bearer al_live_xxx issued from the dashboard
Limits
What the API enforces today. These are ceilings, not quotas: see pricing for the minutes per plan, and errors for what each failure means.
File the API fetches from a public url | 150 MB |
File in one request through the upload door, or via a signed upload URL and read back by objectPath | 150 MB |
| A small file can also go straight in the request body (raw or multipart). Above this the platform refuses the request before it reaches the API (at about 4.5 MB); the official clients then switch to the signed upload on their own. | 4 MB |
Longest track for the analysis routes, at 48 kHz stereo. Lower sample rates and mono fit longer, more channels shorter. The loudness routes (mixlab/*) do handle long files. Other formats: 8 kHz mono ~92.8 min · 16 kHz mono ~46.4 min · 16 kHz stereo ~23.2 min · 48 kHz mono ~15.4 min. What to do with a longer recording. | ~7.7 min |
Longest file for the loudness routes (mixlab/analyze, mixlab/check-target), which stream | 3 h |
Items in one /v1/batch call (urls and objectPaths together) | 20 |
Jobs (/v1/jobs) running at the same time on one key, by plan; batches and single requests count with them, large or small. A job over the limit is refused with too_many_jobs and a Retry-After; it does not count as a call. The keyless trial: 1. | Free 5 · Plus 10 · Studio 25 · Enterprise 50 |
Time for one job (/v1/jobs) or one batch. A job then ends as api_timeout; a batch stops and lists the rest in notRun. | 270 s |
Result a job keeps (ask without series if it is bigger) | 5 MB |
Reads a minute: GET /v1/jobs and /v1/usage. Reading is free and is not a call. | 120 · 30 |
A recording longer than the limit? Pick a window with
startSec and durationSec (seconds) on any analysis route, job or batch item:
we cut it out of the file and measure only that, and the answer says which window (window). Check a file first with
dryRun: true on a single analysis route: format, duration, whether it fits and what to do, without measuring it and without a call.
What counts as a call. A call counts when we accept it and measure it. A request we refuse before measuring (a limit, a wrong
parameter, a recording that is too long or cannot be read), and one that fails on our side do not count as a call, and a refusal for too many at once counts neither a call nor data. When we had to read the file before refusing it (not readable, too long, incomplete), its data volume stays counted. A dry run counts no call, but its data does, because we fetch the file. Still counted as a call: a refusal because the monthly data limit is reached, an empty audio body sent to an analysis route, every item of a batch that starts (a batch gives nothing back, also when the item fails) and a job that the clean-up marks failed after the worker died.
The answers of the analysis routes and of jobs carry the state of your limits in RateLimit-* and X-AudioLab-Calls-Remaining, and a
X-AudioLab-Quota-Warning from 80 percent of the month. Need more calls, data or analyses at once than your plan gives?
Write to partners@audiolab.tools and we agree the numbers per key.
Loudness, measured against the standard
Don’t take the loudness numbers on faith. Here is the engine run, on every build, against 26 test signals that we synthesise ourselves from EBU Tech 3341/3342 and ITU-R BS.1770-4, at 48 and 44.1 kHz: Tech 3341 cases 1 and 2 and the level patterns of cases 3 to 5, the level patterns of Tech 3342 cases 1 to 4, and our own gating, true-peak and 5.1 cases. They are synthetic tones, not the full EBU set: no programme material and no music. Each case is checked against the tolerance of the standard, so you can build the same signals and hold any meter to the same expected values. Every case we run is listed below, pass or fail, with the value the standard expects beside the value we measured.
The cases cover loudness, loudness range and true peak against the EBU signals. Every other measure
carries a status of its own: 101 validated against a standard or a known value, 58 proxies and
2 beta (no ground-truth test yet, which does not mean wrong). Scene, content type, intelligibility and
speaking rate are proxies, and the room-echo score was withdrawn: it is not a reverb measure. Each measure, with
what it was tested against and what it was not, is on the
lenses page, how to read a status is in
Read a response, and the OpenAPI document marks each
response field with x-validation.
Every case, with the expected and the measured value 25 compliance · 1 extended
- Integrated loudness 3341-1
Stereo 1 kHz sine at −23 dBFS → −23.0 LUFS (absolute calibration, Tech 3341 case 1)
-22.99 LUFStarget -23 · ±0.1 LUPass - Integrated loudness 3341-2
Stereo 1 kHz sine at −33 dBFS → −33.0 LUFS (linearity, Tech 3341 case 2)
-32.99 LUFStarget -33 · ±0.1 LUPass - Integrated loudness 3341-3
Level pattern of Tech 3341 case 3: −36 / −23 / −36 dBFS for 10 / 60 / 10 s → −23.0 LUFS (relative gate)
-23.01 LUFStarget -23 · ±0.1 LUPass - Integrated loudness 3341-4
Level pattern of Tech 3341 case 4: −72 / −36 / −23 / −36 / −72 dBFS → −23.0 LUFS (both gates)
-23.01 LUFStarget -23 · ±0.1 LUPass - Integrated loudness 3341-5
Level pattern of Tech 3341 case 5: −26 / −20 / −26 dBFS for 20 / 20.1 / 20 s → −23.0 LUFS
-22.98 LUFStarget -23 · ±0.1 LUPass - Integrated loudness gate-abs
Silence → −23 dBFS tone → silence: −70 LUFS absolute gate excludes silence → −23.0 LUFS
-23.04 LUFStarget -23 · ±0.1 LUPass - Integrated loudness gate-rel
−23 dBFS then −40 dBFS: −10 LU relative gate drops the quiet block → −23.0 LUFS
-23.06 LUFStarget -23 · ±0.1 LUPass - Loudness range 3342-1
Level pattern of Tech 3342 case 1: −20 then −30 dBFS → loudness range 10 LU
10 LUtarget 10 · ±1 LUPass - Loudness range 3342-2
Level pattern of Tech 3342 case 2: −20 then −15 dBFS → loudness range 5 LU
5 LUtarget 5 · ±1 LUPass - Loudness range 3342-3
Level pattern of Tech 3342 case 3: −40 then −20 dBFS → loudness range 20 LU
20 LUtarget 20 · ±1 LUPass - Loudness range 3342-4
Level pattern of Tech 3342 case 4: −50 / −35 / −20 / −35 / −50 dBFS → loudness range 15 LU
15 LUtarget 15 · ±1 LUPass - True peak tp-997
997 Hz sine at 0 dBFS → true peak 0.0 dBTP (BS.1770-4 true-peak)
0 dBTPtarget 0 · +0.2 / −0.4 dBPass - Integrated loudness 3341-1@44.1
Stereo 1 kHz sine at −23 dBFS → −23.0 LUFS (absolute calibration, Tech 3341 case 1)
-22.99 LUFStarget -23 · ±0.1 LUPass - Integrated loudness 3341-2@44.1
Stereo 1 kHz sine at −33 dBFS → −33.0 LUFS (linearity, Tech 3341 case 2)
-32.99 LUFStarget -33 · ±0.1 LUPass - Integrated loudness 3341-3@44.1
Level pattern of Tech 3341 case 3: −36 / −23 / −36 dBFS for 10 / 60 / 10 s → −23.0 LUFS (relative gate)
-23.01 LUFStarget -23 · ±0.1 LUPass - Integrated loudness 3341-4@44.1
Level pattern of Tech 3341 case 4: −72 / −36 / −23 / −36 / −72 dBFS → −23.0 LUFS (both gates)
-23.01 LUFStarget -23 · ±0.1 LUPass - Integrated loudness 3341-5@44.1
Level pattern of Tech 3341 case 5: −26 / −20 / −26 dBFS for 20 / 20.1 / 20 s → −23.0 LUFS
-22.98 LUFStarget -23 · ±0.1 LUPass - Integrated loudness gate-abs@44.1
Silence → −23 dBFS tone → silence: −70 LUFS absolute gate excludes silence → −23.0 LUFS
-23.03 LUFStarget -23 · ±0.1 LUPass - Integrated loudness gate-rel@44.1
−23 dBFS then −40 dBFS: −10 LU relative gate drops the quiet block → −23.0 LUFS
-23.05 LUFStarget -23 · ±0.1 LUPass - Loudness range 3342-1@44.1
Level pattern of Tech 3342 case 1: −20 then −30 dBFS → loudness range 10 LU
10 LUtarget 10 · ±1 LUPass - Loudness range 3342-2@44.1
Level pattern of Tech 3342 case 2: −20 then −15 dBFS → loudness range 5 LU
5 LUtarget 5 · ±1 LUPass - Loudness range 3342-3@44.1
Level pattern of Tech 3342 case 3: −40 then −20 dBFS → loudness range 20 LU
20 LUtarget 20 · ±1 LUPass - Loudness range 3342-4@44.1
Level pattern of Tech 3342 case 4: −50 / −35 / −20 / −35 / −50 dBFS → loudness range 15 LU
15 LUtarget 15 · ±1 LUPass - True peak tp-997@44.1
997 Hz sine at 0 dBFS → true peak 0.0 dBTP (BS.1770-4 true-peak)
0 dBTPtarget 0 · +0.2 / −0.4 dBPass - Integrated loudness 5.1-weights
5.1: L, R, C, Ls, Rs each a 1 kHz sine at −23 dBFS, LFE silent → -18.36 LUFS from the BS.1770 channel weights (surrounds 1.41)
-18.35 LUFStarget -18.36 · ±0.1 LUPass
Extended observations
- True peak tp-isp
12 kHz 0 dBFS, π/4 phase: samples sit at −3.0 dBFS, inter-sample peak detection (true peak should rise above sample peak)
0.1 dBTPtarget 0 · +0.2 / −0.4 dBPass
We measure what we claim. Per-task accuracy (scene, pitch, beat) and server-side research benchmarks aren’t claimed until the same kind of harness backs them.
Use it from an AI agent
AudioLab ships an MCP server + a Claude Code plugin so any AI agent (Claude Code, Claude Desktop, Cursor) can analyze audio (twelve tools, one install), plus AI-native docs so an agent can read the engine without scraping marketing.
Add to Claude →
- analyze_loudness · check_target
- analyze_voice · get_spectrum
- + 6 more · A/B compare, batch, profiles
Twelve tools over MCP. One command in Claude Code wires up the skill + server; bring an API key.
llms.txt
An LLM-readable map of the engine, API, and labs. The convention agents look for first.
CLAUDE.md
Drop it in your repo so your agent knows how to reach AudioLab, with the honest preview scope baked in.
The same job, three ways. The difference is who hosts the audio, how many tools you wire together, and who maintains it.
Scripting ffmpeg yourself
Free, but you build and babysit the pipeline. It only does loudness, there is no voice or signal layer, and it lives in your infra.
A cloud audio API
Capable, but every file is uploaded to a server you do not control, usually US-hosted, and most vendors do exactly one thing.
AudioLab
One key for loudness, voice and signal, EU-hosted, with the loudness DSP checked on every build against 26 test signals we build from EBU Tech 3341/3342 and BS.1770-4, every case published on this page. The same engine also powers the in-browser labs, which analyse on your device without uploading your audio; those need no key at all.
Built for teams who ship audio
LUFS-QC every episode before publish, without uploading unreleased audio.
Loudness and clarity QC on generated speech, right in your pipeline.
Embed analysis without building or hosting the DSP yourself.
Show creators their loudness and dynamics before they submit.
Building on audio? Get a key.
The hosted API is live at audiolab.tools/v1/*. Self-serve keys with a free tier, live now. Add it to Claude or any agent in one page, or call the REST API directly. Building something bigger? Email partners@audiolab.tools.