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. 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 | 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())