{"id":"4c082963-8f78-4412-bfda-65f04658925e","type":"API","name":"Dwelling stocks - Residential buildings sold to natural persons","slug":"dwelling-stocks-residential-buildings-sold-to-natural-persons","description":"HOUSING ECONOMY AND MUNICIPAL INFRASTRUCTURE › ARCHIVAL DATA. Local Data Bank (BDL) subject P1721: 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#P1721","extraction_confidence":"0.40","created_at":"2026-07-25T14:23:43.567Z","updated_at":"2026-07-25T16:11:23.909Z","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":"'and':46B 'archiv':14B 'archival':49B 'bank':18B,53B 'bdl':19B,54B 'build':4A 'buildings':39A 'by':68B 'data':15B,17B,50B,52B 'dwell':1A 'dwelling':36A 'economi':10B 'economy':45B 'for':60B 'gmina':29B,64B 'hous':9B 'housing':44B 'id':35B 'ids':70B 'infrastructur':13B 'infrastructure':48B 'key':32B 'keyed':67B 'level':30B,65B 'local':16B,51B 'municip':12B 'municipal':47B 'natur':7A 'natural':42A 'p1721':21B,56B 'person':8A 'persons':43A 'poland':26B,61B 'residenti':3A 'residential':38A 'seri':24B 'series':59B 'sold':5A,40A 'stock':2A 'stocks':37A 'subject':20B,55B 'territori':23B 'territorial':58B 'teryt':34B,69B 'to':41A,63B 'unit':31B 'units':66B 'voivodship':27B,62B 'year':22B 'yearly':57B","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-26T14:49:41.154Z","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/395?unit-level=6&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/395?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":"query","label":"API base URL","method":"GET","url":"https://bdl.stat.gov.pl/api/v1/subjects/P1721","source":"base_url","runnable":false},{"kind":"landing","label":"Open source record","method":"GET","url":"https://bdl.stat.gov.pl/bdl/dane/podgrup/temat#P1721","source":"primary_source","runnable":false}],"formats":[]},"api_details":{"id":"bae3a96d-76af-4620-95ad-203419e9910a","entry_id":"4c082963-8f78-4412-bfda-65f04658925e","base_url":"https://bdl.stat.gov.pl/api/v1/subjects/P1721","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/P1721","created_at":"2026-07-25T14:23:43.736Z","updated_at":"2026-07-25T14:23:43.736Z"},"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":"b111e7d0-f7f2-450c-a963-68b78dc755ff","entry_id":"4c082963-8f78-4412-bfda-65f04658925e","profile_source":"bdl","profile_kind":"dataset","dataset_id":"P1721","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 P1721 (the n1/n2 dimension combination): 395=buildings [-]; 396=dwellings [-]; 397=useful floor area of dwellings [m2].","enum_values":["395","396","397"]},{"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":1995,"value":0,"attr_id":0,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011"},{"year":1996,"value":0,"attr_id":0,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011"},{"year":1997,"value":0,"attr_id":0,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011"},{"year":1998,"value":0,"attr_id":0,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011"},{"year":1999,"value":1,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011"},{"year":2000,"value":0,"attr_id":0,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011"},{"year":2001,"value":1,"attr_id":1,"unit_id":"011212001011","unit_name":"Bochnia","teryt_terc":"1201011"},{"year":1995,"value":0,"attr_id":0,"unit_id":"011212001022","unit_name":"Bochnia","teryt_terc":"1201022"}],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://bdl.stat.gov.pl/api/v1/data/by-variable/395?unit-level=6&page-size=10&format=json&lang=en","curl":"curl -s 'https://bdl.stat.gov.pl/api/v1/data/by-variable/395?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 395 (buildings [-]) 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-25T14:24:18.642Z","run_id":"79c2e522-9864-445c-853e-a597d4eac0e1","created_at":"2026-07-25T14:24:18.642Z","updated_at":"2026-07-25T14:24:18.642Z","license_raw":"CC BY 4.0 (GUS BDL)","license_id":"cc-by-4.0","previewable":true},"datasets":[],"limits":[]}