Catalog/data-weather-history

Data

Historical weather API

Daily high/low temperature, precipitation, and max wind for a location over a past date range, plus a summary (Open-Meteo archive). Answers 'weather at place X on date Y', 'rainfall last January at these coords', 'was it hot on date D', 'historical temperatures here'.

Price$0.01per request
MethodPOST
Route/v1/data/weather-history
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
dataweatherhistoricalclimatetemperatureprecipitationopen-meteoarchive
API URLhttps://x402.hexl.dev/v1/data/weather-history
Integration docs
Example request
{
  "latitude": 52.52,
  "longitude": 13.41,
  "start": "2024-01-01",
  "end": "2024-01-03"
}
Example response
{
  "latitude": 52.5,
  "longitude": 13.4,
  "timezone": "Europe/Berlin",
  "start": "2024-01-01",
  "end": "2024-01-03",
  "dayCount": 3,
  "summary": {
    "avgHighC": 4.2,
    "avgLowC": -1.1,
    "totalPrecipitationMm": 5.4
  },
  "days": [
    {
      "date": "2024-01-01",
      "tempMaxC": 5.1,
      "tempMinC": -0.8,
      "precipitationMm": 1.2,
      "windMaxKmh": 22
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "latitude",
    "longitude",
    "start",
    "end"
  ],
  "properties": {
    "latitude": {
      "type": "number",
      "examples": [
        52.52
      ]
    },
    "longitude": {
      "type": "number",
      "examples": [
        13.41
      ]
    },
    "start": {
      "type": "string",
      "examples": [
        "2024-01-01"
      ]
    },
    "end": {
      "type": "string",
      "examples": [
        "2024-01-31"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}