Start
| Base URL | https://api.mnemecho.com/api/v1 |
|---|---|
| Authentication | Authorization: Bearer <key> or X-API-Key: <key> |
| Transport | HTTPS only |
| Format | Requests as multipart/form-data, answers as JSON |
Make a free key at account.mnemecho.com/keys: sign in with your email or Google and press Make a key. It takes a minute and no card. Keep your key on your server, never in a web page or a shipped app: anyone holding it can spend your quota. If it leaks, revoke it on the same page and make another; the old key stops at once.
What is graded
- Graded: pronunciation, meaning whether each expected Dutch sound was said, and said right, and whether each word is the word in the text.
- Not graded: rhythm, pitch and vowel length. These need a native
recording of the same sentence to compare against, and your own text has none.
Every response says so (
graded_by,reference). - Never graded: voice quality. A deep, high, male, female or accented voice is not marked down for how it sounds, only for which sounds it makes.
Keys and tiers
A key belongs to your account, and an account may hold up to five (a staging key, one per app). Your keys share your account's quota. One unit of quota is one checked recording.
| Tier | Quota | Rate | Card |
|---|---|---|---|
| No key (try it) | 3 recordings an hour per address, on the five example sentences | 3 a minute | No |
| Free | 5 recordings an hour, 10 a day, on the five example sentences | 5 a minute | No |
| Trial, Pro, credits | Opening soon: see pricing | 60 a minute | Yes |
Every checked response names the tier that paid for it, and the
model that checked it: when we improve the model, the name changes, so a
shift in your matches can be told from a change in your users. When an account
holds more than one plan, paid room is spent first and the free tier last.
The no key and free tiers check only these five sentences, so you can judge the feedback before you pay; any sentence of your own needs a paid plan. Case and punctuation do not matter. Each of these tiers also has an hourly limit shared by all its callers, answered 429 like the minute rate.
- Breda ligt in Noord-Brabant.
- Woon je in Alkmaar?
- Vroeger was alles beter.
- Zij reizen duizenden kilometers.
- Deze collega's hebben gelijk.
POST /attempt/text
Get feedback on one recording against one Dutch text.
| Field | Type | Rules |
|---|---|---|
text | form field | The Dutch that should be said. 1 to 12 words. Punctuation is ignored. |
audio | file | One recording: wav, flac, ogg or mp3. Any sample rate, mono or stereo. At most 15 seconds and 4 MB. |
curl
curl -X POST https://api.mnemecho.com/api/v1/attempt/text \
-H "Authorization: Bearer $MNEMECHO_KEY" \
-F "text=In februari is het Valentijnsdag." \
-F "[email protected]"
Python
import os, requests
resp = requests.post(
"https://api.mnemecho.com/api/v1/attempt/text",
headers={"Authorization": f"Bearer {os.environ['MNEMECHO_KEY']}"},
data={"text": "In februari is het Valentijnsdag."},
files={"audio": open("attempt.wav", "rb")},
timeout=30,
)
resp.raise_for_status()
result = resp.json()
print(result["match"], result["band"], result["worst_word"])
JavaScript (Node 18 and later)
import { readFile } from "node:fs/promises";
const form = new FormData();
form.append("text", "In februari is het Valentijnsdag.");
form.append("audio", new Blob([await readFile("attempt.wav")], { type: "audio/wav" }), "attempt.wav");
const resp = await fetch("https://api.mnemecho.com/api/v1/attempt/text", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.MNEMECHO_KEY}` },
body: form,
});
if (!resp.ok) throw new Error(`${resp.status} ${(await resp.json()).detail}`);
const result = await resp.json();
console.log(result.match, result.band, result.worst_word);
Full runnable examples are in the GitHub repository.
The response
A real response for a native speaker saying "In februari is het Valentijnsdag".
Two words shown in full; the others look like "In".
{
"text": "In februari is het Valentijnsdag",
"match": 91.6,
"band": "clear",
"graded_by": ["pronunciation"],
"reference": false,
"words": [
{"word": "In", "ok": true, "wrong_word": false, "sounds": [
{"target": "ɪ", "heard": "ɪ", "ok": true, "quality": 0.9997, "hint": null},
{"target": "n", "heard": "n", "ok": true, "quality": 1.0, "hint": null}
]},
{"word": "februari", "ok": false, "wrong_word": false, "sounds": [
{"target": "f", "heard": "f", "ok": true, "quality": 0.9993, "hint": null},
{"target": "eː", "heard": "ɛ", "ok": false, "quality": 0.6629,
"hint": "the long ee in zee"},
{"target": "b", "heard": "b", "ok": true, "quality": 0.9999, "hint": null},
...
]},
...
],
"ipa_target": "ɪ n f eː b r y aː r i ɪ s h ə t v aː l ə n t ɛɪ n z d ɑ x",
"ipa_heard": "ɪ n f ɛ b r y aː r i ɪ s h ə t v aː l ə t ɛɪ n z d ɑ x",
"worst_word": "februari",
"flags": ["unobservable_phones=1", "no_reference"],
"model": "nl-2026-10",
"tier": "api_free"
}
| Field | Meaning |
|---|---|
text | The words that were checked, punctuation removed. |
match | 0 to 100, one decimal. Set against native Dutch speakers, so 90 and up is native-like, not merely good. |
band | native_like, clear, try_again or far. See feedback bands. |
model | The model, for example nl-2026-10. It changes when the model improves. |
tier | The plan this score was charged to: demo, api_free, api_trial, api_pro, credits, or custom. |
graded_by | Which parts made the match. Always ["pronunciation"] on this endpoint. |
reference | Always false: no native recording was compared. |
words | One entry per word, in order. |
words[].ok | false if any of its sounds counted against the match, or if it was heard as another word. |
words[].wrong_word | true when a different word was said in its place (maart for februari). The attempt cannot pass. |
words[].sounds | One entry per expected sound (phoneme) in the word. |
sounds[].target | The sound expected, in IPA. ː marks a long vowel. |
sounds[].heard | What was heard instead, on a wrong sound. Equal to target when ok. |
sounds[].ok | Whether this sound counted against the match. |
sounds[].quality | 0 to 1, how clearly the expected sound was heard (1 is clearly). |
sounds[].hint | On a wrong sound, a short English tip such as "the long ee in zee". Otherwise null. |
ipa_target | All expected sounds, space separated. |
ipa_heard | What was heard, sound by sound. Useful for debugging, too raw to show players. |
worst_word | The word to work on first, or null. |
flags | Notes on the attempt. See flags. |
A word swapped
The same recording sent with the text "In maart is het Valentijnsdag." The speaker said februari, so maart is marked as a wrong word and the band is lowered.
{
"match": 74.0,
"band": "try_again",
"words": [
...
{"word": "maart", "ok": false, "wrong_word": true, "sounds": [
{"target": "m", "heard": "b", "ok": false, "quality": 0.0013, "hint": "the m in mens"},
...
]},
...
],
"worst_word": "maart",
"flags": ["unobservable_phones=1", "wrong_word=1", "no_reference"]
}
Feedback bands
The band field is a feedback band for one recording of one sentence. Use it
to pick your app's next step (move on, or try again), and worst_word plus the
wrong sounds for what to show. It is practice feedback, not an assessment of the speaker:
do not use it to make or support decisions about a person (see the
API terms, C2).
| Band | Match | Meaning | Suggested next step |
|---|---|---|---|
native_like | 95 to 100 | Sounds like native speakers. | Celebrate; move on. |
clear | 75 to 94.9 | Clear, small slips. | Move on; show the one sound to work on, if any. |
try_again | 55 to 74.9 | Recognisable, a word or some sounds to work on. | Offer another try; show worst_word. |
far | under 55 | Far from the sentence, or a different sentence. | Play your model audio, then offer another try. |
Flags
| Flag | Meaning |
|---|---|
no_reference | Always present: rhythm and pitch were not graded. |
wrong_word=N | N words were heard as other words. See words[].wrong_word. |
unobservable_phones=N | N expected sounds were not heard in their place at all. A few are forgiven; more count as missing. |
missing_phones=N | N sounds were heard as left out, and lowered the match. |
reduced_phones=N | N sounds that Dutch speakers often drop were dropped, and not charged. |
insertions=N | N extra sounds were heard that the text does not have. |
text_mismatch | Most of the text was not heard: something else was said, or the wrong clip was sent. |
New flags may be added within v1. Ignore flags you do not know.
Showing feedback
- Lead with the band in plain, encouraging words.
- Highlight
worst_wordin the sentence. If itswrong_wordis true, say which word was expected. - Under it, show each sound where
okis false, with itshint. Skip the IPA unless your users know it. - Show one or two sounds per try. People fix one thing at a time.
GET /usage
What your account has left, plan by plan and window by window. Needs a key, costs nothing.
curl https://api.mnemecho.com/api/v1/usage -H "Authorization: Bearer $MNEMECHO_KEY"
{"key": "mne_u8Hf", "model": "nl-2026-10",
"plans": [{"tier": "api_free", "per_minute": 5, "scopes": ["score:text"], "ends_at": null,
"windows": {
"hour": {"limit": 5, "used": 3, "left": 2, "resets_at": "2026-10-24T10:42:05+00:00"},
"day": {"limit": 10, "used": 7, "left": 3, "resets_at": "2026-10-25T00:00:00+00:00"}}}]}
The hour is a rolling 60 minutes: resets_at is when the oldest recording in
it drops out. The day is the UTC day.
GET /health
Checks your key and shows what a request may hold. Needs a key.
curl https://api.mnemecho.com/api/v1/health -H "Authorization: Bearer $MNEMECHO_KEY"
{"ok": true, "client": "[email protected]: my app", "model": "nl-2026-10",
"limits": {"tiers": ["api_free"]},
"request": {"max_words": 12, "max_audio_s": 15.0,
"formats": "wav, flac, ogg or mp3"}}
GET /status
Whether the service answers. No key, readable from any origin. The status page uses it.
curl https://api.mnemecho.com/api/v1/status
{"ok": true}
Errors
Every error is JSON with a stable error code to branch on and a
detail message written for a developer, for example
{"error": "unprocessable", "detail": "send the Dutch text as the form field 'text'"}.
| Status | error | When | What to do |
|---|---|---|---|
| 400 | bad_request | Empty audio, or audio with no samples. | Check the recording step. |
| 401 | invalid_key | Key wrong or revoked. | Check the Authorization header. With no key at all you are on the try it tier. |
| 402 | quota_exhausted | Every plan on your account is spent. | Wait until resets_at (also Retry-After), or follow upgrade_url. |
| 402 | no_plan | The key's account holds no plan. | Make a free key at keys_url. |
| 403 | scope_missing | Your plan does not cover this endpoint. | See pricing. |
| 403 | fixed_texts_only | The no key or free tier was sent a sentence that is not one of the five. | Send one of fixed_texts in the body, or follow upgrade_url. |
| 413 | too_large | Audio over 15 seconds, or upload over 4 MB. | Trim silence; send one sentence per call. |
| 415 | unsupported_audio | Audio not readable. | Send wav, flac, ogg or mp3. Browser webm recordings must be converted first. |
| 422 | unprocessable | Text missing, over 12 words, or nothing in the audio could be heard. | For "could not be heard", ask for another try, louder. This is not a low match. |
| 429 | rate_limited | Too many calls in the last minute, or the no key or free tier is full this hour for everyone. | Wait the seconds in the Retry-After header. |
| 500 | Our fault. | Retry once; if it repeats, tell us the time. |
Limits
- Quota counts checked recordings only. A request that fails (400, 413, 415, 422) costs no quota but counts toward the per minute rate; refused requests (402, 403, 429) count for nothing.
- Every checked response carries
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(Unix seconds) andX-RateLimit-Windowfor the window closest to running out. - A spent quota answers 402 with when it frees up and where to get more:
{"error": "quota_exhausted", "detail": "...", "resets_at": "2026-10-24T10:42:05+00:00", "upgrade_url": "...", "credits_url": "...", "keys_url": "...", "payment_methods": ["card via checkout"], "request_method_url": "https://api.mnemecho.com/api/v1/feedback"} - Keys made before self-serve keys keep the limits they were given;
GET /usageshows them ascustom. - Our network also blocks bursts of more than 10 requests in 10 seconds.
POST /feedback
Tell us what you need: a feature, a bug, or a way to pay we do not offer yet. No key needed (send yours and we know who you are). Agents are welcome to use it.
curl -X POST https://api.mnemecho.com/api/v1/feedback -H "Content-Type: application/json" \
-d '{"kind": "payment_method", "message": "We pay per call from an agent wallet.", "contact": "[email protected]"}'
{"ok": true, "id": 12}
kind is need, bug, payment_method or
other; message is up to 4,000 characters; contact
is optional. Ten notes an hour per address.
Good practice
- Send sentences, not single words. One word said alone is often not heard at all (422). Three words or more is reliable.
- Record 16 kHz mono wav if you can choose. Other formats work.
- Start recording before the speaker starts and stop shortly after. Silence within the 15 seconds is fine.
- Background noise, music, or Bluetooth earbuds with noise suppression lower the match. A wired or built-in microphone in a quiet room works best.
- Write numbers out (twaalf, not 12). Names and English loanwords may be expected with a pronunciation your users do not use.
- Call from your server, not the user's device, so your key stays secret.
For machines
- openapi.json: the OpenAPI 3.1 description.
- llms.txt: a short guide for AI agents.
- GitHub: examples, changelog, and issues for bugs and requests.