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. There are two flavors of token:
- Practice (demo) tokens — work against api-fxpractice.oanda.com with simulated funds.
- Live tokens — work against api-fxtrade.oanda.com with real funds in your funded account.
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 AllRatesToday 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 (back to 1990 for some pairs)
- Daily, hourly, or minute-level snapshots
- Specific quote types (bid, ask, mid, highlow)
- Multi-currency reporting for ERP systems and tax compliance
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 and customer disclosures place entry pricing in the hundreds of dollars per month and up — comparable to XE Currency Data API or Refinitiv's lower-tier feeds.
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. Even the demo path requires identity verification. 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, in the account currency you opened with. There is no clean "give me USD/EUR mid-market right now" call without first assembling instrument lists and parsing tradeable prices. It works, but it's overkill for a converter widget.
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, which means no live token, which means no production v20 access. Demo access is broader but still subject to regional availability.
2026 free-tier restrictions
Over the past 12–18 months, Oanda has tightened access on multiple surfaces — including stricter KYC for new fxTrade accounts, region-specific fee schedules, and a rebrand of the data API away from the older "fxTrade Data" naming. The pattern is the same one we've seen at XE, CurrencyLayer, and others: legacy free or low-tier endpoints are quietly retired in favor of paid plans.
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. That's fine if you're a bank. It's the wrong shape for a startup, side project, or open-source library.
What "Free Oanda API" Searches Actually Want
When developers Google "is Oanda API free," what they almost always mean is one of three things:
- "Can I get live FX rates without paying?" — Yes, with a permanent free tier from a developer-first API. Oanda is the wrong starting point.
- "Can I build a currency converter / SaaS pricing localizer / accounting app for free?" — Yes, with sub-second to 60-second mid-market rates, full historical data, and no credit card required.
- "Can I do paper trading / strategy backtests for free?" — Use the Oanda v20 API in demo mode. That's its actual free use case, but you'll still need to register a practice account.
If you're in the first two camps, you don't need Oanda. You need a developer-first FX data API.
Oanda Alternatives for Developers
| Provider | Permanent Free Tier | Real-Time Updates | Trading? | Account Required |
|---|---|---|---|---|
| AllRatesToday | 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 |
| CurrencyLayer | 100 req/mo, USD only | Hourly free, 60s 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 — AllRatesToday is the practical replacement. Same Reuters/Refinitiv-grade data feed Oanda's data product is built on, exposed as a clean REST API with a permanent free tier, official SDKs for JavaScript / Python / PHP, and an MCP server for AI agents.
When Oanda Is the Right Choice
- You're building an automated trading bot or systematic strategy and need order execution, not just prices.
- You need tick-level streaming on a specific set of forex / CFD instruments tied to a real funded account.
- You're an enterprise with a procurement budget and need audit-grade historical data that names Oanda as the source.
- You already have an Oanda relationship for retail FX and want a single vendor.
When to Skip Oanda
- You only need currency conversions in an app, dashboard, invoice, or report.
- You want fast onboarding — minutes, not weeks.
- You don't want to open a brokerage account to call an API.
- You need a free tier for prototyping, hobby projects, or open-source.
- You want predictable monthly pricing, not annual enterprise contracts.
- You need CORS for browser-side calls (the v20 API is server-side only).
Drop-in Replacement Example
Here's the same "USD to EUR conversion" call against AllRatesToday — no brokerage account, no contract, no KYC:
curl "https://api.allratestoday.com/v1/convert?from=USD&to=EUR&amount=100" -H "x-api-key: YOUR_API_KEY"
Returns:
{
"from": "USD",
"to": "EUR",
"amount": 100,
"rate": 0.9234,
"result": 92.34,
"timestamp": "2026-04-30T18:22:11Z"
}
Replacing the v20 instrument-pricing flow takes about ten minutes. Replacing the Exchange Rates Data API for historical lookups takes the same. The free tier covers most prototypes outright; paid plans start far below Oanda's enterprise floor.
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. There is no general-purpose free developer plan.
Can I use the Oanda API without a trading account?
Not the v20 API. It's tied to your fxTrade account credentials and is intended for executing trades or pulling data tied to that account. 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. They have rate limits, are subject to availability, and the rates may differ slightly from production. Demo access is not a substitute for a production data feed.
What does the Oanda Exchange Rates API cost?
Oanda does not publish list pricing publicly. The product is sold per-quote with annual contracts, and pricing is negotiated based on volume, currency coverage, and update frequency. Public reports place entry pricing in the hundreds of dollars per month and up.
Is there a free alternative to the Oanda API?
Yes. AllRatesToday offers a permanent free tier with real-time mid-market rates, 160+ currencies, historical data, and no credit card required. It's the closest free equivalent for developers who don't need Oanda's trade execution capabilities.
Can I use Oanda data in a commercial product?
Yes, on paid plans of either the v20 or Exchange Rates products, subject to Oanda's licensing terms. The demo / practice environment is generally not licensed for commercial redistribution — read the terms before shipping.
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. AllRatesToday ships exactly that, with official SDKs and an MCP server for AI agents. No brokerage account required.