Exchange Rates API
Get daily central bank reference rates by currency and date. 1,767 records across 1 countries and territories, from Bank Indonesia.
GET /v1/exchange-ratesPublisher terms1 countries28 Nov 2026Request 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/exchange-rates' \
-G -d country=ID -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"country_code": "ID",
"quote_currency": "IDR",
"id": "bi_2026-11-27_AED_transaksi",
"date": "2026-11-27",
"currency": "AED",
"rate_type": "transaksi",
"buy_rate": 4981.64,
"sell_rate": 5031.84,
"mid_rate": 5006.74,
"fetched_at": "2026-11-27T09:14:28.619Z"
}
]
}Fields
Each record in data has these fields. A nullable field can hold null for some records.
| Field | Type | Example |
|---|---|---|
| country_code | string | "ID" |
| quote_currency | string | "IDR" |
| id | string | "bi_2026-11-27_AED_transaksi" |
| date | string (date) | "2026-11-27" |
| currency | string | "AED" |
| rate_type | string | "transaksi" |
| buy_rate | number | 4981.64 |
| sell_rate | number | 5031.84 |
| mid_rate | number | 5006.74 |
| fetched_at | string (date-time) | "2026-11-27T09:14:28.619Z" |
Filters and paging
Query parameters accepted by GET /v1/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 |
Coverage by country
1 countries and territories have records in the 28 Nov 2026 snapshot. Each one has its own page with filters and counts.