Docs

Build with the Arabinames API.

Base URL 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

  1. 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.
  2. 2Send a nameCall POST /v1/transliterate with the name in either script. Keep the key in an environment variable.
  3. 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

Errors follow RFC 9457 problem details with a stable code and the request id. They never echo a name.
StatusCodeMeaning
422validation_errorA field is missing or out of range; the problem names the field.
401invalid_api_keyThe key is malformed, unknown or revoked.
429quota_exceededThe Free plan reached its included calls for the month.
429rate_limitedOver the plan rate; retry after the seconds in Retry-After.
503engine_unavailableRetry with backoff; the call is not billed.

Every code, when to retry and how idempotency works: errors, retries and idempotency.

Guides

One task per guide, with requests and responses checked against the contract and the gateway.
  • 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.