Global Food Price Index API

Food price indices and commodity prices across 80+ countries. Track price trends for cereals, meat, dairy, oils, and sugar using data sourced from FAO and WFP. Base index year: 2014-2016 = 100.

Live

Base URL

https://api.crimate.net/v1/food

Authentication

Include your Food Price API key in the Authorization header.

curl -H "Authorization: Bearer db_food_price_live_YOUR_KEY" \
     https://api.crimate.net/v1/food/indices/latest

Endpoints

GET/v1/food/indices

Food price indices with optional category, country, and date filters

Parameters: category, country (ISO alpha-2), from (YYYY-MM), to (YYYY-MM), page, per_page

Example

GET /v1/food/indices?category=cereals&from=2025-01&to=2025-12
GET/v1/food/indices/latest

Most recent index value per category (global or by country)

Parameters: country (optional, ISO alpha-2)

Example

GET /v1/food/indices/latest
GET/v1/food/commodities

Individual commodity prices by product, country, and date range

Parameters: product, country, from, to, page, per_page

Example

GET /v1/food/commodities?product=rice_white&country=ZA
GET/v1/food/commodities/search

Search commodity products by name

Parameters: q (required)

Example

GET /v1/food/commodities/search?q=rice
GET/v1/food/countries

List all countries with available food price data

Parameters: region (optional)

Example

GET /v1/food/countries?region=Sub-Saharan+Africa
GET/v1/food/categories

List food price index categories

Parameters: None

Example

GET /v1/food/categories
GET/v1/food/stats

Dataset statistics (total countries, records, latest period)

Parameters: None

Example

GET /v1/food/stats

Response Examples

Latest indices response:

{
  "indices": [
    {
      "category_id": "cereals",
      "category_name": "Cereals",
      "country_id": null,
      "country_name": "Global",
      "period": "2026-02",
      "index_value": 135.20,
      "change_mom_pct": 3.60,
      "change_yoy_pct": 8.16
    },
    {
      "category_id": "meat",
      "category_name": "Meat",
      "country_id": null,
      "country_name": "Global",
      "period": "2026-02",
      "index_value": 118.50,
      "change_mom_pct": 1.20,
      "change_yoy_pct": 5.40
    }
  ]
}

Try It

Enter your Food Price API key to make a live request. Generate a key in the dashboard.

Try It

Make a live API call from your browser

GET
curl -H "Authorization: Bearer db_food_price_live_YOUR_KEY" \
     "https://crimate.net/v1/food/stats"

Data Sources

FAO Food Price Index

Monthly food price indices published by the UN Food & Agriculture Organization. Covers six categories: food (overall), meat, dairy, cereals, vegetable oils, and sugar. Base period: 2014-2016 average = 100.

WFP Food Prices

Commodity-level prices from the World Food Programme's Vulnerability Analysis and Mapping (VAM) unit. Covers individual products (rice, maize, wheat flour, etc.) with market-level granularity in 80+ countries.

Rate Limits

TierPriceRate LimitDaily QuotaMonthly Quota
FreeR0/mo10 req/min1001,000
StarterR499/mo60 req/min5,00050,000
ProR1,999/mo300 req/minUnlimited500,000

Error Codes

All error responses follow a consistent JSON format:

{
  "error": "error_code",
  "message": "Human-readable description."
}
StatusError CodeDescription
400invalid_requestThe request body or query parameters are malformed.
401unauthorizedMissing or invalid API key.
403no_subscriptionNo active subscription for this API product.
403quota_exceededDaily or monthly quota exceeded.
404not_foundThe requested resource does not exist.
429rate_limit_exceededToo many requests. Check X-RateLimit-Remaining header.
500internal_errorAn unexpected server error occurred.