---
title: "Latest PIHPS Nasional price per province and staple food, in Rp/kg: tradisional if reported, else modern (each row names its market); market= picks one."
method: GET
path: "/v1/food-prices/latest"
---

# Latest PIHPS Nasional price per province and staple food, in Rp/kg: tradisional if reported, else modern (each row names its market); market= picks one.

`GET /v1/food-prices/latest`

## Request

- Base URL: `https://refnusa.dev`
- URL: `https://refnusa.dev/v1/food-prices/latest`
- Auth: none declared

## Query parameters

- `commodity` 'beras' | 'daging_ayam' | 'daging_sapi' | 'telur_ayam' | 'bawang_merah' | 'bawang_putih' | 'cabai_merah' | 'cabai_rawit' | 'minyak_goreng' | 'gula_pasir' | 'beras_bawah_1' | 'beras_bawah_2' | 'beras_medium_1' | 'beras_medium_2' | 'beras_super_1' | 'beras_super_2' | 'daging_ayam_ras' | 'daging_sapi_1' | 'daging_sapi_2' | 'telur_ayam_ras' | 'bawang_merah_sedang' | 'bawang_putih_sedang' | 'cabai_merah_besar' | 'cabai_merah_keriting' | 'cabai_rawit_hijau' | 'cabai_rawit_merah' | 'minyak_goreng_curah' | 'minyak_goreng_kemasan_1' | 'minyak_goreng_kemasan_2' | 'gula_pasir_premium' | 'gula_pasir_lokal': Commodity code from list_food_commodities (a group or an item), optional; with month, groups only
- `market` 'tradisional' | 'modern': tradisional or modern; omit for one row per province and commodity, tradisional first then modern (with month: tradisional only)
- `province_code` string: Kemendagri province code, optional (Papua and Papua Barat only: 91, 92)
- `month` string: Return this month instead of the newest on file, optional

## Response `200`

OK

## Other responses

- `400`: Error
- `404`: Error
- `429`: Error

---

[API](https://skmtc.dev/refnusa/apis/refnusa-api.md) · [All operations](https://skmtc.dev/refnusa/apis/refnusa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/refnusa/apis/refnusa-api/revisions/6e9b0b8c35a4?raw)
