Sources › Finance › Bank Indonesia › Inflation

Bank Indonesia Inflation API

Indonesian headline inflation, year on year, by month.

Bank IndonesiaGET /inflationAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:bi-kurs/inflation

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.

Parameters

NameTypeInRequiredDescription
countnumberqueryNoMost recent months to return. Default 24, max 120 Example: 24

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:bi-kurs/inflation?count=24" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:bi-kurs/inflation?count=24", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:bi-kurs/inflation",
    params={"count":"24"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:bi-kurs",
  "data": {
    "basis": "year-on-year",
    "count": 10,
    "items": [
      {
        "month": "2026-06",
        "inflationPercent": 3.34
      },
      {
        "month": "2026-05",
        "inflationPercent": 3.08
      },
      {
        "month": "2026-04",
        "inflationPercent": 2.42
      },
      {
        "month": "2026-03",
        "inflationPercent": 3.48
      },
      {
        "month": "2026-02",
        "inflationPercent": 4.76
      },
      {
        "month": "2026-01",
        "inflationPercent": 3.55
      },
      {
        "month": "2025-12",
        "inflationPercent": 2.92
      },
      {
        "month": "2025-11",
        "inflationPercent": 2.72
      }
    ],
    "series": "inflation",
    "source": "bank-indonesia",
    "latestMonth": "2026-06",
    "latestPercent": 3.34
  },
  "timestamp": "2026-08-02T04:32:44Z"
}

Frequently asked questions

How do I call the Bank Indonesia Inflation API?

Send a GET request to https://api.zapi.ink/v1/finance:bi-kurs/inflation with your Zapi key in the x-api-key header. Parameters — optional: count. The response is JSON in the { project, data, timestamp } envelope.

What does the Bank Indonesia Inflation API return?

Indonesian headline inflation, year on year, by month. The example response has the fields basis, count, items, series, source, latestMonth, latestPercent. Each item in items has fields such as month, inflationPercent.

Is the Bank Indonesia Inflation API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Bank Indonesia Inflation API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "bi-kurs" and endpoint "inflation".

What other Bank Indonesia API endpoints are there?

It has 6 endpoints. Besides Inflation: JISDOR, Transaction rate, Banknote rate, Currencies, BI-Rate.