{"id":"f279152a-d6e4-4ef7-9291-d80c4a74f29a","type":"API","name":"Grants","slug":"grants","description":"PUBLIC FINANCE › REVENUE OF GMINAS AND CITIES WITH POWIAT STATUS BUDGETS. Local Data Bank (BDL) subject P2624: 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":"VERIFIED","tags":[],"logo_url":"https://api.stat.gov.pl/Content/images/favicon.ico","primary_source_url":"https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P2624","extraction_confidence":"0.40","created_at":"2026-07-25T11:33:47.974Z","updated_at":"2026-09-07T08:35:00.134Z","last_verified_at":"2026-09-06T18:32:55.558Z","deprecated_at":null,"ranking_score":60,"last_ranked_at":"2026-09-03T18:57:48.124Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-09-07T08:35:00.134Z","search_vector":"'a':161B 'access':40B,159B 'across':112B,231B 'administr':95B,116B 'administrative':214B,235B 'analysi':104B 'analysis':223B 'and':132B,195B,228B 'api':39B,158B 'bank':5A,21B,52B,124A,140B,171B 'bdl':22B,53B,141B,172B 'broken':87B,206B 'budget':18B,78B 'budgets':137B,197B 'by':155B,174B,193B,217B 'central':57B,176B 'citi':14B,77B 'cities':133B 'city':196B 'classifi':65B 'classified':184B 'code':100B 'codes':219B 'cover':69B 'covers':188B 'data':4A,20B,51B,102B,123A,139B,170B,221B 'dataset':64B,183B 'down':207B 'financ':9B,68B,108B 'finance':128B,187B,227B 'for':147B 'from':166B,190B,208B 'gmina':12B,32B,75B,92B,151B,194B,211B 'gminas':131B 'govern':107B 'government':226B 'grant':1A,2A,72B 'grants':120A,121A,191B 'gus':62B,181B 'id':38B 'identifi':97B 'identified':216B 'ids':157B 'intergovernment':110B 'intergovernmental':229B 'it':201B 'key':35B 'keyed':154B 'level':33B,93B,152B,212B 'local':3A,19B,50B,106B,122A,138B,169B,225B 'maintain':54B 'maintained':173B 'of':130B,179B,224B 'offic':59B 'office':178B 'over':237B 'p2624':7A,24B,126A,143B 'poland':29B,48B,61B,113B,148B,167B,180B,232B 'powiat':16B,80B,135B,199B 'provid':83B 'provides':202B 'public':8B,67B,127B,186B 'receiv':73B 'received':192B 'revenu':10B,70B 'revenue':129B,189B 's':168B,233B 'seri':27B,46B 'series':146B,165B 'specif':45B 'specific':164B 'statist':58B,86B 'statistical':177B 'statistics':205B 'status':17B,81B,136B,200B 'structur':117B 'structure':236B 'subject':6A,23B,44B,125A,142B,163B 'subject-specif':43B 'subject-specific':162B 'support':103B 'supports':222B 'territori':26B,85B,115B 'territorial':145B,204B,234B 'teryt':37B,99B,156B,218B 'the':175B,220B 'this':182B 'time':119B,238B 'to':150B,160B,210B 'transfer':111B 'transfers':230B 'under':185B 'unit':34B,96B 'units':153B,215B 'voivodship':30B,90B,149B,209B 'with':134B,198B,213B 'year':25B,84B 'yearly':144B,203B","popularity_score":"0.0000","maintenance_score":"0.7000","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-26T11:54:00.000Z","geographic_scope":"NATIONAL","name_en":"Grants (Local Data Bank subject P2624)","description_en":"API access to a subject-specific series from Poland's Local Data Bank (BDL), maintained by the Central Statistical Office of Poland (GUS). This dataset, classified under Public Finance, covers revenue from grants received by gmina and city budgets with powiat status. It provides yearly territorial statistics broken down from voivodship to gmina level, with administrative units identified by TERYT codes. The data supports analysis of local government finance and intergovernmental transfers across Poland's territorial administrative structure over time.","native_lang":"pl","access_level":"direct","formats":[],"capability_tier":"live","trust_score":58.25,"merged_into_entry_id":null,"identity_key":"API|https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P2624|grants","upstream_ref":"bdl.stat.gov.pl:subject:P2624","access":{"level":"direct","primary":{"kind":"query","label":"Run verified request","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/subjects/P2624","source":"probe","runnable":true},"actions":[{"kind":"query","label":"Run verified request","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/subjects/P2624","source":"probe","runnable":true},{"kind":"query","label":"Values of one variable across territorial units","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/149576?unit-level=6&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":"landing","label":"Open source record","method":"GET","url":"https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P2624","source":"primary_source","runnable":false}],"formats":[]},"maturity":{"entry_id":"f279152a-d6e4-4ef7-9291-d80c4a74f29a","granularity":"entry","granularity_label":"One unit = one catalog entry. A PROXY for the SCOPE.md §4 ladder, which governs source families, not entries: a family with 400 entries moves this reading 400 times as much as a family with one. Never compare or combine with the source_family reading.","level":"joinable","level_index":5,"level_label":"Joinable","meaning":"Canonical identifiers and concepts mapped","counts_as_coverage":true,"blocked_by":null,"rungs":[{"level":"discovered","level_index":1,"label":"Discovered","meaning":"Source and metadata recorded","evidence":"membership of the named population the ladder is taken over","counts_as_coverage":false,"met":true,"reached":true,"criterion":"TRUE"},{"level":"verified","level_index":2,"label":"Verified","meaning":"Access tested successfully","evidence":"entries.verification_state = 'VERIFIED'","counts_as_coverage":false,"met":true,"reached":true,"criterion":"entries.verification_state = 'VERIFIED'"},{"level":"profiled","level_index":3,"label":"Profiled","meaning":"Schema, dimensions and licence understood","evidence":"a data profile with at least one field (entry_data_profiles.field_count > 0)","counts_as_coverage":false,"met":true,"reached":true,"criterion":"EXISTS (SELECT 1 FROM entry_data_profiles p WHERE p.entry_id = entries.id AND COALESCE(p.field_count, 0) > 0)"},{"level":"executable","level_index":4,"label":"Executable","meaning":"Queries run through Commodity","evidence":"entries.capability_tier = 'live' — today's proxy for \"queryable through us\"","counts_as_coverage":true,"met":true,"reached":true,"criterion":"entries.capability_tier = 'live'"},{"level":"joinable","level_index":5,"label":"Joinable","meaning":"Canonical identifiers and concepts mapped","evidence":"a field link to a canonical identifier whose sampled VALUES match its format","counts_as_coverage":true,"met":true,"reached":true,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match')"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em WHERE em.entry_id = entries.id)"},{"level":"guaranteed","level_index":7,"label":"Guaranteed","meaning":"Monitored against an operational reliability target","evidence":"an active reliability target with a named monitor (migration 096)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_reliability_targets rt WHERE rt.entry_id = entries.id AND rt.is_active = true)"}],"officialness":{"basis":"catalog_inherited","label":"Inherited from the upstream catalog: this item came from a trusted official government catalog, and that provenance — not per-item proof — is the warrant. Its own proof score is below 80 or it matched no registered institution (apps/worker/src/connectors/catalog/qualify-store.ts).","proof_confidence":40,"proven_threshold":80,"institution_id":"2b3815fc-d28d-444c-b8f1-906ef8cff848","definition":"CASE WHEN COALESCE(entries.is_public_sector, false) IS NOT TRUE THEN 'not_official' WHEN COALESCE(entries.official_confidence, 0) >= 80 AND entries.institution_id IS NOT NULL THEN 'per_item_proven' ELSE 'catalog_inherited' END"},"source_family":{"key":"bdl.stat.gov.pl","label":"One unit = one source family, approximated by the serving host of the entry's primary source URL (e.g. bdl.stat.gov.pl). A COMPUTED stand-in for the curated families of SCOPE.md §5, which no table holds yet. A family sits at the highest level any of its entries has reached, because a family is integrated to the depth of its deepest working integration. Never compare or combine with the entry reading."},"generated_at":"2026-09-08T14:50:06.924Z"},"api_details":{"id":"d16e03b3-3e3f-4cd2-8729-c73e0f32fb92","entry_id":"f279152a-d6e4-4ef7-9291-d80c4a74f29a","base_url":"https://bdl.stat.gov.pl/api/v1/subjects/P2624","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/P2624","created_at":"2026-07-25T11:33:48.141Z","updated_at":"2026-07-25T11:33:48.141Z"},"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"},"reuse":{"license_id":"cc-by-4.0","license_name":"Creative Commons Attribution 4.0","license_url":"https://creativecommons.org/licenses/by/4.0/","commercial_use":{"status":"yes","value":true},"redistribution":{"status":"yes","value":true},"attribution_required":{"status":"yes","value":true},"share_alike":{"status":"no","value":false},"personal_data_warning":{"status":"yes","value":true},"cache_and_mirror":{"status":"yes","value":true},"undetermined":[],"basis":"licence_text","confidence":0.95,"confidence_tier":"high","source_text":"Deed: \"Share - copy and redistribute the material in any medium or format for any purpose, even commercially\" and \"Adapt - remix, transform, and build upon the material for any purpose, even commercially\". Under the following terms: \"Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made.\" Notices: \"other rights such as publicity, privacy, or moral rights may limit how you use the material.\" Attribution is the only term listed; no ShareAlike term appears.","source_url":"https://creativecommons.org/licenses/by/4.0/","reviewed_at":null},"license_raw":"CC BY 4.0 (GUS BDL)","latest_check":{"id":"f7706e9f-bf03-4aa4-b31c-3a837d38c744","entry_id":"f279152a-d6e4-4ef7-9291-d80c4a74f29a","status":"VERIFIED","last_checked_at":"2026-09-06T18:32:55.311Z","p50_latency_ms":3381,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-07-28T04:04:56.217Z","updated_at":"2026-09-06T18:32:55.311Z","consecutive_successes":9,"probe_url":"https://bdl.stat.gov.pl/api/v1/subjects/P2624","probe_method":"GET","probe_http_status":200,"probe_content_type":"application/json; charset=utf-8","probe_succeeded_at":"2026-09-06T18:32:55.311Z"},"data_profile":{"id":"7c951786-8be5-4cd1-abb6-ae1c9aac3aa1","entry_id":"f279152a-d6e4-4ef7-9291-d80c4a74f29a","profile_source":"bdl","profile_kind":"dataset","dataset_id":"P2624","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 P2624 (the n1/n2 dimension combination): 149576=gminas include cities with powiat status / grants, total (targeted + grants §§ 200, 620 + grants §§ 205, 625) [PLN]; 149575=gminas include cities with powiat status / grants, total (targeted + grants §§ 200, 620 + grants §§ 205, 625) [PLN]; 149182=gminas include cities with powiat status / targeted grants [PLN]; 149179=gminas include cities with powiat status / targeted grants [PLN]; 76438=gminas include cities with powiat status / targeted grants from the state budget [PLN]; 76420=gminas include cities with powiat status / targeted grants from the state budget [PLN]; 76429=gminas include cities with powiat status / targeted grants from the state budget for government administration tasks [PLN]; 76411=gminas include cities with powiat status / targeted grants from the state budget for government administration tasks [PLN]; 76426=gminas include cities with powiat status / targeted grants from the state budget for own tasks [PLN]; 76408=gminas include cities with powiat status / targeted grants from the state budget for own tasks [PLN]; 76423=gminas include cities with powiat status / targeted grants from the state budget for tasks carried out on the basis of agreements with government administration bodies [PLN]; 76441=gminas include cities with powiat status / targeted grants from the state budget for tasks carried out on the basis of agreements with government administration bodies [PLN]; 76435=gminas include cities with powiat status / targeted grants received from appropriated funds [PLN]; 76417=gminas include cities with powiat status / targeted grants received from appropriated funds [PLN]; 76432=gminas include cities with powiat status / targeted grants for tasks realized on the basis of agreements between local government units [PLN]; … (72 variables — GET https://bdl.stat.gov.pl/api/v1/variables?subject-id=P2624 for the full list).","enum_values":["149576","149575","149182","149179","76438","76420","76429","76411","76426","76408","76423","76441","76435","76417","76432","76414","1621997","1653027","1653030","1653031","149570","149569","479386","479389","149568","149567","149184","149181","76436","76418","76427","76409","76424","76406","76421","76439","76433","76415","76430","76412","1621999","1653028","1653032","1653033","149574","149573","479384","479387","149566","149577","149183","149180","76437","76419","76428","76410","76425","76407","76422","76440","76434","76416","76431","76413","1622001","1653029","1653034","1653035","149572","149571","479385","479388"]},{"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":2009,"value":14217002.87,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"},{"year":2010,"value":12943665.67,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"},{"year":2011,"value":10382564.69,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"},{"year":2012,"value":12205655.14,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"},{"year":2013,"value":13400205.99,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"},{"year":2014,"value":19650456.72,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"},{"year":2015,"value":14333164.55,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"},{"year":2016,"value":29255113.44,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"149576"}],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/149576?unit-level=6&page-size=10&format=json&lang=en","curl":"curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/149576?unit-level=6&page-size=10&format=json&lang=en'","label":"Values of one variable across territorial units","method":"GET","description":"Yearly values of variable 149576 (gminas include cities with powiat status / grants, total (targeted + grants §§ 200, 620 + grants §§ 205, 625) [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-09-01T19:13:39.463Z","run_id":"a0f43dd6-944f-4562-85e0-d025663333a8","created_at":"2026-07-25T11:53:20.293Z","updated_at":"2026-09-01T19:13:39.463Z","license_raw":"CC BY 4.0 (GUS BDL)","license_id":"cc-by-4.0","consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"previewable":true,"personal_data":{"status":"none","basis":"no_person_column_cited","grain":"none","allowed":true,"columns":{"direct_identifiers":[],"family_names":[],"given_names":[],"attributes":[],"unresolved_names":[],"measures":[],"entity_identifiers":[]},"publication":null,"publication_evidence":null,"notice":"personal data: no cited column names a natural person (the cited columns are all this reads)"}},"datasets":[],"limits":[],"manifest":{"answer_sha256":"dd5bc6dbda9310701fd039f7e7cbb2fa6c60125e5b7225c795186e212b01a2fd","answer_sha256_rule":"sha256 (hex, UTF-8) of JSON.stringify(this body) after deleting the keys listed in manifest.stamped_keys from manifest, and deleting manifest itself if it is then empty. The hash was computed before the stamp existed, so no field of the stamp is inside it.","stamped_keys":["answer_sha256","answer_sha256_rule","stamped_keys","row_count","row_count_basis","live","live_basis","created_at","created_at_basis","durable_citation"],"row_count":29,"row_count_basis":"Objects that are elements of a JSON array anywhere in this body, excluding manifest. Not a claim about which collection is the answer. Largest single collection: data_profile.fields[] (8 rows).","live":false,"live_basis":"This body was replayed from the worker edge cache (x-edge-cache: hit); the bytes, and therefore answer_sha256, are those of the execution that filled the cache.","created_at":"2026-09-08T14:50:08.565Z","created_at_basis":"When this response body was assembled, deliberately OUTSIDE the hashed bytes so the same answer hashes identically on every request. Not the upstream read time — that is provenance[].retrieved_at. A zone-cached replay carries the assembly time, not your receipt time.","durable_citation":"This manifest is produced at response time and is NOT stored. A durable, replayable citation is persisted only on an explicit cite: GET /api/v1/entries/{id-or-slug}/evidence, or the MCP cite_query tool. Both are entry-scoped, because evidence_manifests is entry-shaped; a domain answer spanning several sources has no single entry and cannot be persisted through that path."}}