OANDA v20 REST API
FX & Currency Free key (no card)
AuthenticationFree key (no card)
Rate limitNo published numeric limit for practice environments; fair use applies.
Documentation: developer.oanda.com ยท Checked Sep 13, 2026
About
OANDA's v20 REST API provides forex market rates, instrument history, account data, and order placement. A free practice (demo) account issues an API token that works against the practice environment, so you can pull real FX data and simulate trades without funding an account. Regional restrictions apply to account signup.
Details
Free to start. You may need a free key, but no credit card.
Auth: Free key (no card)
Rate limit: No published numeric limit for practice environments; fair use applies.
Verified: 2026-09-13
Best for: FX backtests Simulated trading Currency converters
Setup
- Open a free OANDA practice/demo account.
- Generate a personal access token in the practice account settings.
- Call https://api-fxpractice.oanda.com with Authorization: Bearer <token>.
Example
GET https://api-fxpractice.oanda.com/v3/instruments/EUR_USD/candles?price=M&granularity=D (Authorization: Bearer TOKEN)Use cases
- Backtesting FX strategies on historical candles
- Paper-trading forex with a realistic API
- Building currency dashboards and converters