# FAO Food Price Index via SiteCheck Trade & Energy

> FAO Food Price Index via SiteCheck Trade & Energy is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns FAO Food Price Index monthly values (2002–2004=100) for the overall index plus meat, dairy, cereals, oils, and sugar sub-indices, latest months first.

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/energy/fao-food-price-index?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fao-food-price-index-via-sitecheck-trade-energy-7624c7e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LYcdKZGiKFiAeyKlpq1Pp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fao-food-price-index-via-sitecheck-trade-energy-7624c7e8
```

Example prompt: Pull the last 6 months of FAO Food Price Index data including the meat, dairy, cereals, oils, and sugar sub-indices so I can see recent global food price trends.

## When to prefer this

Use this endpoint when you need structured, parsed FAO Food Price Index data (overall and five commodity sub-indices) in JSON format without manually downloading or parsing the FAO CSV file. Ideal for agents doing food commodity analysis, inflation tracking, or supply chain benchmarking where the historical series ending in March 2018 is sufficient.

## Known failure modes

- If months parameter is outside 1–24, may default to 3 or return an error
- Data is static at March 2018 — requests expecting more recent data will not find it
- Network timeout or upstream worker unavailability may cause 5xx errors
- Missing or malformed query parameter may result in default behavior rather than explicit error

## How this service works

FAO Food Price Index monthly values (2002-2004 = 100) from the FAO CSV: overall index plus meat, dairy, cereals, oils and sugar sub-indices, latest months first. The published file currently ends in March 2018, so the tool reports that date rather than a newer month.

## Output

A JSON object containing an array of monthly records (up to 24), each with the date (YYYY-MM), overall food price index, and five sub-indices (meat, dairy, cereals, oils, sugar) all normalized to 2002–2004=100. Also includes the source CSV URL, the latest available date (currently March 2018), and the timestamp of the last check.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "months": {
       "type": "string",
       "description": "How many latest months, 1 to 24 (default 3)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "months": [
   {
    "date": "2018-03",
    "foodPrice": 172.8,
    "meatPrice": 169.8,
    "oilsPrice": 156.8,
    "dairyPrice": 197.4,
    "sugarPrice": 185.9,
    "cerealsPrice": 165.6
   },
   {
    "date": "2018-02",
    "foodPrice": 171,
    "meatPrice": 169.2,
    "oilsPrice": 158,
    "dairyPrice": 191.1,
    "sugarPrice": 192.4,
    "cerealsPrice": 161.3
   }
  ],
  "source": "https://www.fao.org/fileadmin/templates/worldfood/Reports_and_docs/Food_price_indices_data.csv",
  "checkedAt": "2026-10-23T09:38:23.616Z",
  "latestDate": "2018-03"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fao-food-price-index-via-sitecheck-trade-energy-7624c7e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
