Docs
Build with the Arabinames API.
https://api.arabinames.assentify.com/v1. JSON in, JSON out, one key in the Authorization header.Arabinames by Assentify is an API for Arabic personal names. It transliterates names between Arabic and Latin script, ranks the spellings by country convention, returns spelling variants for search, cleans a name to one form before it is stored or compared, and scores how likely two name strings are spellings of the same name, with the reason behind every result. It is built for developers and for compliance, travel and data teams that handle Arabic names in two scripts.
Quickstart in three steps
- 1Get a keyCreate an account and copy your test and live keys from the first screen. Test keys answer from fixtures and are never billed.
- 2Send a nameCall
POST /v1/transliteratewith the name in either script. Keep the key in an environment variable. - 3Read the resultSpellings come back ranked, with the engine version and any warnings. The same JSON appears in the console playground.
curl https://api.arabinames.assentify.com/v1/transliterate \
-H "Authorization: Bearer $ARABINAMES_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Mohamad Khalil","target_script":"arab","max_results":5}'Concepts
Names, not people
The API compares and renders name strings. It never says two records are the same person, never looks a name up and never infers gender, religion, nationality or origin.
Scripts and directions
Arabic to Latin and Latin to Arabic. Leave the target script out and the engine detects the direction.
Hints
Country, dialect and orthography hints change the ranking, never the set of possible spellings.
Units
One successful call is one unit; extended variants are five. Errors are never billed.
Test and live keys
Test keys return fixtures for free. Live keys call the engine and count toward your plan.
Privacy
Request and response bodies are not stored. Logs and errors carry ids and codes, never names.
Errors
| Status | Code | Meaning |
|---|---|---|
| 422 | validation_error | A field is missing or out of range; the problem names the field. |
| 401 | invalid_api_key | The key is malformed, unknown or revoked. |
| 429 | quota_exceeded | The Free plan reached its included calls for the month. |
| 429 | rate_limited | Over the plan rate; retry after the seconds in Retry-After. |
| 503 | engine_unavailable | Retry with backoff; the call is not billed. |
Every code, when to retry and how idempotency works: errors, retries and idempotency.
Guides
- Matching and scoresAvailable in the APIHow POST /v1/match scores two name strings, what the decision bands mean and how they were measured.
- Dialect and orthography hintsAvailable in the APICountry, dialect, orthography and sex hints: how they reach the engine and how to read hints.applied.
- Variants for search and screeningAvailable in the APIExpand one name into the spellings to search for, with ranks, truncation and per-token lists.
- Normalising and splitting namesAvailable in the APIClean a full name, split it into tokens and get it in both scripts with POST /v1/normalise.
- Batches and webhooksAvailable in the APISend many names in one call, page through the results, and get signed webhook events when a batch ends.
- Errors, retries and idempotencyAvailable in the APIEvery error code, when to retry, and how an Idempotency-Key makes retries safe for billing.
- Rate limits and quotasAvailable in the APIRequests per second, monthly units, plan caps on request fields, and the headers that report them.
- Privacy and data handlingAvailable in the APIWhat the API keeps from a call, what it never keeps, and how long batch results and logs live.
- UnicodeAvailable in the APIWhich characters a name may hold, what the gateway cleans before the engine sees it, and the limits.
Worked requests and responses are on the examples page; plans and limits on the pricing page.