Central bank rates
Request reference exchange rates published by a specific bank. Learn how to select the bank code and read the BankFXApi response and source dates.
/v1/bank/{BANK_CODE}The Central Bank Rate API enables you to retrieve exchange rates from a wide range of supported central banks.
Plan Restriction: This endpoint is not available on the Starter plan. You must be subscribed to a higher tier to access specific central bank rates.
Refer to the complete list of supported central banks and their codes to find the appropriate BANK_CODE.
Making an API Request
To fetch rates from a specific central bank, send a GET request to the following endpoint:
https://api.bankfxapi.com/v1/bank/BANK_CODE
Replace BANK_CODE with the code of your chosen central bank from the supported list.
Example
To obtain rates from the Central Bank of Egypt (EGCB):
https://api.bankfxapi.com/v1/bank/EGCB
Note:
- Always use a valid
BANK_CODEfrom the supported list.- The API returns the latest available rates for the selected central bank.
Authentication is required for all API requests. See the authentication guide for details.