Agriculture Rankings
Rank countries by cereal yield, fertilizer use, farm share of GDP and other agriculture indicators.
GET
/api/v1/food/rankingsData source
- World Bank Indicators APIWorld Bank
Query parameters
| Parameter | Description | Try value |
|---|---|---|
indicatorstring | cereal-yield (default), cereal-production, fertilizer-use, arable-land, agriculture-share-gdp, undernourishment, … | |
orderstring | desc (default) or asc | |
limitnumber | Rows (default 20) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.