API guide

Send your listings, product descriptions or any text; collect the translations when they're ready. Every request goes to https://translate.noowa.ro with your API key. noowa translate is invitation-only: keys are issued by noowa.

How it works

You always call us; we never call you. That keeps your setup simple: nothing to open in your firewall, no webhooks to secure.

  • Send texts (up to 500 per call), each into as many languages as you want. Every text × language is a task.
  • We translate in the background: new or edited listings first, the rest after.
  • Collect finished results whenever you like, store them, then acknowledge them. Until you do, they wait for you.

If your system is down for a while, nothing is lost: results simply wait. If ours is, you keep your work and send it again later; sending the same text twice is always safe.

Access

Every application gets its own API key from noowa: nt_live_… for production, nt_test_… for staging. Keep it on your server, never in a browser or an app. Send it on every request:

Authorization: Bearer nt_live_…

A key can be limited to:

  • what it may do (scopes): tasks:write, results:read, glossary:write, translate:sync, status:read, mcp;
  • where it may be used from: a list of your server IPs;
  • who it says it is: a fixed User-Agent, e.g. YourAppTranslateClient/1.0 (+https://your.app; env=production). Send it exactly as agreed;
  • requests per minute and characters per day.

Two keys can be active at once, so a key can be replaced without downtime: switch to the new one, then ask for the old one to be revoked.

Quick start

1. Send a listing into two languages

curl https://translate.noowa.ro/v1/tasks \
  -H "Authorization: Bearer $NOOWA_TRANSLATE_KEY" \
  -A "YourAppTranslateClient/1.0 (+https://your.app; env=production)" \
  -H "Content-Type: application/json" -d '{
  "items": [{
    "ref": "post:255565:title",
    "source_lang": "ro",
    "target_langs": ["de", "en"],
    "text": "Cască de bicicletă POC Omne Beacon, mărime M",
    "protect": ["POC Omne Beacon"]
  }]
}'
Response
{"tasks": [
  {"ref": "post:255565:title", "target": "de", "id": "t_8Kq…", "status": "queued", "created": true},
  {"ref": "post:255565:title", "target": "en", "id": "t_Zp1…", "status": "queued", "created": true}
]}

2. Collect what's finished

curl "https://translate.noowa.ro/v1/results?limit=500" \
  -H "Authorization: Bearer $NOOWA_TRANSLATE_KEY" \
  -A "YourAppTranslateClient/1.0 (+https://your.app; env=production)"
Response
{"results": [{
  "id": "t_8Kq…", "ref": "post:255565:title", "target": "de", "status": "done",
  "text": "Fahrradhelm POC Omne Beacon, Größe M",
  "source_hash": "9d20…", "format": "text", "translated_as": null, "checks": {…}
}], "next_cursor": "1834", "more": false}

3. Acknowledge what you stored

curl https://translate.noowa.ro/v1/results/ack \
  -H "Authorization: Bearer $NOOWA_TRANSLATE_KEY" \
  -A "YourAppTranslateClient/1.0 (+https://your.app; env=production)" \
  -H "Content-Type: application/json" -d '{"ids": ["t_8Kq…", "t_Zp1…"]}'

That's the whole loop. Run steps 2 and 3 on a schedule (every minute is fine) and send new work whenever a listing is created or edited.

Sending work

POST /v1/tasks takes up to 500 items (2 MB per request). Each item:

FieldWhat it is
refYour own reference, e.g. post:255565:description. Results carry it back.
source_langThe text's language (ro, en…) or auto to detect it.
target_langsThe languages you want, e.g. ["de", "fr", "hu"].
textThe text, or the HTML.
formattext (default) or html.
protectWords to keep exactly as written in this item: its brand, its model name.
glossaryThe name of one of your glossaries (see Brands & glossaries).
priorityhigh (new or edited listings), normal (default), low (re-translations).
  • Sending the same thing twice is safe: the same ref, language and text returns the task you already have.
  • Edited a listing? Send it again with the new text: the older version still waiting is cancelled for you.
  • Deleted a listing? DELETE /v1/tasks?ref=post:255565:description cancels its waiting work.
  • A language that isn't supported comes back at once as a result with status unsupported.
  • GET /v1/tasks/{id} shows one task at any time.

Collecting results

GET /v1/results?cursor=…&limit=… returns finished tasks you haven't acknowledged yet, oldest first (up to 500 per call). Pass next_cursor back while more is true.

statusMeaning
doneTranslated.
partialTranslated, but a few pieces stayed in the original language because their translation didn't pass our checks. checks says how many.
failedCouldn't be translated (see error). Send it again later.
unsupportedThis language pair isn't available.
  • source_hash is the SHA-256 of the text you sent. If your listing changed since, ignore the result: the newer one is on its way.
  • translated_as is set when another language was produced than requested (for example Croatian for a Serbian request). Label it accordingly.
  • After storing results, POST /v1/results/ack with their ids (up to 1,000). Anything not acknowledged comes back on your next call, so a lost cursor costs nothing: start again without one.
  • Texts are erased from our side a few days after you acknowledge them.

