# Open Exchange Rates

Category: [Currency and finance](https://free-web-services.com/web-services/unit-convertors/)  
Page: https://free-web-services.com/web-services/unit-convertors/open-exchange-rates.html  
Documentation: https://docs.openexchangerates.org/reference/api-introduction

Open Exchange Rates gives current and historical exchange rates for world currencies as JSON, for price conversion in shops, invoices and finance apps. Call endpoints such as latest.json or historical/.json with an app ID to get a table of rates. Paid plans add more requests, faster updates, a choice of base currency and extra endpoints. Free with a free API key, for 1,000 requests a month with hourly updated rates.

- API key: Needed, free
- Pricing: Free with a free API key, for 1,000 requests a month with hourly updated rates.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: docs.openexchangerates.org

Example request:

```sh
curl 'https://openexchangerates.org/api/latest.json?app_id=YOUR_API_KEY'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

