Indonesia Exchange rates API
Indonesian exchange rates from Bank Indonesia, served through the same key and JSON format as the world datasets.
Request and response
The response below is the example from our OpenAPI document, so it shows the exact shape you get, though the record itself may come from another country.
curl 'https://api.apifor.dev/v1/id/exchange-rates' \
-G -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"id": "bi_2026-07-15_USD_transaksi",
"date": "2026-07-15",
"currency": "USD",
"rate_type": "transaksi",
"buy_rate": 18008.51,
"sell_rate": 18189.49,
"mid_rate": 18099,
"fetched_at": "2026-07-15T03:43:23.385Z"
}
]
}Fields
Each record in data has these fields. Types are read from the example values; a nullable field can hold null for some records.
| Field | Type | Example |
|---|---|---|
| id | string | "bi_2026-07-15_USD_transaksi" |
| date | string (date) | "2026-07-15" |
| currency | string | "USD" |
| rate_type | string | "transaksi" |
| buy_rate | number | 18008.51 |
| sell_rate | number | 18189.49 |
| mid_rate | integer | 18099 |
| fetched_at | string (date-time) | "2026-07-15T03:43:23.385Z" |
Filters and paging
Query parameters accepted by GET /v1/id/exchange-rates. Full detail, including the single-record route, is in the endpoint reference.
| Parameter | Type | Rules |
|---|---|---|
| page | integer | min 1 · default 1 |
| limit | integer | 1 to 200 · default 50 |
| country | string | ISO 3166-1 alpha-2 |
| currency | string | None |
| date | string | None |