GET /api/v1/cities/{slug}/tree-cadastre
Street-tree cadastre per city (municipal WFS, Tier A)
A city's street-tree cadastre from the municipal WFS, each tree as a point plus attributes (species, planting year, height, street, district). Registers are very large: the response is a capped sample (count = returned trees, not the full stock). Partial coverage (municipal, only cities with a verified open WFS, currently Berlin, DL-DE/Zero 2.0); other cities return 200 source_status="not_covered" + 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/tree-cadastre"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/tree-cadastre");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/tree-cadastre")
res.raise_for_status()
print(res.json())