Historical weather data by geo coordinates

Historical weather data archive has a 1-hour step.

API call:

http://api.agromonitoring.com/agro/1.0/weather/history

Parameters:

appid - personal API key

lat, lon - coordinates of the location of your interest

start - starting point of time period in UNIX time

end - final point of time period in UNIX time

Please folow the pricing page to learn what is the depth of historical weather data is available in your subscription.

Exmaples of API calls:

https://api.agromonitoring.com/agro/1.0/weather/history?lat=37.75&lon=-122.37&start=1620136623&end=1621864623&appid={YOUR_API_KEY}

Example of API response:

[
  {
    "dt": 1620136800,
    "weather": [
      {
        "id": 800,
        "main": "Clear",
        "description": "clear sky",
        "icon": "01d"
      }
    ],
    "main": {
      "temp": 286.16,
      "feels_like": 284.22,
      "pressure": 1015,
      "humidity": 71,
      "temp_min": 284.82,
      "temp_max": 287.15
    },
    "wind": {
      "speed": 2.06,
      "deg": 270
    },
    "clouds": {
      "all": 1
    }
  },
  ...
Weather fields in API response:
  • coord
    • coord.lon City geo location, longitude
    • coord.lat City geo location, latitude
  • weather (more info Weather condition codes)
    • weather.id Weather condition id
    • weather.main Group of weather parameters (Rain, Snow, Extreme etc.)
    • weather.description Weather condition within the group
    • weather.icon Weather icon id
  • main
    • main.temp Temperature. Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
    • main.pressure Atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), hPa
    • main.humidity Humidity, %
    • main.temp_min Minimum temperature at the moment. This is deviation from current temp that is possible for large cities and megalopolises geographically expanded (use these parameter optionally). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
    • main.temp_max Maximum temperature at the moment. This is deviation from current temp that is possible for large cities and megalopolises geographically expanded (use these parameter optionally). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
    • main.sea_level Atmospheric pressure on the sea level, hPa
    • main.grnd_level Atmospheric pressure on the ground level, hPa
  • wind
    • wind.speed Wind speed. Unit Default: meter/sec, Metric: meter/sec, Imperial: miles/hour.
    • wind.deg Wind direction, degrees (meteorological)
  • clouds
    • clouds.all Cloudiness, %
  • rain
    • rain.3h Rain volume for the last 3 hours
  • snow
    • snow.3h Snow volume for the last 3 hours
  • dt Time of data calculation, unix, UTC