{"id":"f3a5ee16-1a25-4e06-ac91-c57e9b619f2a","type":"API","name":"Expenditure of powiats budgets - Expenditure in Division: 852- Social care and 853 - Other tasks of social policy","slug":"expenditure-of-powiats-budgets-expenditure-in-division-852-social-care-and-853-other-tasks-of-social-policy","description":"PUBLIC FINANCE › ARCHIVAL DATA. Local Data Bank (BDL) subject P2372: 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#P2372","extraction_confidence":"0.40","created_at":"2026-07-25T11:32:42.573Z","updated_at":"2026-07-25T12:03:43.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":"'852':8A,49A '853':12A,53A 'and':52A 'archiv':20B 'archival':61B 'bank':24B,65B 'bdl':25B,66B 'budget':4A 'budgets':45A 'by':80B 'care':10A,51A 'data':21B,23B,62B,64B 'divis':7A 'division':48A 'expenditur':1A,5A 'expenditure':42A,46A 'financ':19B 'finance':60B 'for':72B 'gmina':35B,76B 'id':41B 'ids':82B 'in':47A 'key':38B 'keyed':79B 'level':36B,77B 'local':22B,63B 'of':43A,56A 'other':54A 'p2372':27B,68B 'poland':32B,73B 'polici':17A 'policy':58A 'powiat':3A 'powiats':44A 'public':18B,59B 'seri':30B 'series':71B 'social':9A,16A,50A,57A 'subject':26B,67B 'task':14A 'tasks':55A 'territori':29B 'territorial':70B 'teryt':40B,81B 'to':75B 'unit':37B 'units':78B 'voivodship':33B,74B 'year':28B 'yearly':69B","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-26T08:20:39.301Z","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/59700?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/59700?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/P2372","source":"base_url","runnable":false},{"kind":"landing","label":"Open source record","method":"GET","url":"https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P2372","source":"primary_source","runnable":false}],"formats":[]},"api_details":{"id":"52e1ccad-bf62-4f57-8fdd-1f3a5390c36b","entry_id":"f3a5ee16-1a25-4e06-ac91-c57e9b619f2a","base_url":"https://bdl.stat.gov.pl/api/v1/subjects/P2372","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/P2372","created_at":"2026-07-25T11:32:42.730Z","updated_at":"2026-07-25T11:32:42.730Z"},"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":"409d3a15-3f16-4812-bd02-3933d05f3c52","entry_id":"f3a5ee16-1a25-4e06-ac91-c57e9b619f2a","profile_source":"bdl","profile_kind":"dataset","dataset_id":"P2372","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 P2372 (the n1/n2 dimension combination): 59700=total [PLN]; 59699=property expenditure, total [PLN]; 59698=investment property expenditure [PLN]; 101478=current expenditure, total [PLN]; 101479=current expenditure on wages and salaries [PLN]; 101480=current expenditure on purchase of materials and services [PLN]; 59692=grants total [PLN]; 59694=benefits for natural persons [PLN]; 59701=current expenditure of budgetary units, total [PLN]; 59697=current expenditure of budgetary entities on wages and salaries [PLN]; 59693=current expenditure of budgetary entities on purchase of materials and services [PLN]; 59695=expenditure in chapter 85202 - Social welfare houses [PLN]; 59696=expenditure in chapter 85201 - Care and education facilities [PLN]; 196460=expenditure in chapter 85228 - Care services and specialist care services [PLN]; 196580=expenditure in chapter 85218 - Powiat family assistance centers [PLN]; … (18 variables — GET https://bdl.stat.gov.pl/api/v1/variables?subject-id=P2372 for the full list).","enum_values":["59700","59699","59698","101478","101479","101480","59692","59694","59701","59697","59693","59695","59696","196460","196580","196462","196463","196581"]},{"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":2004,"value":2388802768,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2005,"value":2655689072,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2006,"value":2923146854,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2007,"value":3116886150.53,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2008,"value":3574346304.08,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2009,"value":3756201851.93,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2010,"value":4061703343.59,"attr_id":1,"unit_id":"000000000000","unit_name":"POLAND","teryt_terc":null},{"year":2011,"value":4183415784.87,"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/59700?page-size=10&format=json&lang=en","curl":"curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/59700?page-size=10&format=json&lang=en'","label":"Values of one variable across territorial units","method":"GET","description":"Yearly values of variable 59700 (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:32:57.220Z","run_id":"61070e1e-10e5-4117-a3e3-d006d402e606","created_at":"2026-07-25T11:32:57.220Z","updated_at":"2026-07-25T11:32:57.220Z","license_raw":"CC BY 4.0 (GUS BDL)","license_id":"cc-by-4.0","previewable":true},"datasets":[],"limits":[]}