API Reference

Exchange Rates

Foreign exchange rates against Indonesian Rupiah (IDR) from Frankfurter/ECB. Data is refreshed automatically daily via cron. Available pairs: USD, EUR, SGD, GBP to IDR.

Main endpoint
GET https://use.apiindonesia.id/api/v1/kurs/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

Foreign exchange rates against Indonesian Rupiah (IDR) from Frankfurter/ECB. Data is refreshed automatically daily via cron. Available pairs: USD, EUR, SGD, GBP to IDR.

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/latest

Returns the latest exchange rate for a given currency pair.

When should you use it?

The Exchange Rate API fits apps that need foreign-currency conversion to Rupiah for price displays, cost estimates, invoices, or finance dashboards using daily rates.

Prices from USD, EUR, SGD, or GBP need to be shown in IDR.

The app needs to store the rate used when a transaction is created.

Teams do not need BI transaction rates, only a lightweight daily market reference.

For reports that must use Bank Indonesia rates, use the BI Rates product. This Exchange Rate API is better for estimates and product displays.

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 & cross-border e-commerce: auto-convert prices to Rupiah at checkout.
  • Personal finance apps: show current rates for travel or overseas-shopping budgeting.
  • Accounting & invoicing: convert foreign-currency transactions to Rupiah using daily rates.

Example Usage

Request
curl "https://use.apiindonesia.id/api/v1/kurs/latest?base=USD&target=IDR" \\
  -H "x-api-key: YOUR_API_KEY"
Response · 200 OK
{
  "data": {
    "id": "kr_2026-07-03_USD_IDR",
    "date": "2026-07-03",
    "base": "USD",
    "target": "IDR",
    "rate": 16350.5,
    "source": "Frankfurter/ECB"
  }
}

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.

Exchange Rates API questions

Which currency pairs are supported?

USD, EUR, SGD and GBP against the Indonesian Rupiah (IDR), sourced from Frankfurter/ECB.

How often are rates updated?

Automatically every day via cron. For official Bank Indonesia rates, use the BI Rates API.

Can I get historical rates?

Yes, with GET /api/v1/kurs/history using base, target, start and end.

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