PESEL (Poland)

GET/v0/pl/pesel

Validates Polish national identification numbers (PESEL). Checks the checksum digit, extracts the birth date and gender encoded in the number.

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesThe 11-digit PESEL number to validate

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/pl/pesel?value=90090515836"

Response Fields

FieldTypeDescription
validbooleanWhether the PESEL number is valid (checksum correct)
birthDatestringBirth date encoded in the PESEL, in ISO 8601 format (YYYY-MM-DD)
genderstringGender encoded in the PESEL: male or female
isOver15booleanWhether the person is at least 15 years old
isOver18booleanWhether the person is at least 18 years old
isOver21booleanWhether the person is at least 21 years old

Example Response

{
  "valid": true,
  "birthDate": "1990-09-05",
  "gender": "male",
  "isOver15": true,
  "isOver18": true,
  "isOver21": true
}