zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Finance/PIHPS (Harga Pangan)
Logo PIHPS (Harga Pangan)

PIHPS (Harga Pangan)

Harga pangan strategis harian dari Bank Indonesia: per komoditas, per provinsi, di empat tingkat pasar (tradisional, modern, pedagang besar, produsen).

3 endpoints3 endpoints on this scraper12 calls12 calls so farupdated 2 months agoLast updated 8/8/2026, 10:10:23 AMBusy: 10+ calls so farllms.txt
Endpoints3

3/3 passing
checked 20 hours ago · daily 01:00 WIB

Food Prices

Harga harian satu komoditas per provinsi. Hari tanpa survei dikembalikan sebagai null, bukan nol.

GET/v1/finance:pihps/prices1h cache5 paramschecking key…
Parameters
commoditystring

Commodity or category id from pihps/commodities (default cat_1, rice).

marketenum

Market tier: 1 traditional (default), 2 modern, 3 wholesaler, 4 producer.

provincestring

Province id from pihps/regions. Omit for all provinces.

fromstring

Start date (YYYY-MM-DD or YYYYMMDD). Default 7 days back.

tostring

End date (YYYY-MM-DD or YYYYMMDD). Default today.

·
Response
EXAMPLE
{
  "to": "2026-08-07",
  "from": "2026-08-03",
  "count": 35,
  "dates": [
    "2026-08-03",
    "2026-08-04",
    "2026-08-05",
    "2026-08-06",
    "2026-08-07"
  ],
  "items": [
    {
      "level": 0,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 16200
        },
        {
          "date": "2026-08-04",
          "price": 16250
        },
        {
          "date": "2026-08-05",
          "price": 16250
        },
        {
          "date": "2026-08-06",
          "price": 16250
        },
        {
          "date": "2026-08-07",
          "price": 16250
        }
      ],
      "region": "Semua Provinsi"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15650
        },
        {
          "date": "2026-08-04",
          "price": 15350
        },
        {
          "date": "2026-08-05",
          "price": 15650
        },
        {
          "date": "2026-08-06",
          "price": null
        },
        {
          "date": "2026-08-07",
          "price": 15350
        }
      ],
      "region": "Aceh"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15350
        },
        {
          "date": "2026-08-04",
          "price": 15400
        },
        {
          "date": "2026-08-05",
          "price": 15400
        },
        {
          "date": "2026-08-06",
          "price": 15400
        },
        {
          "date": "2026-08-07",
          "price": 15400
        }
      ],
      "region": "Sumatera Utara"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 17900
        },
        {
          "date": "2026-08-04",
          "price": 17900
        },
        {
          "date": "2026-08-05",
          "price": 18150
        },
        {
          "date": "2026-08-06",
          "price": 17900
        },
        {
          "date": "2026-08-07",
          "price": 17900
        }
      ],
      "region": "Sumatera Barat"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 16650
        },
        {
          "date": "2026-08-04",
          "price": 16650
        },
        {
          "date": "2026-08-05",
          "price": 16650
        },
        {
          "date": "2026-08-06",
          "price": 16800
        },
        {
          "date": "2026-08-07",
          "price": 16700
        }
      ],
      "region": "Riau"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15500
        },
        {
          "date": "2026-08-04",
          "price": null
        },
        {
          "date": "2026-08-05",
          "price": 15500
        },
        {
          "date": "2026-08-06",
          "price": 15500
        },
        {
          "date": "2026-08-07",
          "price": null
        }
      ],
      "region": "Kepulauan Riau"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15550
        },
        {
          "date": "2026-08-04",
          "price": 15550
        },
        {
          "date": "2026-08-05",
          "price": 15550
        },
        {
          "date": "2026-08-06",
          "price": 15550
        },
        {
          "date": "2026-08-07",
          "price": 15550
        }
      ],
      "region": "Jambi"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15800
        },
        {
          "date": "2026-08-04",
          "price": 15800
        },
        {
          "date": "2026-08-05",
          "price": 15850
        },
        {
          "date": "2026-08-06",
          "price": 15850
        },
        {
          "date": "2026-08-07",
          "price": 15850
        }
      ],
      "region": "Bengkulu"
    }
  ],
  "market": "1",
  "source": "bank-indonesia-pihps",
  "currency": "IDR",
  "commodity": "cat_1"
}

