List the central banks and what each one publishes.
Returns every central bank the V2 endpoints support: its code, name, home currency and the countries it covers, whether it publishes a policy interest rate, and how it publishes exchange rates. Use the bankCode values as bank_code on the other V2 central bank endpoints.
This endpoint takes no parameters. It works with any valid credentials and does not count towards your rate requests.
Also available as XML and CSV by appending .xml or .csv to the path.
https://xecdapi.xe.com/v2/central_bank/metadata.csv
API key created on your Xe Currency Data account's API page, sent as a Bearer token in the Authorization header.
In: header
Response Body
application/json
application/json
application/json
text/plain
curl -X GET "https://example.com/v2/central_bank/metadata"{ "terms": "https://www.xe.com/legal", "privacy": "https://www.xe.com/privacy", "centralBanks": [ { "bankCode": "BRA", "name": "Central Bank of Brazil", "countryCode": [ "BR" ], "baseCurrency": "BRL", "interestRates": { "published": false }, "exchangeRates": { "postFrequency": "daily", "availableAtTimeUtc": "18:00", "effectiveFor": "same day", "bidAsk": true, "ratesFrom": "2026-01-02" } }, { "bankCode": "CAN", "name": "Bank of Canada", "countryCode": [ "CA" ], "baseCurrency": "CAD", "interestRates": { "published": true, "ratesFrom": "2010-05-31" }, "exchangeRates": { "postFrequency": "daily", "availableAtTimeUtc": "23:00", "effectiveFor": "same day", "bidAsk": false, "ratesFrom": "2026-01-02" } } ]}{ "code": 1, "message": "Bad credentials", "documentation_url": "https://developers.xe.com/docs/currency-data-api"}{ "code": 4, "message": "Current interval rate limit exceeded.", "documentation_url": "https://developers.xe.com/docs/currency-data-api"}"An unexpected error occurred"Central bank policy interest rates for one or more central banks. GET
Returns the policy interest rate for each requested central bank: the `interestRate` side of `/v2/central_bank`. Only some central banks publish one; `interestRates.published` in `/v2/central_bank/metadata` shows which. Requires the Central bank exchange & interest rates add-on. See [Data plans](https://developers.xe.com/docs/currency-data-api/data-plans). The European Central Bank sets the policy rate for the euro area, so the code of a euro area national bank returns the European Central Bank's rate, under `ECB`. Each interest rate returned counts as one rate request. Also available as XML and CSV by appending `.xml` or `.csv` to the path. [https://xecdapi.xe.com/v2/central_bank/interest_rate.csv?bank_code=*](https://xecdapi.xe.com/v2/central_bank/interest_rate.csv?bank_code=*)
Central bank interest rates and exchange rates for one or more central banks. GET
Returns each requested central bank's policy interest rate and its exchange rates in one response, grouped by bank. To request one side only, use `/v2/central_bank/interest_rate` or `/v2/central_bank/exchange_rate`. Requires the Central bank exchange & interest rates add-on. See [Data plans](https://developers.xe.com/docs/currency-data-api/data-plans). A bank appears with an `interestRate` object only if it publishes a policy interest rate, and with an `exchangeRates` object only if it has exchange rates for the date. Use `/v2/central_bank/metadata` to see which banks publish what. The European Central Bank sets the policy rate for the euro area, so the code of a euro area national bank (for example SVN) returns that bank's exchange rates under its own code and the European Central Bank's interest rate under `ECB`. Exchange rates keep the direction the bank publishes them in, so `fromCurrency` is not always the bank's own currency. Exchange rates are returned once their effective date has arrived in the bank's local time zone. Some banks publish the next day's rate in advance (for example RUS): `/v1/central_bank_rate` returns it as soon as it is published, this endpoint from the date it is effective for. Each interest rate and each exchange rate pair returned counts as one rate request. Also available as XML and CSV by appending `.xml` or `.csv` to the path. [https://xecdapi.xe.com/v2/central_bank.csv?bank_code=ECB&iso=*](https://xecdapi.xe.com/v2/central_bank.csv?bank_code=ECB&iso=*)