Real-time & historical exchange rates from 16 official central banks and aggregators. No credit card for trial. Start in seconds.
Live rates from ECB, BOC, NBP, RBA, SNB and 11 more sources updated every 15 minutes.
Major, minor, and exotic currencies including NGN, KES, GHS, EGP, PKR, BDT and more.
Secure per-key quota tracking. Create multiple keys for different projects.
Query rates for any past date or date range. Daily snapshots stored forever.
1,000 requests/day during trial. No credit card required to start.
JSON responses, standard query params. Works with any language or framework.
curl "https://xchange-rate-api.com/v1/latest?base=USD" \
-H "Authorization: Bearer YOUR_API_KEY"
Start free for 30 days. No credit card required.
// Select an endpoint and click Run
All /v1/* endpoints require an API key. Pass it as a Bearer token or query parameter.
Authorization: Bearer era_your_key?api_key=era_your_key| Param | Required | Default | Description |
|---|---|---|---|
| base | optional | USD | 3-letter ISO 4217 base currency |
| symbols | optional | all | Comma-separated target currencies |
curl \
-H "Authorization: Bearer YOUR_KEY"| Param | Required | Default | Description |
|---|---|---|---|
| from | required | — | Source currency |
| to | required | — | Target currency |
| amount | required | — | Numeric amount |
curl \
-H "Authorization: Bearer YOUR_KEY"| Param | Required | Default | Description |
|---|---|---|---|
| date | required | — | YYYY-MM-DD |
| base | optional | USD | Base currency |
curl \
-H "Authorization: Bearer YOUR_KEY"| Param | Required | Default | Description |
|---|---|---|---|
| start | required | — | Start date YYYY-MM-DD |
| end | required | — | End date YYYY-MM-DD |
| base | optional | USD | Base currency |
curl \
-H "Authorization: Bearer YOUR_KEY"