XE Currency Data API
XE Currency Data API provides real-time and historical foreign exchange rates for 170+ currencies sourced from global interbank markets, designed for applications needing reliable, high-frequency rate data for display, conversion, or compliance purposes.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
TLS enforced for all API calls. HTTP Basic Auth is the only method — no API key rotation API, no fine-grained scopes. Credentials must be stored securely (env vars, secrets manager) as they grant full account access. No IP allowlisting documented.
⚡ Reliability
Best When
You need a reliable, well-documented source of mid-market FX rates for 170+ currencies with historical depth, backed by a brand trusted for consumer accuracy.
Avoid When
You need executable trading rates with spread data, sub-second streaming, or you are cost-sensitive and only need a handful of major pairs (free alternatives like Open Exchange Rates may suffice).
Use Cases
- • Agents converting transaction amounts between currencies at the mid-market rate for reporting or invoicing workflows
- • Automated FX rate monitoring that triggers alerts or rebalancing actions when a rate crosses a threshold
- • Historical rate lookups for backdating financial calculations or auditing past cross-currency transactions
- • Multi-currency pricing engines where agent tools must quote prices in a user's local currency
- • Compliance workflows requiring daily snapshot rates for financial record-keeping under regulatory standards
Not For
- • Algorithmic or high-frequency FX trading — XE rates are mid-market reference rates, not executable trading quotes with liquidity
- • Real-time streaming tick data at sub-second granularity — XE is a polling REST API, not a streaming feed
- • Applications needing bank buy/sell spreads — XE provides mid-market rates only, not bank-specific spread data
Interface
Authentication
HTTP Basic Authentication using account ID as username and API key as password. Key is tied to a paid subscription plan. No OAuth or token rotation — rotate via account dashboard.
Pricing
All production access is paid. Pricing is tiered by rate freshness (delayed vs real-time), number of currencies, and historical depth. Contact XE sales for volume pricing.
Agent Metadata
Known Gotchas
- ⚠ Rate freshness varies dramatically by plan — agents on Starter may receive rates delayed by 24 hours, which is unsuitable for real-time conversion workflows; verify plan tier before deploying
- ⚠ HTTP Basic Auth credentials (account ID + API key) must be base64-encoded in the Authorization header — easy to misconfigure in agent HTTP clients that don't handle basic auth natively
- ⚠ Historical rate endpoint may not have data for all currency pairs on all dates — agents must handle sparse responses gracefully rather than assuming full coverage
- ⚠ No webhook or push mechanism — agents must poll at their own interval and implement their own change-detection logic for rate alerting use cases
- ⚠ API does not return bid/ask spreads — agents that need executable FX quotes for payment workflows must source spread data from a separate provider
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for XE Currency Data API.
Scores are editorial opinions as of 2026-03-06.