---
title: "Food price API | APIFor"
description: "Monthly average food prices by commodity, region and market level, the latest month next to the one before, and a monthly price anomaly index. 1 credit per call, REST and MCP, one API key."
canonical: "https://apifor.dev/services/food-prices/"
---

1. [Services](https://apifor.dev/services/)
2. [Food prices](https://apifor.dev/services/food-prices/)

# Food price API

Monthly average food prices by commodity, region and market level, the latest month next to the one before, and a monthly price anomaly index.

GET /v1/food-prices/latest 1 credit About $0.001

[Get a free API key](https://app.apifor.dev/register) [Endpoint reference](https://apifor.dev/docs/reference/food-prices/)

## Try it

GET /v1/food-prices/latest

```bash
curl 'https://api.apifor.dev/v1/food-prices/latest?country=MY&commodity=chicken-meat' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response · 200

```json
{
  "success": true,
  "data": [
    {
      "country": "MY",
      "commodity": "chicken-meat",
      "commodity_name": "Whole cleaned chicken (standard)",
      "commodity_original": "AYAM BERSIH - STANDARD",
      "level": "consumer",
      "region_level": "national",
      "region_code": "MY",
      "region_name": "Malaysia",
      "region_source_code": null,
      "period": "2026-11",
      "price": 8.79,
      "currency": "MYR",
      "unit": "MYR/1kg",
      "local": {
        "country": "MY",
        "item_code": 1,
        "item_group": "BARANGAN SEGAR",
        "item_category": "AYAM",
        "price_min": 4.9,
        "price_max": 18.6,
        "observations": 25217,
        "premises": 1189,
        "days": 30,
        "aggregation": "monthly mean of premise-day prices"
      },
      "previous_period": "2026-10",
      "previous_price": 8.85,
      "change_pct": -0.68
    }
  ],
  "meta": {
    "total": 1,
    "coverage": [
      "ID",
      "MY"
    ],
    "attribution": {
      "source": "KPDN PriceCatcher (Ministry of Domestic Trade and Cost of Living, Malaysia), via data.gov.my",
      "license": "Creative Commons Attribution 4.0 International (CC BY 4.0)",
      "license_url": "https://creativecommons.org/licenses/by/4.0/",
      "source_url": "https://data.gov.my/data-catalogue/pricecatcher",
      "attribution_page": "https://data.gov.my/data-catalogue/pricecatcher",
      "notice": "Source: KPDN PriceCatcher, data.gov.my (CC BY 4.0). APIFor changed the data: daily premise-level prices are averaged per month, item and ..."
    }
  }
}
```

A real response from our OpenAPI file, with long lists and strings shortened.

## Endpoints and price

| Endpoint | Credits | About |
| --- | --- | --- |
| GET `/v1/food-prices` | 1 credit | $0.001 |
| GET `/v1/food-prices/commodities` | 1 credit | $0.001 |
| GET `/v1/food-prices/latest` | 1 credit | $0.001 |
| GET `/v1/food-prices/anomalies` | 1 credit | $0.001 |
| GET `/v1/food-prices/coverage` (Free) | Free | $0 |

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

## Coverage today

Cambodia, Indonesia, Laos, Malaysia, Myanmar (Burma), Philippines, Thailand, Timor-Leste and Vietnam.

Leave `country` out to get every covered country, or pass one to narrow it.

Sources, row counts and country-only fields per country: [`GET /v1/food-prices/coverage`](https://apifor.dev/docs/reference/food-prices/#get-food-prices-coverage), free with your API key. [How coverage works](https://apifor.dev/docs/coverage/)

## Limits

- How recent the data is depends on the source. Each row has its period.
- The anomaly index covers fewer countries than the prices. The coverage endpoint says which.
- Months with no reported price are left out.

## Sources and licences

- **[Badan Pangan Nasional, Open Data Pangan](https://data.badanpangan.go.id)**: Government publication, Law 28/2014 Art. 43(b), attribution
- **[KPDN PriceCatcher via data.gov.my](https://data.gov.my/data-catalogue/pricecatcher)**: CC BY 4.0
- **[WFP market prices via HDX HAPI](https://hapi.humdata.org/)**: CC BY-IGO

### Attribution

- Source: World Food Programme (WFP) via HDX HAPI, CC BY-IGO; monthly means by APIFor
- Source: KPDN PriceCatcher, data.gov.my (CC BY 4.0); aggregated monthly by APIFor

## Also on MCP

Connect `https://mcp.apifor.dev/mcp` and your agent gets a tool for this service, billed the same way.

[MCP setup](https://apifor.dev/docs/mcp/)

## Questions

**What units are prices in?**

Monthly averages in the local currency. Each row has unit, for example MYR/1kg.

**What are consumer and producer prices?**

consumer is retail. producer is the farm-gate or mill price.

## Related services

[All services](https://apifor.dev/services/)

- [Exchange rates and currency conversion API](https://apifor.dev/services/exchange-rates/)
- [Payment QR decoder API (QRIS, PromptPay, DuitNow, PayNow, VietQR)](https://apifor.dev/services/payment-qr/)
- [Fuel price API](https://apifor.dev/services/fuel-prices/)
- [Statistics API](https://apifor.dev/services/statistics/)
- [Central bank policy rates API](https://apifor.dev/services/policy-rates/)
- [Property transactions API](https://apifor.dev/services/property-transactions/)
