Skip to content

Food Prices (PIHPS)

Free

indonesia:harga-pangan

Prices of rice, chilli, shallots, eggs, cooking oil and other food commodities per province from Bank Indonesia's PIHPS, for traditional markets, modern markets, wholesalers and producers.

No key yet? Sign up free

GET/v1/indonesia:harga-pangan/harga

Price of one commodity per province (IDR per kg or commodity unit).

Cache 3600 s 1 quota / request indonesia.harga-pangan.harga

Parameters

Commodity ID from the komoditas endpoint, e.g. 1 or 1_3

Market type

Optional ISO date; the response states the actual data date (default: latest)

Optional province ID from the provinsi endpoint

cURL
curl -H "x-api-key: ga_live_..." "https://kajidata.artonlabs.com/v1/indonesia:harga-pangan/harga?market=tradisional&commodity=1"

GET/v1/indonesia:harga-pangan/komoditas

List of commodities with their IDs.

Cache 604800 s 1 quota / request indonesia.harga-pangan.komoditas

This endpoint takes no parameters.

cURL
curl -H "x-api-key: ga_live_..." "https://kajidata.artonlabs.com/v1/indonesia:harga-pangan/komoditas"

GET/v1/indonesia:harga-pangan/provinsi

List of provinces with their PIHPS IDs.

Cache 604800 s 1 quota / request indonesia.harga-pangan.provinsi

This endpoint takes no parameters.

cURL
curl -H "x-api-key: ga_live_..." "https://kajidata.artonlabs.com/v1/indonesia:harga-pangan/provinsi"

Are you sure?