Generator · Polish data

Polish address

Endpoint GET /v1/pl/address

What it covers

Returns a realistic Polish address drawn from real cities and streets. Narrow the location with a `teryt` prefix (1–7 digits). By default the address comes from a curated, frozen catalogue, so a given `seed` keeps returning the same address; pass `live=true` to draw from the full, current PRG register instead.

Parameters

ParameterTypeDescription
countinteger1–10000Number of records to return, 1–10000. Omitted returns a single record; set it for a batch. Costs 1 token plus a tenth per record.
edgebooleanRestrict output to edge-case addresses (street-less localities, awkward names/numbers).
extremebooleanReturn a correct address whose text fields (streetFullName, buildingNumber, postalCode, cityName) are wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, homoglyph letters, or bidi/combining marks). Administrative names and TERYT codes stay clean.
invalidbooleanReturn a deliberately invalid value that fails validation, for testing rejection paths.
livebooleanDraw from the full, current PRG register instead of the curated catalogue. The catalogue (default) is a frozen extract — ~9,300 places, ~25,000 streets, all 2,479 gminas — so a given seed keeps returning the same address indefinitely. `live=true` covers every place in Poland and tracks what GUGiK publishes, but the underlying data changes, so a seed is not guaranteed to reproduce across releases. Addresses are real either way.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.
terytstringpattern ^\d{1,7}$Restrict output to a region by TERYT prefix (1–7 digits).

Response fields

FieldTypeDescription
streetFullName?string
buildingNumberstring
postalCodestring
cityNamestring
municipalityNamestring
countyNamestring
voivodeshipNamestring
terytCodesobject

Other generators for Poland

See all generators for Poland →

Try it

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