GET /api/v1/cities/{slug}/district-heating
District-heating / heat-network supply per city, federated (Tier A)
District-heating / heat-network supply per city from the official municipal heat-planning geodata, federated per-city WFS (Berlin: Energienetze, heat-network supply area incl. 250 m buffer, DL-DE/Zero 2.0; Hamburg: areas with a heat network from municipal heat planning, DL-DE/BY 2.0). Returns the network operators (operators, operator_count), the number of supply/network areas (network_area_count) and, depending on the source, the supplied area (supplied_area_km2, Berlin) or the house connections and trench length (house_connections, network_length_km, Hamburg), plus a per-operator detail aggregate (networks). Read-only from the batch store (no WFS in the request path). Partial coverage, federated per city: toggle off -> 200 source_status="disabled"; city outside -> 200 source_status="not_covered" (with covered_cities); covered city without a snapshot -> 200 source_status="not_ingested".
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/district-heating"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/district-heating");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/district-heating")
res.raise_for_status()
print(res.json())