South African ID number check: validate and decode an SA ID number
za_validate_id_numberSouth African ID number validation: checks a 13-digit SA ID number (date of birth, citizenship digit and Luhn checksum) and decodes date of birth, age, gender and citizenship status. Structural check only, with no Home Affairs lookup; the number is not stored. Useful for KYC and onboarding forms and for catching typos. Returns JSON with valid, decoded. Read-only; invalid input is rejected before any charge. Price: $0.005 USDC per call (x402, Base mainnet), paid only when the call succeeds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "za_validate_id_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 13-digit SA ID number |