Own revenue of gmina budgets
This API from Poland's Local Data Bank (Bank Danych Lokalnych, BDL), maintained by the Polish Central Statistical Office (GUS), provides yearly territorial statistics under subject P2622, covering own revenue of gmina (municipality) and city-with-powiat-status budgets. Data are organized hierarchically from voivodship down to gmina level, with administrative units identified by TERYT codes. The dataset is part of Poland's broader public-finance statistics collection within BDL and supports analysis of local government fiscal capacity over time across the country's territorial divisions. Access is free and does not require authentication.PUBLIC FINANCE › REVENUE OF GMINAS AND CITIES WITH POWIAT STATUS BUDGETS. Local Data Bank (BDL) subject P2622: 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 revenue measure in subject P2622.GUS variable id selecting the measured series of subject P2622 (the n1/n2 dimension combination): 76070=gminas include cities with powiat status / grand total [PLN]; 76067=gminas include cities with powiat status / tax revenue - agricultural tax [PLN]; 101127=gminas include cities with powiat status / tax revenue - forest tax [PLN]; 76077=gminas include cities with powiat status / tax revenue - tax on real estate [PLN]; 76074=gminas include cities with powiat status / tax revenue - tax on means of transport [PLN]; 1601740=gminas include cities with powiat status / tax revenue - inheritance and donation tax [PLN]; 76040=gminas include cities with powiat status / tax revenue - tax on civil law transactions [PLN]; 395080=gminas include cities with powiat status / tax revenue - tax on business of natural persons paid by tax card [PLN]; 77174=gminas include cities with powiat status / tax revenue, total [PLN]; 76049=gminas include cities with powiat status / shares in taxes for state budget revenue, total [PLN]; 76046=gminas include cities with powiat status / shares in taxes for state budget revenue, personal income tax [PLN]; 76043=gminas include cities with powiat status / shares in taxes for state budget revenue, corporation income tax [PLN]; 76061=gminas include cities with powiat status / income from stamp duty [PLN]; 395083=gminas include cities with powiat status / income from mining fee [PLN]; 76052=gminas include cities with powiat status / other income - income from services [PLN]; … (81 variables — GET https://bdl.stat.gov.pl/api/v1/variables?subject-id=P2622 for the full list). |
| unit_levelUnit level | integer | Territorial aggregation level, from 0 (Poland) to 6 (gmina).Territorial aggregation level: 0=Poland, 1=macroregion, 2=voivodship (województwo), 3=region, 4=subregion, 5=powiat, 6=gmina. |
| year | integer | Calendar year the revenue value refers to.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 territorial unit identifier.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, e.g. gmina or city.Name of the territorial unit, e.g. gmina or city. |
| teryt_tercTeryt terc | string | TERYT TERC administrative code for 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 | Revenue amount for the given variable, unit and year, in PLN.Revenue amount for the given variable, unit and year, in PLN. |
| attr_idAttr id | integer | GUS attribute code flagging data quality or annotation status.GUS value-attribute id (data quality/annotation flag). |
Schema captured from bdl 21 hours 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 |
|---|---|---|---|---|---|---|---|
| 76070 | 6 | 1995 | 011212001011 | Bochnia | 1201011 | 6534141 | 11 |
| 76070 | 6 | 1996 | 011212001011 | Bochnia | 1201011 | 8274883 | 1 |
| 76070 | 6 | 1997 | 011212001011 | Bochnia | 1201011 | 9465485 | 1 |
| 76070 | 6 | 1998 | 011212001011 | Bochnia | 1201011 | 11063816 | 1 |
| 76070 | 6 | 1999 | 011212001011 | Bochnia | 1201011 | 18350502 | 11 |
| 76070 | 6 | 2000 | 011212001011 | Bochnia | 1201011 | 22344045 | 1 |
| 76070 | 6 | 2001 | 011212001011 | Bochnia | 1201011 | 23459223 | 1 |
| 76070 | 6 | 2002 | 011212001011 | Bochnia | 1201011 | 24546085 | 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/P2622
License
- ✓ Redistributable
- ✓ Attribution required
Query examples
curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/76070?unit-level=6&page-size=10&format=json&lang=en'Yearly values of variable 76070 (gminas include cities with powiat status / grand 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.