REGON (Poland)

GET/v0/pl/regon

Validates Polish statistical identification numbers (REGON). Supports both the 9-digit format used by legal entities and the 14-digit format used by local units. Verification is based on the official checksum algorithm. Optionally performs a live lookup against the official Polish government GUS BIR (REGON) registry to retrieve entity details such as name, NIP, and address.

Guides: Node.js · Python

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesThe 9-digit or 14-digit REGON number to validate
lookupbooleanNoWhen true, performs a live lookup against the official Polish GUS BIR (REGON) government API and returns entity details.

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/pl/regon?value=590096454&lookup=true"

Response Fields

FieldTypeDescription
validbooleanWhether the REGON number is valid (checksum correct)
typestringFormat variant: entity (9-digit) or local-unit (14-digit). Only present when valid is true.
regonobjectLive lookup result. Present only when lookup=true. See The regon object below.

The regon object

When the lookup failed (checked: false):

FieldTypeDescription
checkedbooleanfalse
reasonstringunavailable — the GUS BIR API could not be reached

When the lookup succeeded (checked: true):

FieldTypeDescription
checkedbooleantrue
foundbooleanWhether the entity was found in the REGON registry
namestring | nullRegistered name of the entity
nipstring | nullTax identification number (NIP)
voivodeshipstring | nullVoivodeship (province)
districtstring | nullDistrict (powiat)
communitystring | nullCommunity (gmina)
citystring | nullCity or town
postalCodestring | nullPostal code
streetstring | nullStreet name
houseNumberstring | nullBuilding/house number
flatNumberstring | nullFlat/apartment number
activityEndDatestring | nullDate when the entity ceased activity (null if still active)

Example Response

{
  "valid": true,
  "type": "entity",
  "regon": {
    "checked": true,
    "found": true,
    "name": "T-MOBILE POLSKA SPÓŁKA AKCYJNA",
    "nip": "5260250995",
    "voivodeship": "MAZOWIECKIE",
    "district": "m. st. Warszawa",
    "community": "Ochota",
    "city": "Warszawa",
    "postalCode": "02-326",
    "street": "ul. Aleje Jerozolimskie",
    "houseNumber": "160",
    "flatNumber": null,
    "activityEndDate": null
  }
}