Open-Meteo

Get Historical Weather

Daily high, low and rainfall for past dates at a location.

Unverified

What the model is told

Get what the weather was on past dates at a location, for example to check a day a customer mentions. You need latitude and longitude, so use the Find Place tool first. Dates use the format 2025-01-15 and must be at least a few days ago. Use the same date for start and end to get one day. Temperatures are in degrees Celsius and rainfall in millimetres.

Request

GEThttps://archive-api.open-meteo.com/v1/archive?latitude={{latitude}}&longitude={{longitude}}&start_date={{startDate}}&end_date={{endDate}}&daily=temperature_2m_max,temperature_2m_min,precipitation_sum&timezone=auto

Headers

None.

Parameters

  • latitude numberLatitude in decimal degrees.
  • longitude numberLongitude in decimal degrees.
  • startDate stringFirst date, like 2025-01-15.
  • endDate stringLast date, like 2025-01-15.

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.
First date, like 2025-01-15.
Last date, like 2025-01-15.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "e2736e36-b6a0-45bf-b628-6f2730a122c0",
    "type": "HTTP_REQUEST",
    "label": "Get Historical Weather",
    "name": "get_historical_weather",
    "customName": false,
    "description": "Get what the weather was on past dates at a location, for example to check a day a customer mentions. You need latitude and longitude, so use the Find Place tool first. Dates use the format 2025-01-15 and must be at least a few days ago. Use the same date for start and end to get one day. Temperatures are in degrees Celsius and rainfall in millimetres.",
    "parameters": [
      {
        "name": "latitude",
        "type": "number",
        "description": "Latitude in decimal degrees."
      },
      {
        "name": "longitude",
        "type": "number",
        "description": "Longitude in decimal degrees."
      },
      {
        "name": "startDate",
        "type": "string",
        "description": "First date, like 2025-01-15."
      },
      {
        "name": "endDate",
        "type": "string",
        "description": "Last date, like 2025-01-15."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://archive-api.open-meteo.com/v1/archive?latitude={{latitude}}&longitude={{longitude}}&start_date={{startDate}}&end_date={{endDate}}&daily=temperature_2m_max,temperature_2m_min,precipitation_sum&timezone=auto"
      },
      "headers": [],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.