GET /api/v1/cities/{slug}/pollen-uv
Pollen and UV index per city (DWD opendata, Tier A)
Returns the pollen hazard index and UV index for a city's macro-region from DWD opendata in the canonical envelope. The data is organized by DWD macro-regions, NOT city-precise (region_name in the payload). Attribution with modified=true (GeoNutzV). Tier A. 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/pollen-uv"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/pollen-uv");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/pollen-uv")
res.raise_for_status()
print(res.json())