GET /api/v1/cities/{slug}/heritage
Heritage/listed monuments per city (state WFS, Tier A)
A city's listed/heritage objects from the respective federal state's heritage register (WFS), each as a representative point plus type/link. The attributes are canonically named type, name, building_type, build_year, site_name, site_designation and publication_source; the equivalent raw source field names (e.g. typ, bezeichnung, siteName) are deprecated and will be removed no earlier than 30 days after the announcement. Heritage protection is a state matter: partial coverage, only cities in states with a verified open WFS (Berlin DL-DE/Zero 2.0; Hamburg, Baden-Württemberg, Hesse DL-DE/BY 2.0, area states narrowed to a city radius). Other cities honestly return 200 source_status="not_covered", data=null and meta.covered_cities. Disabled -> 200 source_status="disabled".
Parameters
| Name | In | Required | Type | Example | Description |
|---|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/heritage"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/heritage");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/heritage")
res.raise_for_status()
print(res.json())