Data Validation
Saudi ID Validation API
Validate Saudi National IDs and Iqama numbers with age estimation, generation labeling, and issuing authority metadata. Supports single GET and batch POST (up to 100 IDs).
Endpoint:
/v1/validation/saudi-idMethod:GETPOST
Latency:~5ms
Try it out
GET
/v1/validation/saudi-idParameters
Code
curl
curl -X GET "https://khaleejiapi.dev/api/v1/validation/saudi-id?id=1012345678" \ -H "X-API-Key: your_api_key"Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Required | 10-digit Saudi ID number (GET) |
| ids | string[] | Required | Array of IDs for batch validation (POST, max 100) |
Response Fields
valid, type, typeAr
Boolean validity and ID type (national_id or iqama) in English and Arabic
nationality, nationalityAr
Nationality inference: Saudi for national IDs (prefix 1), non-Saudi for Iqama (prefix 2)
details
Parsed components: prefix, birth year (Hijri/Gregorian), estimated age, generation label, serial part, and check digit
authority
Issuing authority: National Information Center (NIC) with name in English/Arabic and URL
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 |