API Reference

Bank Indonesia Rates

The BI Rates API returns official Bank Indonesia transaction rates (buy and sell) for 13 currencies: AED, AUD, CNY, EUR, GBP, JPY, KRW, MYR, SAR, SGD, THB, USD and VND. Daily history is available from March 2025, up to 366 days per request, and every response carries the Bank Indonesia attribution.

Main endpoint
GET https://use.apiindonesia.id/api/v1/kurs-bi/latest
Endpoints
2
Authentication
x-api-key header (create one free in the dashboard)
Price
2 credits (Rp2) per successful request; failed requests are free
Format
JSON (REST), with cURL, JavaScript and Python examples
Product Brief

What this API gives you

Official Bank Indonesia exchange rates (transaction rates). Cached in D1 and refreshed via cron. BI attribution required.

Coverage
2

ready-to-use endpoints in this product, with JSON responses and consistent error handling.

Access
API key

Can be tried with the 3,000 credit signup bonus, then used in production through one API Indonesia key.

Sample resource
https://use.apiindonesia.id/api/v1/kurs-bi/latest

Latest transaction rates for USD/EUR/SGD (default) or other currencies.

When should you use it?

The BI Rates API fits accounting, fintech, reimbursement, import-export, and reporting flows that need Bank Indonesia transaction rates as a reference.

Reports or invoices need BI reference rates, not general market rates.

The product needs to store buy, sell, or middle rates by date.

Finance teams need rate history for transaction reconciliation.

Include Bank Indonesia attribution as your product requires. For lightweight price estimates, the regular Exchange Rate API may be enough.

Example product scenarios

This section separates the product page from the docs. The docs explain how to call endpoints; this page explains why the endpoints make sense for your feature.

  • Fintech & banking: use the official Bank Indonesia exchange rate for transactions that require a regulator-grade reference.
  • Accounting & financial reporting: record exchange rates per BI for reporting compliance.
  • Import-export: estimate cross-border transaction values using the daily Bank Indonesia exchange rate.

Example Usage

Request
curl "https://use.apiindonesia.id/api/v1/kurs-bi/latest?currencies=USD,EUR,SGD" \
  -H "x-api-key: YOUR_API_KEY"
Response · 200 OK
{
  "data": [{ "date": "2026-07-09", "currency": "USD", "buy_rate": 18090, "sell_rate": 18095 }],
  "meta": { "attribution": "Sumber: Bank Indonesia", "source": "Bank Indonesia" }
}

Related Articles

Pricing 2 credits (Rp2) per successful request; failed requests are free. One-time 3,000 credit signup bonus, no credit card, no monthly allowance.

Bank Indonesia Rates API questions

Which currencies are available?

There are 13 currencies: AED, AUD, CNY, EUR, GBP, JPY, KRW, MYR, SAR, SGD, THB, USD and VND. Without parameters, /kurs-bi/latest returns USD, EUR and SGD.

How is this different from the Exchange Rate API?

BI Rates uses official Bank Indonesia transaction rates (buy_rate and sell_rate). The Exchange Rate API uses Frankfurter/ECB data for four currency pairs.

How much history can I fetch?

GET /api/v1/kurs-bi/history returns daily rates for one currency, up to 366 days per request. Stored data starts in March 2025.

Do I need to credit the source?

Yes. Bank Indonesia attribution is required, and every response already includes meta.attribution you can display as is.

Get Started

Start Integrating
Today

Sign up for free and get a 3,000 credit bonus (Rp3,000) once your email is verified, grab an API key, and call your first endpoint right away. No credit card, no tedious approval process.

Dot wave visualization