Code

Food Prices
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:pihps", "prices", {
  "commodity": "cat_1",
  "market": "1",
  "province": "13",
  "from": "2026-08-01",
  "to": "2026-08-08"
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

3 endpoints · plain text
GET
Food Prices/v1/finance:pihps/prices
5 params

Harga harian satu komoditas per provinsi. Hari tanpa survei dikembalikan sebagai null, bukan nol.

Parameters

commoditystringoptional
Commodity or category id from pihps/commodities (default cat_1, rice).
marketenumoptional
Market tier: 1 traditional (default), 2 modern, 3 wholesaler, 4 producer. Values: 1, 2, 3, 4.
provincestringoptional
Province id from pihps/regions. Omit for all provinces.
fromstringoptional
Start date (YYYY-MM-DD or YYYYMMDD). Default 7 days back.
tostringoptional
End date (YYYY-MM-DD or YYYYMMDD). Default today.

Request

curl -X GET "https://api.zapi.ink/v1/finance:pihps/prices?commodity=cat_1&market=1&province=13&from=2026-08-01&to=2026-08-08" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2026-08-07",
  "from": "2026-08-03",
  "count": 35,
  "dates": [
    "2026-08-03",
    "2026-08-04",
    "2026-08-05",
    "2026-08-06",
    "2026-08-07"
  ],
  "items": [
    {
      "level": 0,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 16200
        },
        {
          "date": "2026-08-04",
          "price": 16250
        },
        {
          "date": "2026-08-05",
          "price": 16250
        },
        {
          "date": "2026-08-06",
          "price": 16250
        },
        {
          "date": "2026-08-07",
          "price": 16250
        }
      ],
      "region": "Semua Provinsi"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15650
        },
        {
          "date": "2026-08-04",
          "price": 15350
        },
        {
          "date": "2026-08-05",
          "price": 15650
        },
        {
          "date": "2026-08-06",
          "price": null
        },
        {
          "date": "2026-08-07",
          "price": 15350
        }
      ],
      "region": "Aceh"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15350
        },
        {
          "date": "2026-08-04",
          "price": 15400
        },
        {
          "date": "2026-08-05",
          "price": 15400
        },
        {
          "date": "2026-08-06",
          "price": 15400
        },
        {
          "date": "2026-08-07",
          "price": 15400
        }
      ],
      "region": "Sumatera Utara"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 17900
        },
        {
          "date": "2026-08-04",
          "price": 17900
        },
        {
          "date": "2026-08-05",
          "price": 18150
        },
        {
          "date": "2026-08-06",
          "price": 17900
        },
        {
          "date": "2026-08-07",
          "price": 17900
        }
      ],
      "region": "Sumatera Barat"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 16650
        },
        {
          "date": "2026-08-04",
          "price": 16650
        },
        {
          "date": "2026-08-05",
          "price": 16650
        },
        {
          "date": "2026-08-06",
          "price": 16800
        },
        {
          "date": "2026-08-07",
          "price": 16700
        }
      ],
      "region": "Riau"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15500
        },
        {
          "date": "2026-08-04",
          "price": null
        },
        {
          "date": "2026-08-05",
          "price": 15500
        },
        {
          "date": "2026-08-06",
          "price": 15500
        },
        {
          "date": "2026-08-07",
          "price": null
        }
      ],
      "region": "Kepulauan Riau"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15550
        },
        {
          "date": "2026-08-04",
          "price": 15550
        },
        {
          "date": "2026-08-05",
          "price": 15550
        },
        {
          "date": "2026-08-06",
          "price": 15550
        },
        {
          "date": "2026-08-07",
          "price": 15550
        }
      ],
      "region": "Jambi"
    },
    {
      "level": 1,
      "prices": [
        {
          "date": "2026-08-03",
          "price": 15800
        },
        {
          "date": "2026-08-04",
          "price": 15800
        },
        {
          "date": "2026-08-05",
          "price": 15850
        },
        {
          "date": "2026-08-06",
          "price": 15850
        },
        {
          "date": "2026-08-07",
          "price": 15850
        }
      ],
      "region": "Bengkulu"
    }
  ],
  "market": "1",
  "source": "bank-indonesia-pihps",
  "currency": "IDR",
  "commodity": "cat_1"
}
GET
Commodities/v1/finance:pihps/commodities
0 params

