This API provides access to subject P1517 "Revenue of powiats' budgets" within Poland's Local Data Bank (Bank Danych Lokalnych, BDL), maintained by Statistics Poland (GUS). It offers yearly territorial time series on public finance, specifically revenue figures for powiat-level budgets, with data available across administrative levels from voivodship down to gmina. Units are identified using official TERYT territorial identifiers, enabling precise linkage to Poland's administrative geography. The API is freely accessible without authentication, making it suitable for researchers, analysts, and public institutions studying local government finances and territorial budget revenue trends across Poland.PUBLIC FINANCE › REVENUE OF POWIATS BUDGETS. Local Data Bank (BDL) subject P1517: yearly territorial series for Poland (voivodship to gmina level), units keyed by TERYT ids.
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (8 fields)
Click a field to see example values.
| Field | Type | Description |
|---|---|---|
| variable_idVariable id | string | GUS variable code identifying the specific grants measure within subject P1517.GUS variable id selecting the measured series of subject P1517 (the n1/n2 dimension combination): 151813=grants, total (targeted + grants §§ 200, 620 + grants §§ 205, 625) / total [PLN]; 151811=grants, total (targeted + grants §§ 200, 620 + grants §§ 205, 625) / investment [PLN]; 101525=targeted grants / total [PLN]; 3516=targeted grants from the state budget / total [PLN]; 149185=targeted grants from the state budget / investment [PLN]; 3517=targeted grants from the state budget for government administration tasks / total [PLN]; 3537=targeted grants from the state budget for government administration tasks / investment [PLN]; 3518=targeted grants from the state budget for own tasks / total [PLN]; 3519=targeted grants from the state budget for own tasks / investment [PLN]; 3520=targeted grants from the state budget for tasks carried out on the basis of agreements with government administration bodies / total [PLN]; 3521=targeted grants from the state budget for tasks carried out on the basis of agreements with government administration bodies / investment [PLN]; 3522=targeted grants for tasks realized on the basis of agreements between local government units / total [PLN]; 3523=targeted grants for tasks realized on the basis of agreements between local government units / investment [PLN]; 3548=grants received from appropriated funds / total [PLN]; 3549=grants received from appropriated funds / investment [PLN]; … (25 variables — GET https://bdl.stat.gov.pl/api/v1/variables?subject-id=P1517 for the full list). |
| unit_levelUnit level | integer | Territorial aggregation level, from Poland down to gmina.Territorial aggregation level: 0=Poland, 1=macroregion, 2=voivodship (województwo), 3=region, 4=subregion, 5=powiat, 6=gmina. |
| year | integer | Reference year for the yearly data value.Reference year of the value (yearly series, back to 1995 for the oldest subjects). Filters server-side via the API's year parameter. |
| unit_idUnit id | string | 12-digit BDL identifier of the territorial unit.12-digit BDL territorial-unit id (macroregion+voivodship+region+subregion+powiat+gmina+type digits). An equality filter pins the unit server-side (unit-parent-id). |
| unit_nameUnit name | string | Name of the territorial unit.Name of the territorial unit. |
| teryt_tercTeryt terc | string | TERYT TERC administrative code of the territorial unit.TERYT TERC territorial code derived from the unit id (2 digits = voivodship, 4 = powiat, 7 = gmina incl. type digit; empty for NUTS-only units). |
| value | number | Measured value of the selected grants variable, in PLN.Measured value of the selected grants variable, in PLN. |
| attr_idAttr id | integer | GUS attribute code flagging data quality or annotation for the value.GUS value-attribute id (data quality/annotation flag). |
Schema captured from bdl 7 days ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (8 records)
| variable_id | unit_level | year | unit_id | unit_name | teryt_terc | value | attr_id |
|---|---|---|---|---|---|---|---|
| 151813 | — | 2009 | 000000000000 | POLAND | — | 5174023705.53 | 1 |
| 151813 | — | 2010 | 000000000000 | POLAND | — | 6410131926.92 | 1 |
| 151813 | — | 2011 | 000000000000 | POLAND | — | 6922196504.23 | 1 |
| 151813 | — | 2012 | 000000000000 | POLAND | — | 5688991599.78 | 1 |
| 151813 | — | 2013 | 000000000000 | POLAND | — | 5906167301.41 | 1 |
| 151813 | — | 2014 | 000000000000 | POLAND | — | 6155781778.3 | 1 |
| 151813 | — | 2015 | 000000000000 | POLAND | — | 5689155332.27 | 1 |
| 151813 | — | 2016 | 000000000000 | POLAND | — | 5245106763.76 | 1 |
Live sample captured at profiling time — values may have changed upstream.
Verification Status
Using the API
Configuration
- Base URL
- https://bdl.stat.gov.pl/api/v1/subjects/P1517
License
- ✓ Redistributable
- ✓ Attribution required
Query examples
curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/151813?page-size=10&format=json&lang=en'Yearly values of variable 151813 (grants, total (targeted + grants §§ 200, 620 + grants §§ 205, 625) / total [PLN]) per territorial unit. Filters: unit-level=0–6, year=YYYY, unit-parent-id={12-digit unit id}; page-size ≤ 100. Anonymous limits: 5 req/s, 100 req/15 min.
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.