Forecast weather data


large grey blob in background

Forecast weather data by geo coordinates


API Call:

https://api.agromonitoring.com/agro/1.0/weather/forecast


Parameters of Request:
  • appid

Personal API key

  • lat, lon

Coordinates of the location of your interest

Example of API Calls:

https://api.agromonitoring.com/agro/1.0/weather/forecast?lat=35&lon=139&appid={YOUR_API_KEY}


Example of API Response:
[
  {
    "dt": 1622818800,
    "weather": [
      {
        "id": 804,
        "main": "Clouds",
        "description": "overcast clouds",
        "icon": "04n"
      }
    ],
    "main": {
      "temp": 292.66,
      "feels_like": 292.91,
      "temp_min": 292.66,
      "temp_max": 292.66,
      "pressure": 997,
      "sea_level": 997,
      "grnd_level": 972,
      "humidity": 86,
      "temp_kf": 0
    },
    "wind": {
      "speed": 1.53,
      "deg": 169,
      "gust": 1.5
    },
    "clouds": {
      "all": 100
    }
  },
  ...
Weather fields in API response:
  • coords
  • coord.lon — City geo location, longitude
  • coord.lat — City geo location, latitude
  • weather
  • 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 a deviation from current temp that is possible for large cities and megalopolises geographically expanded (use these parameters optionally). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
  • main.temp_max — Maximum temperature at the moment. This is a deviation from current temp that is possible for large cities and megalopolises geographically expanded (use these parameters 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



2012 - 2024 AgroMonitoring © All rights reserved