Daftar acuan komoditas dan kategori beserta satuannya, plus empat tingkat pasar yang bisa dipilih.

Parameters

This endpoint takes no parameters.

Request

curl -X GET "https://api.zapi.ink/v1/finance:pihps/commodities" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 31,
  "items": [
    {
      "id": "cat_1",
      "name": "Beras",
      "unit": "kg",
      "order": 1,
      "categoryId": null
    },
    {
      "id": "com_1",
      "name": "Beras Kualitas Bawah I",
      "unit": "kg",
      "order": 1,
      "categoryId": "cat_1"
    },
    {
      "id": "cat_2",
      "name": "Daging Ayam",
      "unit": "kg",
      "order": 2,
      "categoryId": null
    },
    {
      "id": "com_2",
      "name": "Beras Kualitas Bawah II",
      "unit": "kg",
      "order": 2,
      "categoryId": "cat_1"
    },
    {
      "id": "cat_3",
      "name": "Daging Sapi",
      "unit": "kg",
      "order": 3,
      "categoryId": null
    },
    {
      "id": "com_3",
      "name": "Beras Kualitas Medium I",
      "unit": "kg",
      "order": 3,
      "categoryId": "cat_1"
    },
    {
      "id": "cat_4",
      "name": "Telur Ayam",
      "unit": "kg",
      "order": 4,
      "categoryId": null
    },
    {
      "id": "com_4",
      "name": "Beras Kualitas Medium II",
      "unit": "kg",
      "order": 4,
      "categoryId": "cat_1"
    }
  ],
  "source": "bank-indonesia-pihps",
  "markets": [
    {
      "id": "1",
      "name": "Pasar Tradisional"
    },
    {
      "id": "2",
      "name": "Pasar Modern"
    },
    {
      "id": "3",
      "name": "Pedagang Besar"
    },
    {
      "id": "4",
      "name": "Produsen"
    }
  ]
}
GET
Regions/v1/finance:pihps/regions
2 params

Provinsi, atau kabupaten/kota di satu provinsi kalau `province` diisi.

Parameters

provincestringoptional
Province id. When set, returns that province's regencies instead of the province list.
marketenumoptional
Market tier the regency list applies to (default 1). Values: 1, 2, 3, 4.

Request

curl -X GET "https://api.zapi.ink/v1/finance:pihps/regions?province=13&market=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 1,
  "items": [
    {
      "id": "34",
      "name": "Kota Jakarta Pusat"
    }
  ],
  "level": "regency",
  "source": "bank-indonesia-pihps",
  "province": "13"
}

Related APIs

More in finance

Pluang

financepluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

1.7M1.7M calls so far1dResponses cached for 1d
Busy: 10+ calls so far

IDX (Bursa Efek Indonesia)

financeidx

Data Bursa Efek Indonesia: ringkasan saham & indeks, top movers, broker, emiten, laporan keuangan, berita, dan passthrough ke ratusan endpoint /primary/.

756.1K756.1K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

TradingView

financetradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

341.4K341.4K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Stockbit

financestockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

115.5K115.5K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Investing

financeinvesting

Data pasar finansial lengkap — quote saham/forex/crypto/komoditas, teknikal, OHLCV historis, berita, analisis, dan kalender ekonomi.

69.6K69.6K calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Binance Futures

financebinance-futures

USD-M perpetual futures market data: funding, premium index, open interest, long/short ratios, candles and depth.

40.3K40.3K calls so far10mResponses cached for 10m
Busy: 10+ calls so far
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.