Official documentation for integrating South African ID verification into your application
The Check ID API provides a simple and reliable way to verify South African ID numbers in your application, website, or service.
API Starter includes 1,000 single API calls per month. Professional and Business add bulk API access and team features, subject to our fair usage policy. A free test API key is available for development and testing purposes, without any subscription plan needed.
New to API integration? Check out our 5-minute integration tutorial with API examples in JavaScript, PHP, and Python. If you need the local algorithm first, see Validate a South African ID in JavaScript, Validate a South African ID in C#, Validate a South African ID in PHP, and Validate a South African ID in Python ID validation tutorials. The API works with any programming language.
IMPORTANT: Copy and save your API key immediately as it won't be shown again
View complete API reference in Swagger or download the Postman collection for a quick start.
Base URL
https://api.checkid.co.zaThis GET endpoint takes a single ID number as a path parameter and validates it.
GET /api/v1/validate/{idNumber}This POST endpoint accepts up to 100 ID numbers in the request body and validates them simultaneously.
POST /api/v1/validate/bulkAll API requests must include your API key in the Authorization header using Bearer token authentication:
Authorization: Bearer {{YOUR_API_KEY}}Here's the exact response structure you'll receive for each ID verification:
{
"idNumber": "8903075555083",
"isValid": true,
"dob": "1989-03-07T00:00:00",
"age": 35,
"gender": "M",
"citizenship": "SA Citizen"
}Note: For POST /api/v1/validate/bulk requests, the response will be an array of these objects.
The easiest way to explore the API is through our interactive documentation:
| Status Code | Description |
|---|---|
400 Bad Request | Invalid ID number format or request body |
401 Unauthorized | Missing or invalid API key - check your Authorization header |
The developer guide is the canonical API hub. From here, go to bulk jobs, pricing, language examples, and industry pages.
For complete API specifications and interactive testing, refer to our Swagger documentation.
View Complete API Documentation