Generator · Polish data

Polish company

Endpoint GET /v1/pl/company

What it covers

Returns a consistent synthetic Polish company in one call: a full trading name with its legal form, plus the matching NIP and REGON. Shape the name with `strategy`, `legalForm`, and `activityPrefix` (as on `/v1/pl/company-name`) and the NIP rendering with `format` (`with-hyphens`, `digits-only`); the REGON is always the 9-digit form a company is issued. Set `invalid=true` to corrupt both the NIP and REGON check digits (the name stays intact), for testing checksum validators.

Parameters

ParameterTypeDescription
activityPrefixbooleanForce ("true") or forbid ("false") a leading activity prefix (PPHU, FHU).
countinteger1–1000Number of records to return, 1–1000 (your plan may lower this). Omitted returns a single record; set it for a batch.
edgebooleanRestrict output to edge-case values from the rare corners.
extremebooleanReturn a correct company whose name is wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, homoglyph letters, or bidi/combining marks). The legal form and any identifiers stay clean.
format"with-hyphens" | "digits-only"NIP rendering: with hyphens or digits only.
invalidbooleanCorrupt both the NIP and REGON check digits, for testing validators.
legalForm"Sp. z o.o." | "Sp. z o.o. sp.k." | "P.S.A." | "S.A." | "Sp. j." | "Sp. k." | "S.C." | "any" | "none"Append a specific Polish legal form, "any" for weighted-random, or "none" to omit.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.
strategy"morpheme" | "surname" | "descriptive" | "modern" | "any"Naming family for the company name (morpheme, surname, descriptive, modern); "any" picks weighted-random.

Response fields

FieldTypeDescription
namestringThe full company name, including any prefix and legal form.
legalForm"Sp. z o.o." | "Sp. z o.o. sp.k." | "P.S.A." | "S.A." | "Sp. j." | "Sp. k." | "S.C."The appended legal form, or `null` when none was added.
nipstringThe matching NIP, in the requested format.
regonstringThe matching 9-digit REGON.
krsstringThe 10-digit KRS number, or null for non-KRS entities (e.g. S.C.).

Other generators for Poland

See all generators for Poland →

The same kind of identifier elsewhere

Try it

Generate a live example below — every response is valid by format and entirely synthetic.