# ExchangeRate-API API

> Free currency conversion.

ExchangeRate-API is a currency exchange API from exchangerate-api.com. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 1 endpoint.

## At a glance

- Category: [Currency Exchange](https://www.openparable.com/apis/category/currency-exchange)
- Provider: exchangerate-api.com
- Authentication: API key
- HTTPS: Yes
- CORS: Yes
- Base URL: https://api.exchangerate-api.com/v4
- Documentation: https://www.exchangerate-api.com/
- OpenAPI description: https://api.apis.guru/v2/specs/exchangerate-api.com/4/openapi.json
- Version: 4
- Specification updated: 2021-06-21

## Example request

```bash
curl -X GET "https://api.exchangerate-api.com/v4/latest/BASE_CURRENCY" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Endpoints

- `GET /latest/{base_currency}` — Returns latest exchange rates in parameter-supplied base currency.

## Questions

### Does the ExchangeRate-API API need an API key?

Yes. The ExchangeRate-API API uses API key authentication; the documentation explains how to get credentials.

### Can I call the ExchangeRate-API API from the browser?

Yes. The ExchangeRate-API API sends CORS headers, so a web page can call it directly with fetch().

### Does the ExchangeRate-API API support HTTPS?

Yes, the ExchangeRate-API API is served over HTTPS.

### How many endpoints does the ExchangeRate-API API have?

Its OpenAPI description lists 1 endpoint in version 4. All of them are shown on this page.

### What are alternatives to the ExchangeRate-API API?

Other Currency Exchange APIs include Bank of Russia, National Bank of Poland, Czech National Bank, API for the Settlement Currency Rate converter, Frankfurter.

## Similar currency exchange APIs

- [Bank of Russia](https://www.openparable.com/apis/bank-of-russia): Exchange rates and currency conversion
- [National Bank of Poland](https://www.openparable.com/apis/national-bank-of-poland): A collection of currency exchange rates (data in XML and JSON)
- [Czech National Bank](https://www.openparable.com/apis/czech-national-bank): A collection of exchange rates
- [API for the Settlement Currency Rate converter](https://www.openparable.com/apis/for-the-settlement-currency-rate-converter): This API provides a range of functions to get back currency conversion rates and amounts based on current Mastercard currency conversion values.
- [Frankfurter](https://www.openparable.com/apis/frankfurter): Exchange rates, currency conversion and time series
- [Economia.Awesome](https://www.openparable.com/apis/economia-awesome): Portuguese free currency prices and conversion with no rate limits
- [1Forge](https://www.openparable.com/apis/1forge): Forex currency market data
- [CurrencyFreaks](https://www.openparable.com/apis/currencyfreaks): Provides current and historical currency exchange rates with free plan 1K requests/month
- [Currency-api](https://www.openparable.com/apis/currency): Free Currency Exchange Rates API with 150+ Currencies & No Rate Limits
- [Exchangerate.dev](https://www.openparable.com/apis/exchangerate-dev): Live & historical FX, 168 pairs back to 1999, Frankfurter-compatible, free 10k/mo
- [Daleelak](https://www.openparable.com/apis/daleelak): Egyptian bank and dealer exchange rates, gold and silver prices
- [Fulusly](https://www.openparable.com/apis/fulusly): Exchange rates for 144 currencies with daily history back to the 1990s, English and Arabic

Listed from: public-apis (MIT), public-apis database (MIT), APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/exchangerate (OpenParable). Cite the canonical URL above.
