UniApplyForMe Labs
Free plan

SA ID Parser API

Validate and decode any 13-digit South African ID number in a single request.

A POST to /v1/id/parse returns date of birth, gender, citizenship status, and full Luhn validation. Free, unlimited requests on every plan.

What you get

Date of birth

Extracts the full date of birth encoded in the first six digits of the ID number.

Gender

Determines gender from the four-digit sequence number following the date of birth.

Citizenship status

Identifies whether the ID holder is a South African citizen or permanent resident.

Luhn validation

Runs the standard Luhn algorithm on the full 13-digit number and reports whether the check digit is correct.

Free on all plans

No paid tier required. The ID parser is included at no cost on every Labs account, with unlimited requests.

No data stored

ID numbers are parsed in-flight and never written to disk or logs. The API is stateless.

Try it live

Select one of the example ID numbers or enter your own. Authenticate with a Labs API key to run real requests.

POST/v1/id/parseid_parser:use

Extract date of birth, gender, citizenship, and Luhn validity from a 13-digit SA ID number.

POST /v1/id/parse

Code

curl -X POST "https://api.labs.org.za/v1/id/parse" \
  -H "Authorization: Bearer labs_sandbox_your_token_here" \
  -H "Content-Type: application/json" \
  -d '{
  "id_number": "9001045800082"
}'

Response

Run the request to see a live response.

Ready to start building?

Free plan includes access to the ID parser. No credit card required.

Get started free