HTML descriptions

With "format": "html", only the visible text is translated. Everything else comes back exactly as you sent it:

  • tags, attributes, inline styles, classes, tables and comments;
  • links (href) and images (src); the alt and title texts are translated;
  • <script>, <style>, <svg>, <iframe>, <code>, <pre> are left alone;
  • anything marked translate="no" or class="notranslate" is left alone: use it for names.

Bold, italics and links inside a sentence move with the word order of the target language. Treat the HTML you receive like any user content: pass it through the same sanitizer you use for your own descriptions.

Sent (ro) → received (de)
<p>Frână <strong>Shimano</strong> hidraulică, <a href="/frane">vezi detalii</a>.</p>
<p>Hydraulische <strong>Shimano</strong>-Bremse, <a href="/frane">Siehe Details</a>.</p>

Brands & glossaries

Product names are what translation breaks most often ("Fisher Price" becoming "Fisher-Preis"). Three tools keep them right:

Per item: protect

Send the item's own brand and model in protect. They come back exactly as written.

Your brand catalogue

Upload all your brands once (up to 100,000) as CSV: a name, optional aliases separated by |, and exact_case for brands that are also ordinary words (so "Fox" is kept but "a fox" is translated).

brands.csv
name,aliases,exact_case
Shimano,,
Fox,Fox Racing|FOX Factory,yes
Fisher-Price,Fisher Price,
curl -X PUT https://translate.noowa.ro/v1/glossaries/my-catalogue/brands \
  -H "Authorization: Bearer $NOOWA_TRANSLATE_KEY" \
  -A "YourAppTranslateClient/1.0 (+https://your.app; env=production)" \
  -H "Content-Type: text/csv" --data-binary @brands.csv

Then send "glossary": "my-catalogue" with your items. GET …/brands?format=csv downloads it again. Your catalogue is yours alone: no other client sees or uses it.

Your terms

For words that must always be translated your way, send terms with the target word per language. Use them sparingly: a term is placed as-is, without adapting it to the grammar of the sentence.

curl -X PUT https://translate.noowa.ro/v1/glossaries/my-catalogue \
  -H "Authorization: Bearer $NOOWA_TRANSLATE_KEY" \
  -A "YourAppTranslateClient/1.0 (+https://your.app; env=production)" \
  -H "Content-Type: application/json" -d '{
  "terms": [{"source": ["cască", "casca"], "targets": {"en": "helmet", "de": "Helm"}}],
  "keep": ["Deore XT"]
}'

Every change is a new version, and each result records the version it used. Sending a glossary without brands keeps your catalogue as it is.

Languages

GET /v1/languages lists what's available: for each source language, the target languages (pairs), those being added right now (preparing, usable within minutes) and substitutes (a requested language served by a close one, e.g. {"sr": "hr"}).

With source_lang: "auto" the language is detected sentence by sentence, so a listing that mixes languages is handled, and sentences already in the target language are left as they are.

Quick translations

For previews and tests (up to 5,000 characters, answered within 20 seconds), POST /v1/translate answers straight away. Use tasks for real volume.

curl https://translate.noowa.ro/v1/translate \
  -H "Authorization: Bearer $NOOWA_TRANSLATE_KEY" \
  -A "YourAppTranslateClient/1.0 (+https://your.app; env=production)" \
  -H "Content-Type: application/json" \
  -d '{"text": "Bicicleta este în stare foarte bună.", "source_lang": "ro", "target_lang": "en"}'

Status & usage

  • GET /v1/status: your work waiting and in progress, results waiting to be collected, the last problems.
  • GET /v1/usage?from=2026-11-01&to=2026-11-30: characters and tasks per day and language, and how much of your quota is left.
  • GET /health: ok when the service is up (no key needed), for your monitoring.

Errors

Errors look like {"error": {"code": "…", "message": "…"}}, and every response has an X-Request-Id to quote if you ask us about it.

HTTPcodeWhat to do
400invalid_request, unsupported_languageFix the request; the message says what.
401missing_key, invalid_key, revoked_key, expired_keyCheck the key.
403scope, ip_not_allowed, user_agent, client_pausedThe key isn't allowed to do this from here.
404not_foundNo such task or glossary on your account.
413too_large, too_many_items, too_longSend less per request.
429rate_limited, quota_exceededWait (see Retry-After), or until the quota resets at 00:00 UTC.
503unavailable, preparingTry again in a minute; nothing you sent before is lost.

Good practice

  • Never translate while rendering a page. Translate when a listing is saved and store the result; show the stored translation.
  • Keep an outbox. Save "to translate" rows in your database when a listing changes, send them every minute; nothing is lost if either side is down.
  • Send again on change, based on the text itself (a hash), not on a timestamp.
  • Acknowledge after storing, never before.
  • Send protect with each listing's brand and model, and keep your brand catalogue up to date.
  • Label machine translations for your visitors, with a way to see the original.