apyhub
Back
▣ VERIFICATION KIT

Validate Emirates ID API

What it does

The Emirates ID validation API checks a UAE Emirates ID number. Send the number in value and get back valid, the cleaned-up number in the standard 784-YYYY-NNNNNNN-C format and the reasons when it fails.

The check runs on the number itself. It must have 15 digits, start with 784 (the UAE country code) and pass the checksum on the last digit. Spaces, dashes and Arabic-Indic digits are cleaned up first.

A result also returns birth_year, read from digits four to seven of the ID. Failed checks list codes in problems, such as must_start_with_784 or checksum_failed.

Teams use the Emirates ID validation API in KYC and onboarding forms, tenant and employee records, and data cleanup before records are saved.

This is a format and checksum check. It catches typos and made-up numbers but does not confirm that the ID is registered with the UAE authorities.

To check many IDs at once, use the Batch Validate MENA IDs API. For the next KYC step, screen names with the Sanctions Screening API.

POST
Emirates ID
https://api.eu.apyhub.com/odelyo/validate-emirates-id/emirates-ids

QUICKSTART

GUIDE

Quickstart

Send the required value string to validate it.

curl -X POST "https://api.eu.apyhub.com/odelyo/validate-emirates-id/emirates-ids" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"value":"784-1987-1234567-1"}'

What you'll get back

Returns a JSON object with data (the validation result) and meta (request id and version). Below is the real response for the request above.

{
  "data": {
    "valid": true,
    "input": "784-1987-1234567-1",
    "normalized": "784198712345671",
    "formatted": "784-1987-1234567-1",
    "problems": [],
    "birth_year": 1987
  },
  "meta": {
    "request_id": "req_255b3c947e29d751",
    "version": "v1"
  }
}
TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Validates an Emirates ID value sent in the request body and returns a JSON object containing a data field plus optional meta information.

Request Body

ParameterTypeMandatoryDescription
valueStringYesEmirates ID value to validate. Minimum length 1, maximum length 64.

Response

Returns a JSON object with a data object holding the validation result and a meta object with the request_id and API version. Invalid values still return 200 with valid: false and the reasons in problems. Requests with a missing or wrong-type field return 422 with an error object.

ParameterTypeDescription
dataObjectThe validation result.
data.validBooleantrue if the value passes all checks for its format.
data.inputStringThe value you sent.
data.normalizedStringThe value after cleanup: spaces and separators removed and Arabic-Indic digits converted to Latin digits.
data.formattedStringThe value in its standard display format.
data.problemsString ArrayProblem codes when the value is not valid, e.g. checksum_failed, must_be_14_digits. Empty when valid.
data.birth_yearIntegerBirth year encoded in the Emirates ID (digits 4 to 7).
metaObjectRequest details.
meta.request_idStringUnique id of this request, useful for support.
meta.versionStringAPI version, e.g. v1.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.