What a response looks like
{"count": 5, "items": [{ "recordType": "observation", "source": "https://bdl.stat.gov.pl/api/v1/data/by-variable/72305", "unit": "person", "unitId": "000000000000", "unitLevel": "country", "unitName": "POLAND", "value": 38432992, "variable": "Population by sex and age group | total | total", "variableId": 72305, "year": 2016 … ]}| recordType | source | unit | unitId | unitLevel | unitName |
|---|---|---|---|---|---|
| observation | https://bdl.stat.gov.pl/api/v1/data/by-variabl… | person | 000000000000 | country | POLAND |
| observation | https://bdl.stat.gov.pl/api/v1/data/by-variabl… | person | 000000000000 | country | POLAND |
| observation | https://bdl.stat.gov.pl/api/v1/data/by-variabl… | person | 000000000000 | country | POLAND |
| observation | https://bdl.stat.gov.pl/api/v1/data/by-variabl… | person | 000000000000 | country | POLAND |
| observation | https://bdl.stat.gov.pl/api/v1/data/by-variabl… | person | 000000000000 | country | POLAND |
Real rows returned by this API on 2026-11-09 for the request shown.
What it returns
Statistics Poland (GUS) Local Data Bank data from the official BDL API. Pull headline series for Poland, or any of its roughly 40,000 variables for the country, its 16 voivodships, counties and municipalities, annual back to 1995. No key needed.
| Field | Meaning |
|---|---|
| recordType | observation, or variable for keyword catalogue rows |
| variableId, variable | BDL id and full name (subject plus breakdown) |
| unit | Unit of measure |
| unitId, unitName, unitLevel | Territorial unit code, name and level |
| year, value | Observation |
| source | Official API URL |
Common uses
- Regional comparisons across Polish voivodships, counties and towns
- Macro and labour-market dashboards for Poland
- Demographic and housing research
Request
POST https://api.pushbuild.com/statistics-poland-data/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
presets | list of strings | Headline series. Default when nothing is chosen: population, GDP, December registered unemployment rate and average monthly gross wage. |
variableIds | list of strings | Any BDL variable id, e.g. 72305 (total population). Find ids with Keyword. |
keyword | string | Search the variable catalogue in English, e.g. 'dwellings completed'. Returns one row per matching variable with its id. |
maxVariables | integer | How many catalogue matches to return for Keyword (up to 100). Default: 50. |
unitLevel | integer | 0 Poland, 1 macroregion, 2 voivodship, 3 region, 4 subregion, 5 county, 6 municipality. Not every variable exists at every level. Default: 0. |
unitParentId | string | Limit to units inside one parent, e.g. 011200000000 (Malopolskie) with level 5 for its counties. |
lastN | integer | Most recent years to keep when no start or end year is set. Default: 10. |
startYear | integer | First year to include, e.g. 2010. |
endYear | integer | Last year to include. |
maxPages | integer | 100 units per page; raise it for municipality-level pulls (about 2,500 units). Default: 5. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/statistics-poland-data/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"presets": ["population", "gdp", "unemployment-rate", "average-wage"], "maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.16 per 1,000 rows. No charge for errors or empty searches.
| Rows | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/statistics-poland-data. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want these numbers on one screen alongside your own? Dashboards and reporting