Agririgo

Developers · api/v1

One API. All of Zambian agriculture.

Twelve harmonized datasets behind one clean REST interface. Open CORS, no API keys, CC-BY licensing, and an honest confidence label on every response so you always know official from modelled.

Try it right now

This console calls the same public endpoints you would, no sandbox, no signup.

GET
→ Press Run, or pick an endpoint above. The response appears here, live from this very site.

Endpoints

GET /api/v1/productioncompiled

National production of major crops, 2000-2025 (marketing year of harvest). Maize is the full 26-year series; other crops cover recent seasons. Figures are compiled from official Crop Forecast Survey announcements and FAOSTAT and rounded to the nearest thousand tonnes.

?crop
filter by crop slug (e.g. maize, soybeans, wheat)
?from
first harvest year (inclusive)
?to
last harvest year (inclusive)

Zambia Statistics Agency / Ministry of Agriculture, Crop Forecast Surveys 2000-2025

GET /api/v1/drought/2024compiled

Impact of the 2023/24 El Niño drought, Zambia's driest agricultural season in over 40 years. National figures and province-level maize area losses are official (2024 Integrated Agriculture Survey); people-affected distribution is an Agririgo model estimate.

?province
filter province impact by name or slug (e.g. Southern)

Zambia Statistics Agency, 2024 Integrated Agriculture Survey Highlights (Oct 2025)

GET /api/v1/rainfallmodel-estimate

Rainfall performance of the 2023/24 drought season and 2024/25 recovery season by province, expressed as percent of the 30-year normal. Derived from Zambia Meteorological Department season reports and CHIRPS satellite rainfall estimates.

?province
filter by province name or slug
?season
filter by season (2023/24 or 2024/25, use %2F for the slash)

Zambia Meteorological Department, seasonal rainfall performance reports

GET /api/v1/food-securitycompiled

People in high acute food insecurity (IPC Phase 3 or above) across recent lean seasons, showing the 2024 drought shock and subsequent recovery.

IPC, Integrated Food Security Phase Classification, Zambia analyses 2022-2025

GET /api/v1/pricesmodel-estimate

Indicative national-average retail prices for maize grain (per 50 kg bag) and breakfast mealie meal (per 25 kg bag), monthly 2023-2025, showing the drought price shock. Compiled from WFP market monitoring and FRA announcements; values are indicative national averages, not official statistics.

?commodity
maize-grain or mealie-meal-breakfast
?from
first month (YYYY-MM)
?to
last month (YYYY-MM)

WFP Zambia, market price monitoring bulletins

GET /api/v1/provincescompiled

Reference data for Zambia's 10 provinces: administrative, demographic and agro-ecological attributes.

Zambia Statistics Agency, 2022 Census of Population and Housing

GET /api/v1/districtscompiled

Reference list of 44 agriculturally significant districts with agro-ecological zone, key crops and 2023/24 drought severity classification. Zambia has 116 districts in total; this dataset covers the main production areas.

?province
filter by province name or slug
?severity
filter by 2024 drought severity (extreme|severe|high|moderate|low)

Ministry of Agriculture, district agricultural profiles

GET /api/v1/soilscompiled

Dominant soil groups (WRB classification), pH ranges, textures and agronomic constraints per province, generalised from ISRIC SoilGrids and Zambia's agro-ecological zoning.

?province
filter by province name or slug

ISRIC, SoilGrids 2.0

GET /api/v1/indicatorscompiled

Headline structural indicators for Zambian agriculture: economic weight, land use, farm structure, inputs and livestock.

World Bank, World Development Indicators

GET /api/v1/ias-2024official

Official results of Zambia's first Integrated Agriculture Survey (published 30 October 2025): farm households, maize area/production/yield by province for the 2023/24 drought season, livestock numbers, and structural indicators. Conducted under the 50x2030 Initiative with the World Bank, FAO and IFAD.

Zambia Statistics Agency, 2024 Integrated Agriculture Survey Highlights (30 Oct 2025)

GET /api/v1/africacompiled

Continental compilation: agro-regions, farming systems, dominant soils, staple crops and the major agricultural data challenges country to country. Pairs with the live World Bank relay for per-country indicators.

FAO farming systems classification

GET /api/v1/indicators/liveofficial

Live time series for Zambia relayed from the World Bank open data API and refreshed daily, agriculture GDP share, employment, cereal yield, fertiliser use, inflation and more. Zero-maintenance: the series updates itself as the World Bank publishes.

?code
ag-gdp-share | ag-employment | arable-land | cereal-yield | fertilizer-use | rural-population | food-inflation | gdp-growth
?country
African ISO3 code (default ZMB), e.g. KEN, NGA, ETH

World Bank Open Data API (live relay)

GET /api/v1/weather/liveofficial

Live current weather and 7-day forecast for any point in Zambia, relayed from the Open-Meteo API in real time, a demonstration of the engine's live ingestion layer.

?lat
latitude (default -15.42, Lusaka)
?lon
longitude (default 28.28, Lusaka)

Open-Meteo.com (live relay)

Quickstart

curl
curl "https://agririgo.com/api/v1/production?crop=maize&from=2019"
JavaScript
const res = await fetch(
  "https://agririgo.com/api/v1/drought/2024?province=southern"
);
const { data, sources, confidence } = await res.json();
Python
import requests

r = requests.get(
    "https://agririgo.com/api/v1/rainfall",
    params={"season": "2023/24"},
)
df = pd.DataFrame(r.json()["data"])

How the data stays current

A data platform is only as good as its freshness. Live sources maintain themselves; survey datasets follow Zambia's official statistical calendar.

Every 15 minutesLive weather relayStreamed from Open-Meteo per request and edge-cached, zero maintenance.
DailyWorld Bank macro seriesLive relay with 24-hour revalidation, updates itself the day the World Bank publishes.
Every MayCrop Forecast SurveyNew CFS figures are ingested the week ZamStats announces them; the production series extends automatically on deploy.
Every DecemberPost-Harvest / IAS surveysFinal official production, livestock and household statistics reconcile the May estimates.
MonthlyPrices & food securityWFP market monitoring and IPC analyses are compiled as they release.

License: CC-BY-4.0, free for research, journalism and commercial products with attribution to “Agririgo Data Engine” and the underlying source. Response envelope: { platform, dataset, confidence, sources, license, updated, count, data }.