Poland Building Permits API – Pozwolenia na budowę (GUNB)
polish-building-permits-gunbQuery Poland's official GUNB register (RWDZ) for building permit decisions and construction notifications, filtered by region, category, dates and investor type, to find construction projects and leads.
Instructions
Returns building permit decisions (pozwolenia na budowę) and construction notifications (zgłoszenia) from the official GUNB register (RWDZ), newest first: project name, Construction Law category, cubature, location and dates; investors are named only when they are organisations, never private persons. Defaults to permits in Mazowieckie; set voivodeships to ALL or pass TERYT codes for other areas. Use it for construction projects and leads; for parcel boundaries and zoning use polish-land-parcels-uldk-zoning. Read-only: it only queries the public source and never writes to the registry; onlyNew merely keeps a stateKey memory in your own Apify account. Each call needs the APIFY_TOKEN env var and starts one paid run of the Apify Actor enterprising_hamster/polish-building-permits-gunb on your Apify account, billed pay-per-event per delivered project (named organisation investors cost more) plus any Apify platform usage; the server waits up to 300 s for the run and returns JSON {items, truncated} with at most maxItems (max 100) items and 256 KiB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | Latest decision date (permits) or application date (notifications). | |
| onlyNew | No | Skip cases delivered by an earlier run with the same state key and unchanged since. Use with a schedule to get a daily feed of new permits. | |
| dateFrom | No | Earliest decision date (permits) or application date (notifications). | |
| daysBack | No | Only cases from the last N days (0 = no limit). Combined with 'From date', the later date wins. | |
| keywords | No | Any of these words in the project name, e.g. 'hala', 'magazyn', 'fotowolta'. Case and Polish letters do not matter. | |
| maxItems | No | Newest first. You pay per delivered result. | |
| stateKey | No | Name of the memory used by 'Only new or changed cases'. Use one key per monitored search. | |
| registers | No | PERMITS = building permit decisions (pozwolenia na budowę, with the investor where it is an organisation). NOTIFICATIONS = construction notifications without objection (zgłoszenia, whole country, no investor column). Empty = PERMITS. | |
| categories | No | Construction Law categories. Empty = all. | |
| terytCodes | No | TERYT code prefixes: 2 digits for a voivodeship, 4 for a county (1465 = Warsaw, 1261 = Kraków, 3064 = Poznań, 0264 = Wrocław), 6-7 for a commune. When set, these replace the voivodeship list. | |
| worksTypes | No | Empty = all. | |
| minCubature | No | Only projects at least this large (cubature as stated in the register; many entries have none). | |
| voivodeships | No | Regions to read. Not set = mazowieckie, so the first run is quick. Choose 'Whole country' for all 16. Ignored when TERYT codes are given. | |
| investorTypes | No | Only permits whose investor is of these types (implies a named investor). Empty = any. | |
| investmentKinds | No | Single-family house or anything else. Empty = both. | |
| investorContains | No | Text in the investor name, e.g. 'Dom Development' or 'Gmina'. Case and Polish letters do not matter. Implies a named investor. | |
| onlyWithInvestor | No | Only permits whose investor is a company, public body, church, non-profit or housing community (named, with address and plots). Cases of private individuals are never named. |