Open-Meteo

Get Hourly Weather Forecast

Temperature, chance of rain and conditions for the next few hours.

Unverified

What the model is told

Get an hourly weather forecast starting from the current hour. You need latitude and longitude, so use the Find Place tool first if you only have a place name. Temperatures are in degrees Celsius. Weather codes follow WMO: 0 is clear, 1 to 3 cloudy, 45 and 48 fog, 51 to 67 rain or drizzle, 71 to 77 snow, 80 to 82 showers, 95 to 99 thunderstorms.

Request

GEThttps://api.open-meteo.com/v1/forecast?latitude={{latitude}}&longitude={{longitude}}&hourly=temperature_2m,precipitation_probability,weather_code&forecast_hours={{hours}}&timezone=auto

Headers

None.

Parameters

  • latitude numberLatitude in decimal degrees.
  • longitude numberLongitude in decimal degrees.
  • hours numberNumber of hours to forecast, for example 6 or 12.

Try this tool

This runs in your browser and calls Open-Meteo directly. Nothing goes through our servers.

Parameters
Latitude in decimal degrees.
Longitude in decimal degrees.
Number of hours to forecast, for example 6 or 12.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "099201b9-90c6-4aa2-9c26-b8b3abbf43a6",
    "type": "HTTP_REQUEST",
    "label": "Get Hourly Weather Forecast",
    "name": "get_hourly_weather_forecast",
    "customName": false,
    "description": "Get an hourly weather forecast starting from the current hour. You need latitude and longitude, so use the Find Place tool first if you only have a place name. Temperatures are in degrees Celsius. Weather codes follow WMO: 0 is clear, 1 to 3 cloudy, 45 and 48 fog, 51 to 67 rain or drizzle, 71 to 77 snow, 80 to 82 showers, 95 to 99 thunderstorms.",
    "parameters": [
      {
        "name": "latitude",
        "type": "number",
        "description": "Latitude in decimal degrees."
      },
      {
        "name": "longitude",
        "type": "number",
        "description": "Longitude in decimal degrees."
      },
      {
        "name": "hours",
        "type": "number",
        "description": "Number of hours to forecast, for example 6 or 12."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://api.open-meteo.com/v1/forecast?latitude={{latitude}}&longitude={{longitude}}&hourly=temperature_2m,precipitation_probability,weather_code&forecast_hours={{hours}}&timezone=auto"
      },
      "headers": [],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.