Agriculture
Changed onFarming indicators for up to 14 days: growing degree days, rain, ET0 and crop water use, water balance, chill/frost/heat stress hours, leaf wetness, disease risk, Smith Periods and hourly spray windows, with optional season-to-date totals. Business plan and above; other plans get 403 / error 2009. Invalid parameters return 400 with error 1012 (crop) or 1013 (other parameters).
Request
- Base URLhttps://api.weatherapi.com/v1
- AuthAPI key in query parameter key
Query parameters
Your WeatherAPI.com API key.
Location query. Accepts: city name, lat/lon, US zip, UK postcode, Canada postal code, METAR code (metar:EGLL), IATA (iata:DXB), auto:ip, IPv4/IPv6, or location ID (id:2801268).
Number of forecast days (1–14). Default 1.
Crop preset. Default none.
GDD base temperature °C.
GDD upper cut-off °C (above gdd_base).
Crop coefficient (ETc = ET0 x kc).
Heat stress temperature °C.
Season start date within the last 366 days, for season-to-date totals.
Response
Agriculture indicators
Changes
- info
endpoint added
- info