KhaleejiAPIKhaleejiAPI
PricingDocumentationAbout
Sign InGet Started
Back to all APIs

Saudi ID Validation

Validate Saudi National IDs and Iqama numbers with age estimation, generation labeling, and issuing authority metadata

Category: Data ValidationEndpoint: /v1/validation/saudi-id

Avg Response

<50ms

Uptime SLA

99.99%

Free Tier

1,000/mo

Quick Start

JavaScript / TypeScript

javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk';
const client = new KhaleejiAPI({ apiKey: 'your_api_key' });
const result = await client.validation.validateSaudiId({ id: '1234567890' });
console.log(result);
// {
// valid: true, type: "national_id",
// details: {
// estimatedAge: 34, ageRange: "Adult (30–44)",
// generation: "Millennial (1981–1996)",
// estimatedBirthYearGregorian: 1992
// },
// authority: { name: "National Information Center (NIC)",
// nameAr: "مركز المعلومات الوطني", url: "https://www.nic.gov.sa" }
// }

Python

python
from khaleejiapi import KhaleejiAPI
client = KhaleejiAPI('your_api_key')
result = client.validation.validate_saudi_id("1234567890")
print(f"Type: {result['type']}")
print(f"Age: ~{result['details']['estimatedAge']} ({result['details']['ageRange']})")
print(f"Generation: {result['details']['generation']}")
print(f"Authority: {result['authority']['name']}")

cURL

curl
curl -X GET "https://khaleejiapi.dev/api/v1/validation/saudi-id?id=1234567890" \
-H "x-api-key: your_api_key"
Get Your API KeyView Documentation

Related APIs

Email Validation

Deep email validation with 500+ disposable domain detection, deliverability scoring, SPF/DMARC checks, and mail provider identification

Phone Validation

GCC phone validation with carrier detection (e&, du, STC, Mobily, Zain), MCC/MNC codes, area codes, and multiple format variants

VAT Validation

Multi-GCC VAT/TIN validation for UAE, Saudi Arabia, Bahrain, and Oman with check digit verification, authority info, and tax rate details

IBAN ValidationIP Geolocation
KhaleejiAPIKhaleejiAPI

Fast, affordable APIs built in Dubai for developers across the Middle East.

All systems operational

APIs

  • Email Validation
  • Phone Validation
  • VAT Validation
  • IP Geolocation
  • Exchange Rates
  • Image Processing
  • View all →

Resources

  • Documentation
  • API Reference
  • SDKs
  • Status
  • Changelog

Company

  • About
  • Blog
  • Careers
  • Contact

Legal

  • Privacy
  • Terms
  • DPA

© 2026 KhaleejiAPI. All rights reserved.

Made with love in Dubai by Berd-i & Sons