{"id":"d87ef181-956a-4234-b2bd-c8757e3feab8","type":"API","name":"Housing inventory and secondary homes rate","slug":"housing-inventory-and-secondary-homes-rate","description":"The apartment inventory map service shows the status in blue primer of the municipalities that are subject to the building regulations of the Second Housing Act (ZWG, SR 702) and are only allowed to set up second homes under strict conditions (ZWG Art. 7ff.). The Second Homes Act defines the limit…","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"http://data.europa.eu/88u/dataset/ed80ebde-99a0-4523-bc8a-4ec23426d966-bundesamt-fur-raumentwicklung-are","docs_url":"http://data.europa.eu/88u/dataset/ed80ebde-99a0-4523-bc8a-4ec23426d966-bundesamt-fur-raumentwicklung-are","repo_url":null,"status":"ACTIVE","verification_state":"VERIFIED","tags":["housing","legislation","geospatial"],"logo_url":"data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjJJREFUeNpi/P//P8NAAiaGAQajDhhwB7Cw+C86MKAOAGL7IRsF+vKPGOw1b9DXAfkeO+GWz0+bzTAPiP2Nz6LI0cwBfTFLGXqjl4Hpiw/lGD584wKLbzxrzFAXtJ6hLnA92EECXN9ISgMEAchAkGUgSy89kgPTIJA0MxXFEQ7A6ADxQVhB5A3DgzciBM1mZPZb+J9QPMfbHmZ4CDRs/1UthkuPZeEOwuZIPdnHDIpirxji7Y4wNK4LhDuWoijwNz7HkOe+i+HTd04wH91yZLFHb4XBlvsZnQOGwmvKowDkg41njcAWEBOkIHUHr2uA8YM3otSJAphDSAWgqFt42BavGmYm9cAG3EF/Fpiq5zB46F1mePGRn+HmcymiLAYlwH3V7QzhFicYONh+A0NDk7w0AErZH6GpGsQmFoCi6gI4m3IzLDpkS1kUgHwDM5QUANIHS5jYEi3RuQBksb3mdXhaILbcyAOWirAygaJcAEoHoJIPBJzaqggmRpDloPjXk3sEVksoERJ0ACjuD944As8JoMoHlMVw5RiQmgNAeVAauPBInvJsiAxA5X287RGgr2wYmoClHMi3IAyKJlBFBCqsQHKTdrgTDHqS6gIYePhahEEemLhAOQPk23z3nQwKom8YJu5wY3gAlcNWTFPNAaCSTaWwl0EeaCkoqEGW68s9BOdzkMXGNc0k1YQkRwE6sIfWfqCQIcXXZIcAOsCVGEl1wMGBbBMyjnbNRh0w0A4ACDAADLUDJHo7TiUAAAAASUVORK5CYII=","primary_source_url":"https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil","extraction_confidence":"0.40","created_at":"2026-06-29T02:44:56.284Z","updated_at":"2026-10-01T09:47:13.066Z","last_verified_at":"2026-10-01T09:47:13.066Z","deprecated_at":null,"ranking_score":53,"last_ranked_at":"2026-09-20T23:54:04.814Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-09-27T13:09:41.749Z","search_vector":"'20':93B,253B '702':35B,76B,195B,236B '7ff':50B,210B 'a':221B,315B 'act':32B,54B,72B,192B,214B,232B 'affect':96B 'affected':256B 'allow':39B 'allowed':199B 'and':163A,196B,259B,290B,301B 'apart':8B 'apartment':168B 'api':59B,219B 'appli':153B 'apply':313B 'are':182B,197B,257B,284B 'art':49B,209B 'author':139B 'authorities':299B 'blue':16B,176B 'build':26B,147B 'building':186B,307B 'by':276B 'condit':47B 'conditions':207B 'confeder':129B 'confederation':289B 'construct':80B 'construction':240B 'cover':131B 'covers':291B 'data':104B,264B 'defin':55B 'defines':215B 'determin':145B 'determining':305B 'develop':123B,143B 'developers':303B 'development':283B 'exceed':92B 'exceeds':252B 'feder':119B 'federal':279B 'for':281B 'geospati':160C 'given':156B,316B 'highlight':98B 'highlighted':258B 'home':5A,44B,53B,71B,83B,109B,269B 'homes':165A,204B,213B,231B,243B 'hous':1A,31B,102B,158C 'housing':161A,191B,262B 'in':175B,244B,304B 'indic':105B 'indicates':265B 'inventori':2A,9B,103B 'inventory':162A,169B,263B 'is':274B 'it':273B 'legisl':159C 'limit':57B,217B 'locat':157B 'location':317B 'map':10B,62B,170B,222B 'municip':20B,65B,85B,95B,112B,140B 'municipalities':180B,225B,245B,255B,300B 'municipality':272B 'nation':133B 'national':293B 'of':178B,188B,241B,249B,286B 'offic':120B 'office':280B 'only':198B 'part':125B,285B 'per':111B,271B 'percent':94B,254B 'permit':148B,308B 'plan':138B 'planning':298B 'primer':17B,177B 'properti':142B 'property':302B 'provid':60B 'provides':220B 'publish':115B 'published':275B 'rate':6A,110B,166A,270B 'regul':27B 'regulations':187B 'resid':91B 'residences':251B 'restrict':78B,149B 'restrictions':309B 'restricts':238B 'second':30B,43B,52B,70B,82B,190B,203B,212B,230B,242B 'secondari':4A,90B,108B 'secondary':164A,250B,268B 'secondary-hom':107B 'secondary-home':267B 'servic':11B,63B,136B 'service':171B,223B,296B 'set':41B,201B 'share':88B,248B 'show':12B,64B 'showing':224B 'shows':172B 'spatial':122B,282B 'sr':34B,75B,194B,235B 'status':14B,174B 'strict':46B,206B 'subject':23B,66B,183B,226B 'support':137B 'supports':297B 'swiss':69B,118B,128B,229B,278B,288B 'territori':134B 'territory':294B 'that':181B 'the':167B,173B,179B,185B,189B,211B,216B,228B,239B,247B,260B,266B,277B,287B,292B,295B,311B 'this':218B 'to':184B,200B,227B,314B 'under':101B,205B,310B 'underlying':261B 'up':202B 'where':246B 'whether':146B,306B 'which':237B 'zweitwohnungsgesetz':73B,233B 'zwg':33B,48B,74B,152B,193B,208B,234B,312B","popularity_score":"0.0000","maintenance_score":"0.7000","institution_id":"e6610aa1-093d-4dd5-9dea-b71951ae3eb2","institution_type":"GOVERNMENT","country_code":"CH","official_confidence":40,"proof_summary":"40% - Official domain (admin.ch)","source_seed_url":null,"is_public_sector":true,"published_at":"2026-06-30T07:14:40.014Z","geographic_scope":"NATIONAL","name_en":null,"description_en":"This API provides a map service showing municipalities subject to the Swiss Second Homes Act (Zweitwohnungsgesetz, ZWG, SR 702), which restricts the construction of second homes in municipalities where the share of secondary residences exceeds 20 percent. Municipalities affected are highlighted, and the underlying housing inventory data indicates the secondary-home rate per municipality. It is published by the Swiss Federal Office for Spatial Development (ARE), part of the Swiss Confederation, and covers the national territory. The service supports planning authorities, municipalities, and property developers in determining whether building permit restrictions under the ZWG apply to a given location.","native_lang":"de","access_level":"direct","formats":[],"capability_tier":"sample","trust_score":61.75,"merged_into_entry_id":null,"identity_key":"API|https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil|housing inventory and secondary homes rate","upstream_ref":"data.europa.eu:dataset:ed80ebde-99a0-4523-bc8a-4ec23426d966-bundesamt-fur-raumentwicklung-are","access":{"level":"direct","primary":{"kind":"query","label":"Run verified request","method":"GET","url":"https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil?f=json","source":"probe","runnable":true},"actions":[{"kind":"query","label":"Run verified request","method":"GET","url":"https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil?f=json","source":"probe","runnable":true},{"kind":"query","label":"API base URL","method":"GET","url":"https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil","source":"base_url","runnable":false},{"kind":"landing","label":"Read the docs","method":"GET","url":"http://data.europa.eu/88u/dataset/ed80ebde-99a0-4523-bc8a-4ec23426d966-bundesamt-fur-raumentwicklung-are","source":"docs","runnable":false}],"formats":[]},"maturity":{"entry_id":"d87ef181-956a-4234-b2bd-c8757e3feab8","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":"profiled","level_index":3,"level_label":"Profiled","meaning":"Schema, dimensions and licence understood","counts_as_coverage":false,"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":false,"reached":false,"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":false,"reached":false,"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":"e6610aa1-093d-4dd5-9dea-b71951ae3eb2","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":"api3.geo.admin.ch","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-10-01T17:37:47.753Z"},"api_details":{"id":"16f09f8f-d9df-440d-a414-2f1dc05931d4","entry_id":"d87ef181-956a-4234-b2bd-c8757e3feab8","base_url":"https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil","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://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil","created_at":"2026-06-29T02:44:56.680Z","updated_at":"2026-06-29T02:44:56.680Z"},"dataset_details":null,"license":null,"reuse":{"license_id":null,"license_name":null,"license_url":null,"commercial_use":{"status":"unknown","value":null},"redistribution":{"status":"unknown","value":null},"attribution_required":{"status":"unknown","value":null},"share_alike":{"status":"unknown","value":null},"personal_data_warning":{"status":"unknown","value":null},"cache_and_mirror":{"status":"unknown","value":null},"undetermined":["commercial_use","redistribution","attribution_required","share_alike","personal_data_warning","cache_and_mirror"],"basis":"unverified","confidence":0.1,"confidence_tier":"low","source_text":null,"source_url":null,"reviewed_at":null},"license_raw":null,"latest_check":{"id":"adba8e57-8225-43ff-8509-e43fbb06d5c7","entry_id":"d87ef181-956a-4234-b2bd-c8757e3feab8","status":"VERIFIED","last_checked_at":"2026-10-01T09:47:12.758Z","p50_latency_ms":1028,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-06-29T03:45:04.110Z","updated_at":"2026-10-01T09:47:12.758Z","consecutive_successes":38,"probe_url":"https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil?f=json","probe_method":"GET","probe_http_status":200,"probe_content_type":"application/json","probe_succeeded_at":"2026-10-01T09:47:12.758Z"},"data_profile":{"id":"f021cf73-fcb8-4d36-9ecf-d064a1ca33ca","entry_id":"d87ef181-956a-4234-b2bd-c8757e3feab8","profile_source":"arcgis","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"gemeinde_nummer","type":"integer","label":"FSO nummer","description":null,"description_en":"Federal Statistical Office (BFS) municipality number."},{"name":"zwg_3100","type":"integer","label":"Total number of appartements considered as primary homes","description":null,"description_en":"Number of dwellings treated as equivalent to primary residences."},{"name":"zwg_3010","type":"integer","label":"Number of primary homes","description":null,"description_en":"Number of primary residences in the municipality."},{"name":"verfahren","type":"integer","label":"Case","description":null,"description_en":"Code identifying the procedure applied."},{"name":"id","type":"integer","label":"ch.are.wohnungsinventar-zweitwohnungsanteil.id","description":null,"description_en":"Unique identifier of the housing inventory record."},{"name":"zwg_3110","type":"float","label":"Primary home ratio","description":null,"description_en":"Share of primary residences in the municipality."},{"name":"status","type":"integer","label":"ch.are.wohnungsinventar-zweitwohnungsanteil.status","description":null,"description_en":"Code indicating the current status of the record."},{"name":"gemeinde_name","type":"varchar","label":"ch.are.wohnungsinventar-zweitwohnungsanteil.gemeinde_name","description":null,"description_en":"Name of the municipality."},{"name":"zwg_3120","type":"float","label":"Secondary home ratio","description":null,"description_en":"Share of second homes in the municipality."},{"name":"zwg_3150","type":"integer","label":"Total number of homes","description":null,"description_en":"Total number of dwellings in the municipality."}],"field_count":10,"sample_records":[],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil?f=json","curl":"curl -s 'https://api3.geo.admin.ch/rest/services/api/MapServer/ch.are.wohnungsinventar-zweitwohnungsanteil?f=json' -H 'Accept: application/json'","label":"Layer metadata","method":"GET","description":"Layer definition: fields, geometry type, capabilities."}],"status":"ok","error_message":null,"profiled_at":"2026-10-01T04:30:25.323Z","run_id":"70bcaeb9-ab6f-40da-8f82-72c0eafbc9a0","created_at":"2026-06-29T02:48:46.477Z","updated_at":"2026-10-01T04:30:25.323Z","license_raw":null,"license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"previewable":false,"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":"07a2dc7b14a229a59f1ea316e599bcf3f9940424626f2f9353d3a3fefaf53400","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":21,"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[] (10 rows).","live":true,"live_basis":"This body was produced by executing the request.","created_at":"2026-10-01T17:37:47.777Z","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."}}