hourly_forecast
Get hour-by-hour weather for any Swiss location: temperature with likely range, rain chance, and conditions in words. Plan a specific hour or afternoon window up to eight days ahead.
Instructions
Get the weather hour by hour for a location: temperature with its likely range, chance
of rain and the weather in words.
Use this for one hour, such as "how warm is it at 15:00", or part of a day, such as "how
is the afternoon" or "when is the best time for a walk". Without end it returns the one
hour starting at start. Each row covers the hour from its "from" to its "to": the
temperature is the mean of that hour, while the rain chance and the weather cover the 3
hours up to "to", as MeteoSwiss publishes them only per 3 hours. For whole days use
daily_forecast, for rain amounts rain_outlook.
Args:
location (str): Location name (e.g., "Zurich") or Swiss postal code (e.g., "8001").
start (str): Swiss local time in ISO 8601 without offset, e.g. "2026-09-23T15:00". Today or up to 8 days ahead.
end (str): Optional. Swiss local time in ISO 8601 without offset, at most 24 hours after start.
Returns:
dict: The resolved location with its altitude, one row per hour (from, to,
temperature in Celsius as its median and its 10th and 90th percentile, rain
chance in percent, weather in words with a matching emoji), and the model run.
In 8 of 10 possible outcomes, the temperature lies between the two percentiles.
Examples:
hourly_forecast("Zurich", "2026-09-23T15:00") # one hour
hourly_forecast("Zurich", "2026-09-23T12:00", "2026-09-23T18:00") # the afternoon
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | Yes | ||
| location | Yes |