Request
https://api.zapi.ink/v1/finance:kontan/bi-rateSend 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/bi-rate?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/bi-rate?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/bi-rate", 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": 20, "items": [ { "date": "2025-01-15", "rate": 5.75 }, { "date": "2025-02-19", "rate": 5.75 }, { "date": "2025-03-19", "rate": 5.75 }, { "date": "2025-04-23", "rate": 5.75 }, { "date": "2025-05-21", "rate": 5.5 }, { "date": "2025-06-18", "rate": 5.5 }, { "date": "2025-07-16", "rate": 5.25 }, { "date": "2025-08-20", "rate": 5 } ], "dataset": "bi-rate", "provider": "kontan" }, "timestamp": "2026-08-20T11:44:00Z" }
Frequently asked questions
How do I call the Kontan BI Rate API?
Send a GET request to https://api.zapi.ink/v1/finance:kontan/bi-rate 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 BI Rate API return?
Bank Indonesia policy rate, one point per meeting, back to 2016. The example response has the fields to, from, count, items, dataset, provider. Each item in items has fields such as date, rate.
Is the Kontan BI Rate 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 BI Rate 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 "bi-rate".
What other Kontan API endpoints are there?
It has 24 endpoints. Besides BI Rate: Channel Feed, Article Search, Article Archive, Article Detail, Trading Recap, Global Indices, and 17 more.
