Guides
Agriculture
Use indicators and data endpoints to work with agricultural land, crop production, yields, irrigation, and livestock.
Agriculture In Africa API
Agriculture data is exposed through the shared indicator and data endpoints.
Use:
GET /v1/indicators?category=agricultureGET /v1/data?category=agricultureGET /v1/countries/{country_code}/profileGET /v1/sources/faostat_agriculture
Useful Metrics
agricultural_land_1000haarable_land_1000haforest_land_1000haland_equipped_for_irrigation_1000hamaize_production_tonneswheat_production_tonnesrice_production_tonnesmaize_yield_kg_per_hawheat_yield_kg_per_harice_yield_kg_per_hacattle_stock_headchicken_stock_1000_head
Example Query
curl "https://api.africa-api.com/v1/data?country_codes=ng,et,za&metric_key=maize_production_tonnes&year=2024" \
-H "Authorization: Bearer $AFRICA_API_KEY"