Exchange Rate API.
Engineered for developers.
Real-time rates for 170 currencies and 500+ crypto.
Sub-10ms globally via Cloudflare's edge network.
"data": {
"base": "USD",
"result": { "EUR": 0.9234 },
"updated": "2026-04-06T16:00:00Z"
}, "meta": { "response_time_ms": 4, "source": "ECB" }
}
Interactive
Try the API live
Make real requests against the production API. No signup required.
curl "http://localhost:8787/v1/fetch-one" \
-H "X-API-Key: YOUR_API_KEY"Capabilities
Everything you need
Built from the ground up for developer experience.
Edge-native
Deployed on Cloudflare Workers at 300+ edge locations. Sub-8ms globally with zero cold starts.
WebSocket streaming
Subscribe to live rate streams. Push updates for trading dashboards, checkout widgets, and FX monitors.
Professional FX data
Interbank bid/ask spreads, OHLC candles, and cross-rate matrices. The data institutions use.
Historical depth
Daily FX history back to 1999 from the European Central Bank. Query any date or range via REST.
Crypto included
500+ cryptocurrencies alongside fiat. One API, one key, one unified response format.
One honest price
$18/mo for everything. No hidden multipliers, no per-currency fees, no data-export add-ons.
Integration
Simple to integrate
One endpoint. One header. One JSON response. Works with any HTTP client in any language.
- No SDK required - works with fetch, curl, httpx
- Consistent response schema across all endpoints
- Millisecond timing on every response
- CORS enabled for browser requests
curl "https://api.xr8.io/v1/fetch-one?from=USD&to=EUR" \
-H "X-API-Key: xr8_live_your_key_here"Comparison
How we compare
Speed, features, and value.
| Feature | xr8.io | FastForex | ExchangeRate-API |
|---|---|---|---|
| Avg response time | < 8ms | ~21ms | ~120ms |
| WebSocket | |||
| Fiat currencies | 170+ | 150+ | 160+ |
| Crypto | 500+ | 100+ | |
| Historical depth | Since 1999 | 1 year | 2 years |
| Free tier | 1,000/mo | 500/mo | 1,500/mo |
| Pro price | $18/mo | $18/mo | $30/mo |
| Edge network | 300+ PoPs | Single | Single |
Pricing
Simple, honest pricing
No setup fees. No hidden multipliers. Cancel anytime.
Free
Evaluate and prototype
- 1,000 requests/month
- Daily updates
- 170 fiat currencies
- REST API
- Community support
Starter
For indie devs and small apps
- 100,000 requests/month
- Hourly updates
- 1 year historical
- Email support
- All fiat currencies
Pro
Everything. No compromises.
- 1,000,000 requests/month
- Every-minute updates
- 10 year historical
- WebSocket streaming
- FX bid/ask + Crypto
- Priority support
Scale
For fintech at volume
- Unlimited requests
- Real-time (10s cache)
- Since 1999 historical
- WebSocket streaming
- FX + Crypto
- Dedicated support
FAQ
Frequently asked questions
Rates are sourced from the European Central Bank and Open Exchange Rates. ECB provides official daily reference rates for 32 major currencies. OXR covers 170+ currencies with intraday updates. Pro and Scale plans refresh every minute.
xr8.io is a near drop-in replacement. Change your base URL to api.xr8.io/v1, swap the API key header, and you're done. Our fetch-one, fetch-multi, and convert endpoints mirror FastForex's response shapes. We have a full migration guide in the docs.
Yes, on Pro and Scale plans. Connect to wss://api.xr8.io/v1/stream with your API key, subscribe to currency pairs, and receive rate updates in real-time. Requires Workers Paid plan on Cloudflare.
Scale plans access ECB data going back to 1999. Pro plans get 10 years, Starter gets 1 year. All historical data is available via the /v1/historical endpoint at daily granularity.
Over 500 cryptocurrencies via Coinbase and Kraken data feeds. Includes BTC, ETH, SOL, and all major tokens. Available on Pro and Scale plans.
You get a 429 response with X-RateLimit-Reset header. We never silently drop requests. Upgrade anytime from the dashboard and new limits apply immediately.
The API runs on Cloudflare Workers across 300+ edge locations. We target 99.99% uptime on all paid plans. Current status is always visible at status.xr8.io.
Yes, all plans including Free allow commercial use. Review our Terms of Service for details on rate data redistribution.
Start in under two minutes
Create your free account, grab an API key, and make your first request. No credit card required.