Emirates ID Validation API
Validate UAE Emirates ID numbers with Luhn check digit verification. Extracts birth year, estimated age, generation label, and ID type. Supports batch validation of up to 100 IDs via POST.
/api/v1/validation/emirates-idTry it out
/api/v1/validation/emirates-idParameters
Code
curl -X GET "https://khaleejiapi.dev/api/v1/validation/emirates-id?id=784-1990-1234567-1" \ -H "Authorization: Bearer your_api_key"GET — Single Validation
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Emirates ID (15 digits, format: 784-YYYY-XXXXXXX-X) |
POST — Batch Validation
Submit up to 100 Emirates IDs for batch validation. Returns individual results with a summary of valid/invalid counts.
| Field | Type | Required | Description |
|---|---|---|---|
| ids | string[] | Required | Array of Emirates ID numbers (max 100) |
Response Fields
emiratesId / formatted
Raw and formatted ID number (784-YYYY-XXXXXXX-X)
valid
Whether the ID passes Luhn check digit verification
components
Country code (784), year, random, check digit
details.birthYear
Extracted birth year from the ID
details.estimatedAge
Estimated age based on birth year
details.generation
Generation label (Gen Z, Millennial, Gen X, etc.)
Rate Limits
| Plan | Requests/Month | Rate Limit |
|---|---|---|
| Free | 1,000 | 10 req/min |
| Starter | 10,000 | 60 req/min |
| Professional | 100,000 | 300 req/min |
| Business | 500,000 | 1,000 req/min |
Debugging & Support
Include X-Request-ID when contacting support
Every response from KhaleejiAPI includes an X-Request-ID header — a unique identifier that lets our support team pull the exact log entry for your request within seconds. Always share it when reporting an unexpected error or unexpected result.
How to capture it
JavaScript / fetch
const res = await fetch("https://khaleejiapi.dev/api/v1/...", {
headers: { Authorization: "******" },
});
const requestId = res.headers.get("x-request-id");
console.log("Request ID:", requestId);
// → e.g. "req_01j9xkz4vp8..."cURL
curl -si "https://khaleejiapi.dev/api/v1/..." \ -H "Authorization: ******" | grep -i x-request-id # → x-request-id: req_01j9xkz4vp8...
Browser DevTools
Open DevTools (F12) → Network tab → click the failing request → scroll to the Response Headers section → copy the value next to x-request-id.
For a full list of error codes and guidance on common issues, see the Troubleshooting guide.