x402

ID Number Validate (x402)

Validate national identification number formats. Supports Swedish personnummer, Finnish henkilötunnus, Norwegian fødselsnummer, Danish CPR, UK National Insurance, US SSN format, and German Steuer-ID. Checks format and checksum where applicable. Does NOT verify identity.

get/x402/v2/id-number-validate

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/id-number-validate
  • Auth: none required

Query parameters

id_numberstring required

National identification number

country_codestring required

ISO 2-letter country code (SE, FI, NO, DK, GB, US, DE)

Response

Success

validboolean
id_typestring
normalizedstring
country_codestring
checksum_validboolean
extracted_infoobject
format_correctboolean

Example response

{
  "valid": true,
  "id_type": "personnummer",
  "normalized": "811228-9874",
  "country_code": "SE",
  "checksum_valid": true,
  "extracted_info": {
    "gender": "male",
    "birth_date_part": "811228"
  },
  "format_correct": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.