{"id":"c2849c10-d4ab-4393-941c-d0df54fa068b","type":"API","name":"Gminas and powiats expenditure for public debt service to 1000 zl total revenue budgets","slug":"gminas-and-powiats-expenditure-for-public-debt-service-to-1000-zl-total-revenue-budgets","description":"PUBLIC FINANCE › REVENUE AND EXPENDITURE OF LOCAL GOVERNMENT UNITS (LGUs) - INDICATORS. Local Data Bank (BDL) subject P3315: yearly territorial series for Poland (voivodship to gmina level), units keyed by TERYT ids.","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"https://api.stat.gov.pl/Home/BdlApi","docs_url":"https://api.stat.gov.pl/Home/BdlApi","repo_url":null,"status":"ACTIVE","verification_state":"UNVERIFIED","tags":[],"logo_url":"https://api.stat.gov.pl/Content/images/favicon.ico","primary_source_url":"https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P3315","extraction_confidence":"0.40","created_at":"2026-07-25T11:35:33.595Z","updated_at":"2026-07-25T12:07:50.152Z","last_verified_at":null,"deprecated_at":null,"ranking_score":0,"last_ranked_at":null,"last_seen_at":null,"last_validated_at":null,"last_uptime_at":null,"search_vector":"'1000':10A,55A 'and':47A,63B 'bank':28B,73B 'bdl':29B,74B 'budget':14A 'budgets':59A 'by':88B 'data':27B,72B 'debt':7A,52A 'expenditur':4A,19B 'expenditure':49A,64B 'financ':16B 'finance':61B 'for':50A,80B 'gmina':1A,39B,84B 'gminas':46A 'govern':22B 'government':67B 'id':45B 'ids':90B 'indic':25B 'indicators':70B 'key':42B 'keyed':87B 'level':40B,85B 'lgus':24B,69B 'local':21B,26B,66B,71B 'of':65B 'p3315':31B,76B 'poland':36B,81B 'powiat':3A 'powiats':48A 'public':6A,15B,51A,60B 'revenu':13A,17B 'revenue':58A,62B 'seri':34B 'series':79B 'servic':8A 'service':53A 'subject':30B,75B 'territori':33B 'territorial':78B 'teryt':44B,89B 'to':54A,83B 'total':12A,57A 'unit':23B,41B 'units':68B,86B 'voivodship':37B,82B 'year':32B 'yearly':77B 'zl':11A,56A","popularity_score":"0.0000","maintenance_score":"0.0000","institution_id":"2b3815fc-d28d-444c-b8f1-906ef8cff848","institution_type":"STATISTICS_OFFICE","country_code":"PL","official_confidence":40,"proof_summary":"40% - Official domain (stat.gov.pl)","source_seed_url":null,"is_public_sector":true,"published_at":"2026-07-26T10:17:00.000Z","geographic_scope":"NATIONAL","name_en":null,"description_en":null,"native_lang":null,"access_level":"documented","formats":[],"capability_tier":"live","trust_score":33.25,"access":{"level":"documented","primary":{"kind":"query","label":"Values of one variable across territorial units","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/396246?page-size=10&format=json&lang=en","source":"query_example","runnable":true,"direct":false},"actions":[{"kind":"query","label":"Values of one variable across territorial units","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/396246?page-size=10&format=json&lang=en","source":"query_example","runnable":true,"direct":false},{"kind":"query","label":"Documentation","method":"GET","url":"https://api.stat.gov.pl/Home/BdlApi","source":"query_example","runnable":true,"direct":false},{"kind":"query","label":"API base URL","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/subjects/P3315","source":"base_url","runnable":false},{"kind":"landing","label":"Open source record","method":"GET","url":"https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P3315","source":"primary_source","runnable":false}],"formats":[]},"api_details":{"id":"3b65da9f-4bbe-45a7-9cab-82ac4dfba009","entry_id":"c2849c10-d4ab-4393-941c-d0df54fa068b","base_url":"https://bdl.stat.gov.pl/api/v1/subjects/P3315","openapi_url":null,"graphql_url":null,"api_version":null,"spec_format":null,"endpoints_count":null,"endpoints":[],"rate_limit_info":null,"free_tier_limits":null,"ping_url":"https://bdl.stat.gov.pl/api/v1/subjects/P3315","created_at":"2026-07-25T11:35:33.768Z","updated_at":"2026-07-25T11:35:33.768Z"},"dataset_details":null,"license":{"id":"cc-by-4.0","spdx_id":"CC-BY-4.0","name":"Creative Commons Attribution 4.0","url":"https://creativecommons.org/licenses/by/4.0/","is_open":true,"is_redistributable":true,"requires_attribution":true,"category":"cc","notes":null,"created_at":"2026-06-12T16:29:19.729Z"},"license_raw":"CC BY 4.0 (GUS BDL)","latest_check":null,"data_profile":{"id":"b64e660e-910f-43f0-bf97-46f4b626a9af","entry_id":"c2849c10-d4ab-4393-941c-d0df54fa068b","profile_source":"bdl","profile_kind":"dataset","dataset_id":"P3315","fields":[{"name":"variable_id","role":"parameter","type":"string","label":null,"param_in":"path","required":true,"description":"GUS variable id selecting the measured series of subject P3315 (the n1/n2 dimension combination): 396246=total [-].","enum_values":["396246"]},{"name":"unit_level","role":"parameter","type":"integer","label":null,"param_in":"query","description":"Territorial aggregation level: 0=Poland, 1=macroregion, 2=voivodship (województwo), 3=region, 4=subregion, 5=powiat, 6=gmina.","enum_values":["0","1","2","3","4","5","6"]},{"name":"year","role":"parameter","type":"integer","label":null,"param_in":"query","description":"Reference year of the value (yearly series, back to 1995 for the oldest subjects). Filters server-side via the API's year parameter."},{"name":"unit_id","type":"string","label":null,"description":"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)."},{"name":"unit_name","type":"string","label":null,"description":null},{"name":"teryt_terc","type":"string","label":null,"description":"TERYT TERC territorial code derived from the unit id (2 digits = voivodship, 4 = powiat, 7 = gmina incl. type digit; empty for NUTS-only units)."},{"name":"value","type":"number","label":null,"description":null},{"name":"attr_id","type":"integer","label":null,"description":"GUS value-attribute id (data quality/annotation flag)."}],"field_count":8,"sample_records":[{"year":2008,"value":9.9,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2009,"value":9.3,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2010,"value":11.1,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2011,"value":15.8,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2012,"value":19.8,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2013,"value":15.8,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2014,"value":12.7,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2015,"value":10.5,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null}],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/396246?page-size=10&format=json&lang=en","curl":"curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/396246?page-size=10&format=json&lang=en'","label":"Values of one variable across territorial units","method":"GET","description":"Yearly values of variable 396246 (total [-]) 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."},{"url":"https://api.stat.gov.pl/Home/BdlApi","curl":"curl -s 'https://api.stat.gov.pl/Home/BdlApi'","label":"Documentation","method":"GET","description":"GUS BDL API reference (endpoints, parameters, limits, CC BY 4.0 licence)."}],"status":"ok","error_message":null,"profiled_at":"2026-07-25T12:07:49.343Z","run_id":"5577bfa8-eeac-4515-9a08-c0936a271d79","created_at":"2026-07-25T12:07:49.343Z","updated_at":"2026-07-25T12:07:49.343Z","license_raw":"CC BY 4.0 (GUS BDL)","license_id":"cc-by-4.0","previewable":true},"datasets":[],"limits":[]}