Central Bank Exchange Rates
Real-time and historical exchange rates sourced directly from central banks worldwide. Currently supporting Bangladesh Bank (BD), with more countries being added regularly (India RBI, Pakistan SBP, Sri Lanka CBSL, etc.).
Central Bank Exchange Rates endpoints
| Method | Endpoint | Description |
|---|---|---|
| Exchange Rates | ||
| GET |
getExchangeRates /api/v1/exchange_rate |
Returns exchange rates from central banks. By default, returns today's rates for all supported countries and currencies. Use query parameters to filter by specific country,… |
| GET |
getHistoricalRates /api/v1/historical/{date} |
Retrieves historical rates for a specific date. Data is auto-scraped on first request if missing. |
| GET |
getLatestRates /api/v1/latest |
Gets latest exchange rates for a specific country. Supports base currency rebasing and symbol filtering. |
| Conversion | ||
| GET |
convertCurrency /api/v1/convert |
Converts an amount from one currency to another using official central bank rates. Supports cross-rate calculation for non-base currency pairs. |
| Analytics | ||
| GET |
getOHLC /api/v1/ohlc |
Returns Open/High/Low/Close candlestick data for exchange rates over a date range. Ideal for forex-style charts and technical analysis. |
| GET |
getTimeseries /api/v1/timeseries |
Returns exchange rate time series for a date range (max 365 days). Ideal for building charts and trend analysis. |
| GET |
getStatistics /api/v1/statistics |
Returns statistical analysis of exchange rates over a date range, including: min, max, average, median, standard deviation, variance, and percentage change. Essential for risk… |
| GET |
getSpread /api/v1/spread |
Returns bid-ask spread analysis for each currency pair. Includes absolute spread and percentage spread — useful for cost analysis and liquidity assessment. |
| GET |
getFluctuation /api/v1/fluctuation |
Calculates exchange rate fluctuations (absolute and percentage change) between two dates. |
| Batch | ||
| GET |
getBatch /api/v1/batch |
Get rates for multiple specific dates in a single request (max 30 dates). Perfect for tax season, audits, and month-end reporting. |
| Metadata | ||
| GET |
getCountries /api/v1/countries |
Returns all 156 supported countries with central bank metadata, source URLs, and available currencies. Useful for discovering coverage and building country selectors. |
| GET |
getCurrencies /api/v1/currencies |
Returns supported currencies by country with metadata including base currency and source bank. |
| System | ||
| GET |
healthCheck /health |
Returns the health status of the API. Does not require authentication. |
Central Bank Exchange Rates pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 10 / minute |
|
| PRO Recommended | $9.99 / month | 60 / minute |
|
| ULTRA | $29 / month | 1000 / minute |
|
| MEGA | $99 / month | 10000 / minute |
|