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). The attributes are canonically named species, species_botanical, genus, planting_year and crown_diameter_m; the equivalent raw source field names (e.g. art_dtsch, pflanzjahr, Baumart) are deprecated and will be removed no earlier than 30 days after the announcement. 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 | Example | 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())