Request
https://api.zapi.ink/v1/finance:kontan/inflasiSend 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 6 hours.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| from | string | query | No | Keep points on or after this date, YYYY-MM-DD Example: 2024-01-01 |
| to | string | query | No | Keep points on or before this date, YYYY-MM-DD Example: 2026-08-20 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:kontan/inflasi?from=2024-01-01&to=2026-08-20" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:kontan/inflasi?from=2024-01-01&to=2026-08-20", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:kontan/inflasi", params={"from":"2024-01-01","to":"2026-08-20"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:kontan", "data": { "to": null, "from": "2025-01-01", "count": 19, "items": [ { "date": "2025-01-31", "annual": 0.76, "monthly": 0.76 }, { "date": "2025-02-28", "annual": -0.09, "monthly": 0.48 }, { "date": "2025-03-31", "annual": 1.03, "monthly": 1.65 }, { "date": "2025-04-30", "annual": 1.95, "monthly": 1.17 }, { "date": "2025-05-31", "annual": 1.6, "monthly": 0.37 }, { "date": "2025-06-30", "annual": 1.87, "monthly": 0.19 }, { "date": "2025-07-31", "annual": 2.37, "monthly": 0.3 }, { "date": "2025-08-31", "annual": 2.31, "monthly": 0.08 } ], "dataset": "inflasi", "provider": "kontan" }, "timestamp": "2026-08-20T11:44:00Z" }
Frequently asked questions
How do I call the Kontan Inflation API?
Send a GET request to https://api.zapi.ink/v1/finance:kontan/inflasi with your Zapi key in the x-api-key header. Parameters — optional: from, to. The response is JSON in the { project, data, timestamp } envelope.
What does the Kontan Inflation API return?
Month-on-month inflation alongside the year-on-year rate. The example response has the fields to, from, count, items, dataset, provider. Each item in items has fields such as date, annual, monthly.
Is the Kontan 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 Kontan 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 "kontan" and endpoint "inflasi".
What other Kontan API endpoints are there?
It has 24 endpoints. Besides Inflation: Channel Feed, Article Search, Article Archive, Article Detail, Trading Recap, Global Indices, and 17 more.
