---
title: Validate Egypt National ID API
slug: validate-egypt-national-id
url: https://apyhub.com/odelyo/service/validate-egypt-national-id
provider: Odelyo
categories: [Verification Kit]
tags: [egypt-national-id, identity-validation, kyc, id-validation]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 1
atoms: 10
mcp: true
---

# Validate Egypt National ID API

Egypt national ID API: check a 14-digit ID and decode the birth date, age, gender and governorate. Arabic-Indic digits work. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/odelyo/validate-egypt-national-id/egypt-national-ids` | What it does Validates a 14-digit Egyptian national ID and decodes its birth date, age, gender and… | 10 |

## Endpoint reference

### Egypt National ID

`POST https://api.eu.apyhub.com/odelyo/validate-egypt-national-id/egypt-national-ids` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `value` | body | string | yes |  |

#### Quickstart

Send the required `value` string to validate it.

```bash
curl -X POST "https://api.eu.apyhub.com/odelyo/validate-egypt-national-id/egypt-national-ids" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"value":"29001011234567"}'
```

#### 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.

```json
{
  "data": {
    "valid": true,
    "input": "29001011234567",
    "normalized": "29001011234567",
    "problems": [],
    "birth_date": "1990-01-01",
    "age": 36,
    "gender": "female",
    "governorate_code": "12",
    "governorate": {
      "en": "Dakahlia",
      "ar": "الدقهلية"
    },
    "note": "Structure check only. The last digit is an official check digit whose formula is not public, so it is not verified."
  },
  "meta": {
    "request_id": "req_73398345c54bef35",
    "version": "v1"
  }
}
```

## About

## What it does

The Egypt national ID API checks a 14-digit Egyptian national ID and decodes what the number contains. Send the number in `value` and get back `valid`, the cleaned-up number and the details below.

A valid ID returns the birth date, age, gender and governorate. The governorate comes in English and Arabic, for example Dakahlia and الدقهلية. Spaces, dashes and Arabic-Indic digits are cleaned up first.

The check looks at the structure of the number: 14 digits, a valid century digit, a real birth date and a known governorate code. Failed checks list codes in `problems`, such as `must_be_14_digits`, `invalid_birth_date` or `unknown_governorate_code`. The last digit is an official check digit whose formula is not public, so it is not verified.

Teams use the Egypt national ID API in KYC and onboarding forms, age checks, and to prefill birth date and gender from the ID.

This is a structure check. It catches typos and made-up numbers but does not confirm that the ID is registered with the Egyptian government.

To check many IDs at once, use the [Batch Validate MENA IDs API](https://apyhub.com/odelyo/service/mena-id-and-data-validation-api). For the next KYC step, screen names with the [Sanctions Screening API](https://apyhub.com/martin10291/service/sanctions-list-screening).

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/odelyo/service/validate-egypt-national-id
