Short answer: no. Oanda does not offer a free, general-purpose currency API for developers. The widely-cited v20 REST API requires a registered Oanda fxTrade brokerage account, and the separate Exchange Rates Data API is paid-only with no permanent free tier.
If you landed here because you searched "free Oanda API," you almost certainly don't want what Oanda actually sells. This guide explains what each Oanda API really is, who it's for, why most developers end up looking elsewhere, and which alternatives give you real-time FX data without the brokerage account or enterprise contract.
The Two Oanda APIs (They're Not the Same Product)
The first thing to understand is that "the Oanda API" is two completely different products with different audiences and access models.
1. The Oanda v20 REST API (for traders)
The v20 API is the programmatic interface to Oanda's fxTrade brokerage platform. It exposes:
- Live bid/ask prices on the instruments your account is permitted to trade
- Order placement, modification, and cancellation
- Position and trade management
- Account history and transaction logs
- Streaming price and event endpoints over HTTP
To call it, you need an fxTrade account ID and a personal access token, both issued by Oanda after you register. The v20 API itself doesn't have a per-call price tag, but you cannot use it without an Oanda account, and the live environment requires the same KYC, residency checks, and (in many regions) minimum deposits as opening any brokerage account. It is not a developer-tier currency data API in the way that ExchangeRate-API or Exchange Rate API are.
2. The Oanda Exchange Rates API (for businesses)
The Exchange Rates Data API is Oanda's standalone commercial data product, sold separately from fxTrade. It targets enterprises that need audit-grade historical FX rates, daily/hourly/minute-level snapshots, specific quote types, and multi-currency reporting for ERP systems.
This product has no free tier and no public pricing. Access is through an annual sales contract negotiated based on coverage, frequency, and call volume. Public reports place entry pricing in the hundreds of dollars per month and up.
Why Most Developers Can't (or Shouldn't) Use Oanda
If you just want to convert USD to EUR in your app, or display live rates on a SaaS dashboard, Oanda is almost always the wrong tool. Here's why developers keep walking away:
You need a brokerage account for the v20 API
To get a v20 access token, you have to register an Oanda fxTrade account, complete KYC, and in some regions deposit funds. You can't get a token in five minutes the way you can with most public REST APIs.
The v20 API isn't designed for general-purpose conversion
The v20 endpoints are built around the concept of your account: prices for instruments you're allowed to trade. There is no clean "give me USD/EUR mid-market right now" call without first assembling instrument lists.
Geofencing and regional restrictions
Oanda is regulated in multiple jurisdictions and not every account type is available everywhere. Developers in some countries can't open a live fxTrade account at all.
The Exchange Rates API is sold to procurement, not developers
If you have to email sales, sign an NDA, and wait two weeks for a quote, you're not in the developer-API market — you're in the enterprise data market.
Oanda Alternatives for Developers
| Provider | Permanent Free Tier | Real-Time Updates | Trading? | Account Required |
|---|---|---|---|---|
| Exchange Rate API | Yes | 60-second mid-market | No | Email signup, no card |
| Oanda v20 | Demo only | Tick-level on tradeable pairs | Yes | fxTrade account + KYC |
| Oanda Exchange Rates | No | Configurable, paid | No | Annual sales contract |
| ExchangeRate-API | Yes (limited) | Daily on free, hourly on paid | No | API key |
| Fixer.io | 100 req/mo, EUR only | Hourly free, 60s on paid | No | API key |
For pure currency data — conversions, historical rates, SaaS pricing localization, accounting integrations, dashboards — Exchange Rate API is the practical replacement. Same Reuters/Refinitiv-grade data feed, exposed as a clean REST API with a permanent free tier, official SDKs for JavaScript / Python / PHP, and an MCP server for AI agents.
Drop-in Replacement Example
Here's the same "USD to EUR conversion" call against Exchange Rate API — no brokerage account, no contract, no KYC:
curl "https://api.exchange-rateapi.com/v1/convert?from=USD&to=EUR&amount=100" \
-H "Authorization: Bearer era_live_your_api_key"
Returns:
{
"from": "USD",
"to": "EUR",
"amount": 100,
"rate": 0.9234,
"result": 92.34,
"timestamp": "2026-04-30T18:22:11Z"
}
FAQ
Is the Oanda API free?
No. The v20 REST API requires a registered fxTrade brokerage account (live or demo), and the Exchange Rates Data API is a paid product with no permanent free tier.
Can I use the Oanda API without a trading account?
Not the v20 API. The Exchange Rates Data API is separate and does not require a trading account, but it is paid-only.
Is the Oanda demo account API free?
Yes — demo (practice) accounts can access the v20 API at no cost, but they're meant for testing trading strategies with rate limits and potential data differences from production.
Is there a free alternative to the Oanda API?
Yes. Exchange Rate API offers a permanent free tier with real-time mid-market rates, 160+ currencies, historical data, and no credit card required.
If you searched for a free Oanda API, you don't actually need Oanda — you need real-time mid-market FX rates with a developer-friendly free tier. Exchange Rate API ships exactly that, with official SDKs and an MCP server for AI agents. No brokerage account required.
Try Exchange Rate API free
npm install @exchangerateapi/sdk
Skip the Brokerage Account
Real-time mid-market rates, free historical data, 160+ currencies. No KYC, no annual contract, no credit card.
Get Your Free API Key →