{"id":"f872d4ea-8234-409c-a426-dd526653a5ba","type":"API","name":"Sewage system","slug":"sewage-system","description":"HOUSING ECONOMY AND MUNICIPAL INFRASTRUCTURE › NETWORK DEVICES. Local Data Bank (BDL) subject P1601: 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#P1601","extraction_confidence":"0.40","created_at":"2026-07-25T14:24:47.912Z","updated_at":"2026-09-07T15:59:04.312Z","last_verified_at":"2026-09-06T13:44:35.016Z","deprecated_at":null,"ranking_score":55,"last_ranked_at":"2026-08-30T20:01:47.256Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-09-07T15:59:04.312Z","search_vector":"'access':33B,101B,148B 'accessible':216B 'across':110B,225B 'administr':79B 'administrative':194B 'analysi':105B 'analysis':220B 'and':120B,166B,204B,213B 'api':31B,146B 'authent':103B 'authentication':218B 'bank':12B,42B,43B,127B,157B,158B 'bdl':13B,46B,128B,161B 'by':142B,197B,206B 'categori':54B 'category':169B 'code':84B 'codes':199B 'cover':47B 'covering':162B 'danych':44B,159B 'data':11B,41B,86B,126B,156B,201B 'develop':109B 'development':224B 'devic':9B,57B 'devices':124B,172B 'down':187B 'economi':4B,50B 'economy':119B,165B 'for':134B 'freeli':100B 'freely':215B 'from':184B 'gmina':23B,75B,138B,190B 'gus':92B,207B 'hous':3B,49B 'housing':118B,164B 'id':29B 'identifi':81B 'identified':196B 'ids':144B 'infrastructur':7B,53B,108B 'infrastructure':122B,168B,223B 'is':202B,214B 'it':178B 'key':26B 'keyed':141B 'level':24B,77B,139B,192B 'local':10B,40B,125B,155B 'lokalnych':45B,160B 'maintain':90B 'maintained':205B 'municip':6B,52B,76B 'municipal':121B,167B 'municipality':191B 'nation':71B,95B 'national':186B,210B 'network':8B,56B,123B,171B 'of':152B,221B 'offer':64B 'offers':179B 'offic':97B 'office':212B 'over':229B 'p1601':15B,36B,130B,151B 'poland':20B,38B,135B,153B 'polish':94B,111B,209B,226B 'provid':32B 'provides':147B 'publish':88B 'published':203B 'relat':58B 'related':173B 's':154B 'seri':18B,68B 'series':133B,183B 'sewag':1A,61B,107B 'sewage':116A,176B,222B 'specif':55B 'specifically':170B 'statist':67B,96B 'statistical':182B,211B 'subject':14B,35B,129B,150B 'support':104B 'supporting':219B 'system':2A,62B,117A,177B 'territori':17B,66B,112B 'territorial':132B,181B,227B 'teryt':28B,83B,143B,198B 'the':163B,175B,185B,189B,200B,208B 'this':145B 'time':115B,230B 'to':137B,149B,174B,188B 'unit':25B,80B,113B 'units':140B,195B,228B 'voivodship':21B,136B 'with':193B 'without':102B,217B 'year':16B,65B 'yearly':131B,180B","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-26T20:12:00.000Z","geographic_scope":"NATIONAL","name_en":null,"description_en":"This API provides access to subject P1601 of Poland's Local Data Bank (Bank Danych Lokalnych, BDL), covering the housing economy and municipal infrastructure category, specifically network devices related to the sewage system. It offers yearly territorial statistical series from the national down to the gmina (municipality) level, with administrative units identified by TERYT codes. The data is published and maintained by GUS, the Polish national statistical office, and is freely accessible without authentication, supporting analysis of sewage infrastructure development across Polish territorial units 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#P1601|sewage system","upstream_ref":"bdl.stat.gov.pl:subject:P1601","access":{"level":"direct","primary":{"kind":"query","label":"Run verified request","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/subjects/P1601","source":"probe","runnable":true},"actions":[{"kind":"query","label":"Run verified request","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/subjects/P1601","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/494?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#P1601","source":"primary_source","runnable":false}],"formats":[]},"maturity":{"entry_id":"f872d4ea-8234-409c-a426-dd526653a5ba","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-08T18:32:28.799Z"},"api_details":{"id":"ea98bfc5-6bd3-4831-b2df-f86742df37a8","entry_id":"f872d4ea-8234-409c-a426-dd526653a5ba","base_url":"https://bdl.stat.gov.pl/api/v1/subjects/P1601","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/P1601","created_at":"2026-07-25T14:24:48.076Z","updated_at":"2026-07-25T14:24:48.076Z"},"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":"5100f165-036a-45cb-8f18-f9e76393616c","entry_id":"f872d4ea-8234-409c-a426-dd526653a5ba","status":"VERIFIED","last_checked_at":"2026-09-06T13:44:34.717Z","p50_latency_ms":3009,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-07-27T23:09:10.717Z","updated_at":"2026-09-06T13:44:34.717Z","consecutive_successes":10,"probe_url":"https://bdl.stat.gov.pl/api/v1/subjects/P1601","probe_method":"GET","probe_http_status":200,"probe_content_type":"application/json; charset=utf-8","probe_succeeded_at":"2026-09-06T13:44:34.717Z"},"data_profile":{"id":"2cd13a51-db09-4039-8af9-fd9c04928213","entry_id":"f872d4ea-8234-409c-a426-dd526653a5ba","profile_source":"bdl","profile_kind":"dataset","dataset_id":"P1601","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 P1601 (the n1/n2 dimension combination): 494=length of active sewage network [km]; 8898=length of working sewage network administrated by the gmina [km]; 8899=length of active sewage network administrated by the gmina, including network operated by public utility entities [km]; 495=connections leading to residential buildings and collective accomodation facilities [pcs]; 475706=sewage network breakdowns [pcs]; 475707=domestic wastewater discharged by sewage network [dam3]; 475708=untreated wastewater [dam3]; 498=dwellings in residential buildings newly connected to sewerage system [-]; 497=wastewater treated discharged [dam3]; 496=population using the sewage system in urban areas [person]; 9153=population using the sewage system [person]; 1641700=population using the sewage network in the countryside [person]; 1725251=number of sewage system failures per 1 km of sewage system [pcs].","enum_values":["494","8898","8899","495","475706","475707","475708","498","497","496","9153","1641700","1725251"],"description_en":"GUS variable code identifying the specific measured sewage-system indicator."},{"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"],"description_en":"Territorial aggregation level, from country (0) down to gmina (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.","description_en":"Reference year for the yearly data value."},{"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).","description_en":"12-digit BDL identifier of the territorial unit."},{"name":"unit_name","type":"string","label":null,"description":null,"description_en":"Name of the territorial unit, e.g. town or gmina."},{"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).","description_en":"TERYT TERC code of the territorial unit derived from unit_id."},{"name":"value","type":"number","label":null,"description":null,"description_en":"Numeric value of the selected sewage-system indicator."},{"name":"attr_id","type":"integer","label":null,"description":"GUS value-attribute id (data quality/annotation flag).","description_en":"GUS attribute code flagging data quality or notes for the value."}],"field_count":8,"sample_records":[{"year":1995,"value":48,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"},{"year":1996,"value":48,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"},{"year":1997,"value":48.1,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"},{"year":1998,"value":48.3,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"},{"year":1999,"value":55.9,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"},{"year":2000,"value":55.9,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"},{"year":2001,"value":58.6,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"},{"year":2002,"value":65.9,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011","unit_level":"6","variable_id":"494"}],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/494?unit-level=6&page-size=10&format=json&lang=en","curl":"curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/494?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 494 (length of active sewage network [km]) 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-04T13:47:44.916Z","run_id":"5e2b1cc3-39b4-4c6c-9f6b-307d55f2c7f0","created_at":"2026-07-25T16:19:54.198Z","updated_at":"2026-09-04T13:47:44.916Z","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":"89ac844e956df64e9986713d94fd4fd38c86ba72acae13b9e8dcc15bfcb32004","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-08T18:33:47.409Z","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."}}