Generator · Polish data

Polish KRS number

Endpoint GET /v1/pl/krs

What it covers

Returns a realistic synthetic Polish KRS (National Court Register) number, drawn from the plausibly-issued register range. KRS numbers have no public checksum, so there is no validation digit and no `invalid` mode — every value is structurally a genuine KRS. Use `format` to choose between the canonical 10-digit zero-padded rendering and the bare integer.

Parameters

ParameterTypeDescription
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 the register boundary numbers.
extremebooleanReturn a correct value wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, or bidi/combining marks). Homoglyphs are excluded so the value stays machine-parseable; it still validates after normalisation.
format"padded" | "plain"KRS rendering: padded or plain. Default padded.
invalidbooleanReturn a deliberately invalid value that fails validation, for testing rejection paths.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.

Response fields

FieldTypeDescription
valuestringThe KRS in the requested format.
numberintegerThe underlying sequential register integer.

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.