Exchange Rates API Reference
2 routes under /v1/exchange-rates. Base URL https://api.apifor.dev, authenticated with x-api-key, one credit per request. Coverage and licence are on the Exchange Rates page.
GET
/v1/exchange-ratesList central bank exchange rates with filters and paging.
| Parameter | In | Type | Rules |
|---|---|---|---|
| page | query | integer | min 1 · default 1 |
| limit | query | integer | 1 to 200 · default 50 |
| country | query | string | ISO 3166-1 alpha-2 |
| currency | query | string | None |
| date | query | string | None |
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"
}
]
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable
GET
/v1/exchange-rates/{id}Find central bank exchange rates by identifier.
| Parameter | In | Type | Rules |
|---|---|---|---|
| id * | path | string | None |
curl 'https://api.apifor.dev/v1/exchange-rates/{id}' \
-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"
}
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable