GET /api/v1/cities/{slug}/air-uba
Luftqualität je Stadt (Umweltbundesamt)
Luftqualitäts-Messwerte einer Stadt aus der Luftdaten-API des Umweltbundesamts im kanonischen Envelope. Amtlicher Pfad, klar getrennt vom OpenAQ-Endpunkt (/air): wähle diesen für behördlich validierte Werte. Sonderfälle: deaktivierte Quelle liefert 200 mit source_status="disabled"; toter Upstream ohne Cache liefert 503 mit Hint auf GET /api/v1/health.
Parameter
| Name | In | Pflicht | Typ | Beschreibung |
|---|---|---|---|---|
slug | path | ja | string |
Code-Beispiele
curl "https://infranode.dev/api/v1/cities/hamburg/air-uba"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/air-uba");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/air-uba")
res.raise_for_status()
print(res.json())