If you have ever searched for reliable foreign exchange data, you have almost certainly come across Oanda. The company has been a fixture in the FX industry since the late 1990s, and its Oanda exchange rates API documentation is one of the most referenced resources in the currency data space.

But here is the thing many developers discover only after spending hours reading through those docs: Oanda actually operates two distinct APIs, and the one you probably want is not the one you will find first. This guide breaks down what you need to know about navigating the Oanda exchange rates API documentation, what it costs, who it is designed for, and when a simpler alternative might be the better fit.

Understanding Oanda's Two APIs

This is the first point of confusion for most developers. Oanda maintains two separate API products that serve very different purposes.

The v20 Trading API

When you Google "Oanda API," the first result is typically the v20 REST API documentation for their trading platform. This API is designed for algorithmic traders who want to place orders, manage positions, and stream live bid/ask prices through an Oanda brokerage account.

Key characteristics of the v20 Trading API:

If you are building a trading bot, this is the right API. If you need exchange rate data for your application, it is not.

The Exchange Rates Data API

The second product, and the one most developers actually need, is the Oanda Exchange Rates Data API. This is a separate service with its own documentation, pricing, and access requirements. It provides mid-market exchange rates sourced from Oanda's proprietary data pipeline.

Key characteristics of the Exchange Rates Data API:

Navigating the Documentation Structure

Documentation SectionWhat It Covers
AuthenticationAPI key generation, header format, IP whitelisting
Spot RatesCurrent mid-market rates with configurable decimal places
Historical RatesDaily closing rates, specific date lookups
Candle DataOHLC data at various intervals (hourly, daily, weekly)
Currency ListSupported currencies, metals, and cryptocurrency codes
Error HandlingStatus codes, rate limiting, error response formats

The Pricing Question

This is where many developers hit a wall. Oanda does not publish pricing for their Exchange Rates Data API.

FactorOanda Exchange Rates API
Published PricingNo (contact sales required)
Free TierNo
Trial AccessAvailable upon request
Minimum ContractTypically annual
Target CustomerEnterprise, financial institutions
Self-Service SignupNo

What Oanda Does Well

Data lineage and auditability. Oanda has been collecting FX data for over two decades. Their rates are trusted by tax authorities, accounting firms, and central banks.

Granular historical data. Access to intra-day historical rates going back years is valuable for backtesting, research, and compliance.

Customizable decimal precision. For financial applications that need rates to six or more decimal places.

Institutional support. Dedicated account managers, SLAs, and custom data delivery formats.

Where Developers Run Into Friction

No self-service access. You cannot sign up, get an API key, and start making requests.

Opaque pricing. Without knowing the cost, it is difficult to include in project budgets.

Complex authentication. The API uses a custom authentication scheme rather than standard Bearer token authentication.

Two-API confusion. New developers frequently spend time reading the v20 trading API docs before realizing they need the separate Exchange Rates product.

Exchange Rate API: A Developer-First Alternative

If you need reliable exchange rate data without the enterprise procurement process, Exchange Rate API is built specifically for development teams that want to move fast.

FeatureOanda Exchange Rates APIExchange Rate API
Self-Service SignupNo (contact sales)Yes, instant API key
Free TierNo1,500 requests/month
Published PricingNoTransparent tiers
Currency Coverage200+ currencies160+ currencies
Update FrequencyVaries by planEvery 60 seconds
AuthenticationCustom headerStandard Bearer token
Data SourcesProprietary pipelineReuters and central banks
Time to First RequestDays to weeksUnder 5 minutes

Getting Started in Under 5 Minutes

Step 1: Sign up at exchange-rateapi.com and get your API key.

Step 2: Make your first request:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://exchange-rateapi.com/api/v1/rates?source=USD"

Step 3: That is it. You get back rates for 160+ currencies, updated every 60 seconds.

Need a direct conversion?

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://exchange-rateapi.com/api/v1/convert?from=USD&to=EUR&amount=100"

When to Choose Oanda vs. Exchange Rate API

Choose Oanda if:

Choose Exchange Rate API if:

Making the Switch

If you have already integrated with Oanda and are considering a switch, the migration is straightforward:

Oanda ConceptExchange Rate API Equivalent
GET /v2/rates/spot.json?base=USDGET /v1/latest?base=USD
GET /v2/rates/candle.jsonGET /v1/timeseries?start=...&end=...
Historical date lookupGET /v1/historical?date=2026-01-15
Custom auth headerAuthorization: Bearer YOUR_API_KEY

Conclusion

The Oanda exchange rates API documentation reflects a mature, enterprise-grade product built for institutional clients. If that is your profile, Oanda remains a strong choice.

But if you are a developer who wants to start building now, with clear pricing, instant access, and a modern REST API, Exchange Rate API was designed for exactly that workflow.

Sign up for free at exchange-rateapi.com and make your first API call in under five minutes. The free tier includes 1,500 requests per month.


Need help choosing the right plan or integrating Exchange Rate API into your project? Check out the developer documentation or explore pricing options.

Try Exchange Rate API free

npm install @exchangerateapi/sdk

Skip the Enterprise Sales Process

Real-time mid-market rates, free historical data, 160+ currencies. Instant API key, no annual contract, no credit card.

Get Your Free API Key →

Related Articles