Get a multi-day weather forecast for any Swiss location. Returns daily summaries (temperature, precipitation, sunshine, wind, weather icon) plus a hierarchical hourly breakdown of every series.
This uses official MeteoSwiss Open Data — the same forecasts powering the MeteoSwiss app and website.
For a question about an area rather than a place (where in Switzerland it is sunny, how high the fog reaches, which side of the Alps is wet), use meteoswissWeatherSituation: one call counts all forecast points, instead of one call per place here.
Accepts:
- Postal codes: "8001" (Zurich), "3000" (Bern), "1200" (Geneva)
- Station abbreviations: "SMA" (Zurich Fluntern), "BER" (Bern)
- Place names: "Zurich", "Basel", "Lugano"
Coverage: ~6000 Swiss locations (all postal codes + weather stations + mountain points).
Forecast horizon: up to 9 days. Updated hourly.
Each day's summary fields: temperature_min_c, temperature_max_c, precipitation_total_mm,
sunshine_total_minutes, wind_avg_kmh, wind_gust_max_kmh, weather, weather_icon_url.
Each day also includes "hourly": one array of per-hour objects covering every series
together — { time, temperature_c, precip_mm, sunshine_minutes, wind_kmh, wind_gust_kmh } —
useful for judging *when* rain, sun or wind is expected, not just the daily summary.
With detail: "sky", each hourly object also has weather_code, weather, cloud_low_pct,
cloud_mid_pct and cloud_high_pct; use it for fog, stratus or low cloud questions:
- Each entry's "time" is already local wall-clock time for the location (Europe/Zurich),
with the UTC offset included, e.g. "2026-07-09T14:00:00+02:00". It is NOT UTC — do not
convert it.
- With detail: "sky": "weather" / "weather_code" is MeteoSwiss's weather symbol (e.g. "fog", "stratus",
"very cloudy, light rain"), one value per hour, describing the 3 hours that end at
"time". The day's "weather" is one symbol for the daytime only. The cloud fields are the
cover at "time". The symbol does not always name low stratus: an "overcast" hour with
cloud_low_pct near 100 and little mid or high cloud is a low cloud deck.
- With detail: "sky", "warnings" appears only when one of the extra files could not be
loaded; the fields from that file are then null for every hour.
- A dry/calm/sunless hour is reported as its measured value (often 0), not omitted. A
fully dry day is still a full array of zero-precipitation hours, not an empty array.
- Each field is independently null if just THAT series has no reading for a given hour —
the other fields for that same hour are still populated. An hour is omitted entirely
only when temperature, precipitation, sunshine, wind and gust are all missing for it.
- "hourly" itself is null when no hourly breakdown exists for this location at all (a
total data gap); [] only when this location supports hourly data but none was available
for that specific day.
- For weather stations, temperature_min_c/temperature_max_c/precipitation_total_mm are
MeteoSwiss's own official daily aggregates — a different, separately-curated product
from the hourly series shown alongside them. They can legitimately NOT match summing/
averaging the hourly entries for that day; this is expected, not a data error.
sunshine_total_minutes/wind_avg_kmh/wind_gust_max_kmh have no official daily product for
stations and are always derived from the hourly series. For postal codes/mountain
points, every summary field is derived from the same hourly series shown alongside it,
so it always matches summing/averaging that series exactly.