Exchange Rate API provides accurate, real-time and historical currency exchange rate data through a simple REST API. Mid-market rates from Reuters/Refinitiv updated every 60 seconds, no markup, no spread.
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://exchange-rateapi.com/api/v1/rates?source=USD&target=EUR,GBP,JPY"[
{ "source": "USD", "target": "EUR", "rate": 0.9234, "time": "2026-05-25T12:00:00Z" },
{ "source": "USD", "target": "GBP", "rate": 0.7891, "time": "2026-05-25T12:00:00Z" },
{ "source": "USD", "target": "JPY", "rate": 149.52, "time": "2026-05-25T12:00:00Z" }
]| Language | Package | Install |
|---|---|---|
| JavaScript/TypeScript | @exchangerateapi/sdk | npm i @exchangerateapi/sdk |
| Python | exchange-rateapi | pip install exchange-rateapi |
| PHP | exchangerateapi/sdk | composer require exchangerateapi/sdk |