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
| Parameter | Type | Required | Description |
|---|---|---|---|
| value | string | Yes | The 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
| Field | Type | Description |
|---|---|---|
| valid | boolean | Whether the PESEL number is valid (checksum correct) |
| birthDate | string | Birth date encoded in the PESEL, in ISO 8601 format (YYYY-MM-DD) |
| gender | string | Gender encoded in the PESEL: male or female |
| isOver15 | boolean | Whether the person is at least 15 years old |
| isOver18 | boolean | Whether the person is at least 18 years old |
| isOver21 | boolean | Whether the person is at least 21 years old |
Example Response
{
"valid": true,
"birthDate": "1990-09-05",
"gender": "male",
"isOver15": true,
"isOver18": true,
"isOver21": true
}