{"id":"ab390677-e2a4-47c7-9423-80bfbc37e6cc","type":"API","name":"Expenditure of powiats budgets - Expenditure on public safety","slug":"expenditure-of-powiats-budgets-expenditure-on-public-safety","description":"PUBLIC FINANCE › ARCHIVAL DATA. Local Data Bank (BDL) subject P1546: 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#P1546","extraction_confidence":"0.40","created_at":"2026-07-25T11:15:20.273Z","updated_at":"2026-07-25T12:03:40.521Z","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":"'archiv':11B 'archival':43B 'bank':15B,47B 'bdl':16B,48B 'budget':4A 'budgets':36A 'by':62B 'data':12B,14B,44B,46B 'expenditur':1A,5A 'expenditure':33A,37A 'financ':10B 'finance':42B 'for':54B 'gmina':26B,58B 'id':32B 'ids':64B 'key':29B 'keyed':61B 'level':27B,59B 'local':13B,45B 'of':34A 'on':38A 'p1546':18B,50B 'poland':23B,55B 'powiat':3A 'powiats':35A 'public':7A,9B,39A,41B 'safeti':8A 'safety':40A 'seri':21B 'series':53B 'subject':17B,49B 'territori':20B 'territorial':52B 'teryt':31B,63B 'to':57B 'unit':28B 'units':60B 'voivodship':24B,56B 'year':19B 'yearly':51B","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-25T19:49:53.922Z","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/7030?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/7030?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/P1546","source":"base_url","runnable":false},{"kind":"landing","label":"Open source record","method":"GET","url":"https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P1546","source":"primary_source","runnable":false}],"formats":[]},"api_details":{"id":"9b9b93c3-0488-4bf0-b7f7-f0a24987589a","entry_id":"ab390677-e2a4-47c7-9423-80bfbc37e6cc","base_url":"https://bdl.stat.gov.pl/api/v1/subjects/P1546","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/P1546","created_at":"2026-07-25T11:15:20.445Z","updated_at":"2026-07-25T11:15:20.445Z"},"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":"48f08326-6c54-4dc9-a2f5-787b8a3921fa","entry_id":"ab390677-e2a4-47c7-9423-80bfbc37e6cc","profile_source":"bdl","profile_kind":"dataset","dataset_id":"P1546","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 P1546 (the n1/n2 dimension combination): 7030=total [PLN]; 7035=property expenditure, total [PLN]; 7036=investment property expenditure [PLN]; 7031=benefits for natural persons [PLN]; 7032=current expenditure of budgetary units, total [PLN]; 7033=current expenditure of budgetary entities on wages and salaries [PLN]; 7034=current expenditure of budgetary entities on purchase of materials and services [PLN].","enum_values":["7030","7035","7036","7031","7032","7033","7034"]},{"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":2000,"value":2051694068,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2000,"value":289703079,"attr_id":1,"unit_id":"010000000000","unit_name":"MACROREGION POŁUDNIOWY","teryt_terc":null},{"year":2000,"value":157382912,"attr_id":1,"unit_id":"011200000000","unit_name":"MAŁOPOLSKIE","teryt_terc":"12"},{"year":2000,"value":157382912,"attr_id":1,"unit_id":"011210000000","unit_name":"REGION MAŁOPOLSKIE","teryt_terc":null},{"year":2000,"value":47384710,"attr_id":1,"unit_id":"011212000000","unit_name":"SUBREGION KRAKOWSKI","teryt_terc":null},{"year":2000,"value":7717238,"attr_id":1,"unit_id":"011212001000","unit_name":"Powiat bocheński","teryt_terc":"1201"},{"year":2000,"value":14038616,"attr_id":1,"unit_id":"011212006000","unit_name":"Powiat krakowski","teryt_terc":"1206"},{"year":2000,"value":5006275,"attr_id":1,"unit_id":"011212008000","unit_name":"Powiat miechowski","teryt_terc":"1208"}],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/7030?page-size=10&format=json&lang=en","curl":"curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/7030?page-size=10&format=json&lang=en'","label":"Values of one variable across territorial units","method":"GET","description":"Yearly values of variable 7030 (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."},{"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-25T11:58:43.106Z","run_id":"b36c6bb0-e59c-40da-82e6-5728435bbf75","created_at":"2026-07-25T11:58:43.106Z","updated_at":"2026-07-25T11:58:43.106Z","license_raw":"CC BY 4.0 (GUS BDL)","license_id":"cc-by-4.0","previewable":true},"datasets":[],"limits":[]}