OpenWeatherMap · Example Payload

Accumulated Temperature Example

WeatherForecastClimateAir PollutionAir QualitySolarGeocodingHistoryMapsRoad RiskPublic APIs

Accumulated Temperature Example is an example object payload from OpenWeatherMap, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationrequestresponse

Example Payload

Raw ↑
{
  "operation": "getAccumulatedTemperature",
  "request": {
    "method": "GET",
    "url": "https://history.openweathermap.org/data/2.5/history/accumulated_temperature?lat=45.5&lon=-122.6&start=1746057600&end=1748736000&threshold=10&appid={API_KEY}"
  },
  "response": [
    { "date": 1746057600, "temp": 14.21, "count": 24 },
    { "date": 1746144000, "temp": 15.07, "count": 24 },
    { "date": 1746230400, "temp": 13.58, "count": 24 }
  ]
}