Loading rates…

Exchange Rates API
Fast. Reliable. Affordable.

Real-time & historical exchange rates from 16 official central banks and aggregators. No credit card for trial. Start in seconds.

Real-time data

Live rates from ECB, BOC, NBP, RBA, SNB and 11 more sources updated every 15 minutes.

🌍

2,000+ pairs

Major, minor, and exotic currencies including NGN, KES, GHS, EGP, PKR, BDT and more.

🔑

API key auth

Secure per-key quota tracking. Create multiple keys for different projects.

📈

Historical data

Query rates for any past date or date range. Daily snapshots stored forever.

🆓

30-day free trial

1,000 requests/day during trial. No credit card required to start.

🔄

Simple REST API

JSON responses, standard query params. Works with any language or framework.

Simple pricing
Compare all plans →
Dashboard
This Month
Total Requests
all keys
Plan
API Keys
active keys
API Keys
Your new API key:
⚠ This key will not be shown again. Copy it now.
Loading keys…
Quick start
curl "https://xchange-rate-api.com/v1/latest?base=USD" \
  -H "Authorization: Bearer YOUR_API_KEY"

Simple, transparent pricing

Start free for 30 days. No credit card required.

Trial
$0 / 30 days
  • 1,000 requests/day
  • All API endpoints
  • 2,000+ currency pairs
  • Real-time rates
  • No credit card
Pro
$29.99 / month
  • 100,000 requests/day
  • All API endpoints
  • Historical data
  • Unlimited API keys
  • Priority support
All plans include a 30-day free trial · Cancel anytime · Billed via Stripe
API Playground
GET
// Select an endpoint and click Run
Authentication

All /v1/* endpoints require an API key. Pass it as a Bearer token or query parameter.

Header (recommended)
Authorization: Bearer era_your_key
Query parameter
?api_key=era_your_key
Endpoints
GET/v1/latest Latest exchange rates for a base currency
ParamRequiredDefaultDescription
baseoptionalUSD3-letter ISO 4217 base currency
symbolsoptionalallComma-separated target currencies
curl \
  -H "Authorization: Bearer YOUR_KEY"
GET/v1/convert Convert an amount between two currencies
ParamRequiredDefaultDescription
fromrequiredSource currency
torequiredTarget currency
amountrequiredNumeric amount
curl \
  -H "Authorization: Bearer YOUR_KEY"
GET/v1/historical Rates for a specific past date
ParamRequiredDefaultDescription
daterequiredYYYY-MM-DD
baseoptionalUSDBase currency
curl \
  -H "Authorization: Bearer YOUR_KEY"
GET/v1/range Rates over a date range
ParamRequiredDefaultDescription
startrequiredStart date YYYY-MM-DD
endrequiredEnd date YYYY-MM-DD
baseoptionalUSDBase currency
curl \
  -H "Authorization: Bearer YOUR_KEY"
Data Sources (16 total)
Loading…