OANDA
OANDA is a forex and CFD trading broker offering REST APIs for live and practice trading. The v20 REST API provides access to real-time forex rates, order management, trade lifecycle, position tracking, and historical OHLC candle data dating back to 2005. A separate Exchange Rates Data API delivers institutional-grade FX rates across 200+ currencies for data services use cases.
OANDA publishes 5 APIs on the APIs.io network, including Pricing API, Accounts API, Instruments API, and 2 more. Tagged areas include Forex, FX Trading, CFD Trading, Financial Services, and Trading APIs.
The OANDA catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.
OANDA’s developer surface includes developer portal, documentation, getting-started guide, API reference, authentication, pricing, signup flow, and 11 more developer resources.
Kin Score
APIs 11
Individual APIs this provider publishes, each with its own machine-readable definition.
OANDA Account API
Manage and retrieve OANDA trading account details, summaries, tradeable instruments, and configuration settings. Supports polling for account state changes since a specified tra...
OANDA Order API
Create, list, modify, and cancel orders in an OANDA trading account. Supports market, limit, stop, take profit, stop loss, and trailing stop order types with FOK, IOC, DAY, GTD,...
OANDA Trade API
List, retrieve, partially or fully close open trades, and manage dependent orders (take profit, stop loss, trailing stop loss) for trades in an OANDA account.
OANDA Position API
List all positions (historical and open) and close out open positions for a specific instrument in an OANDA trading account.
OANDA Transaction API
Access full transaction history for an OANDA trading account with time-based and ID-range queries. Includes a streaming endpoint for real-time transaction notifications from the...
OANDA Pricing API
Retrieve real-time bid/ask pricing, stream live price updates at up to 4 per second, and access historical OHLC candlestick data for any tradeable instrument. Historical data is...
OANDA Exchange Rates API
Institutional-grade foreign exchange data service covering 200+ currencies and 38,000+ currency pairs. Provides daily average rates, period averages, ECB and national bank rates...
OANDA Accounts API
The Accounts API from OANDA — 29 operation(s) for accounts.
OANDA Instruments API
The Instruments API from OANDA — 5 operation(s) for instruments.
OANDA Pricing API
The Pricing API from OANDA — 2 operation(s) for pricing.
OANDA Users API
The Users API from OANDA — 2 operation(s) for users.
Scroll for all 11
Pricing Plans 1
Published pricing tiers and plan structures.
Oanda Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Oanda Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
Oanda Finops
FINOPSFeatures 16
Notable capabilities this provider offers.
Scroll for all 16
Semantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Oanda Context
JSON-LDSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
OANDA API Rules
SPECTRALJSON Schema 156
Standalone JSON Schema definitions for this provider's data models.
AcceptDatetimeFormat
JSON SCHEMAAccount
JSON SCHEMAAccountChanges
JSON SCHEMAAccountChangesState
JSON SCHEMAAccountFinancingMode
JSON SCHEMAAccountID
JSON SCHEMAAccountProperties
JSON SCHEMAAccountSummary
JSON SCHEMAAccountUnits
JSON SCHEMACalculatedAccountState
JSON SCHEMACalculatedPositionState
JSON SCHEMACalculatedTradeState
JSON SCHEMACancellableOrderType
JSON SCHEMACandlestick
JSON SCHEMACandlestickData
JSON SCHEMACandlestickGranularity
JSON SCHEMAClientComment
JSON SCHEMAClientConfigureRejectTransaction
JSON SCHEMAClientConfigureTransaction
JSON SCHEMAClientExtensions
JSON SCHEMAClientID
JSON SCHEMAClientPrice
JSON SCHEMAClientRequestID
JSON SCHEMAClientTag
JSON SCHEMACloseTransaction
JSON SCHEMACreateTransaction
JSON SCHEMACurrency
JSON SCHEMADailyFinancingTransaction
JSON SCHEMADateTime
JSON SCHEMADecimalNumber
JSON SCHEMADelayedTradeClosureTransaction
JSON SCHEMADirection
JSON SCHEMADynamicOrderState
JSON SCHEMAFixedPriceOrder
JSON SCHEMAFixedPriceOrderReason
JSON SCHEMAFixedPriceOrderTransaction
JSON SCHEMAFundingReason
JSON SCHEMAGuaranteedStopLossOrderEntryData
JSON SCHEMAGuaranteedStopLossOrderLevelRestriction
JSON SCHEMAGuaranteedStopLossOrderMode
JSON SCHEMAHomeConversions
JSON SCHEMAInstrument
JSON SCHEMAInstrumentCommission
JSON SCHEMAInstrumentName
JSON SCHEMAInstrumentType
JSON SCHEMALimitOrder
JSON SCHEMALimitOrderReason
JSON SCHEMALimitOrderRejectTransaction
JSON SCHEMALimitOrderRequest
JSON SCHEMALimitOrderTransaction
JSON SCHEMALiquidityRegenerationSchedule
JSON SCHEMALiquidityRegenerationScheduleStep
JSON SCHEMAMT4TransactionHeartbeat
JSON SCHEMAMarginCallEnterTransaction
JSON SCHEMAMarginCallExitTransaction
JSON SCHEMAMarginCallExtendTransaction
JSON SCHEMAMarketIfTouchedOrder
JSON SCHEMAMarketIfTouchedOrderReason
JSON SCHEMAMarketIfTouchedOrderRejectTransaction
JSON SCHEMAMarketIfTouchedOrderRequest
JSON SCHEMAMarketIfTouchedOrderTransaction
JSON SCHEMAMarketOrder
JSON SCHEMAMarketOrderDelayedTradeClose
JSON SCHEMAMarketOrderMarginCloseout
JSON SCHEMAMarketOrderMarginCloseoutReason
JSON SCHEMAMarketOrderPositionCloseout
JSON SCHEMAMarketOrderReason
JSON SCHEMAMarketOrderRejectTransaction
JSON SCHEMAMarketOrderRequest
JSON SCHEMAMarketOrderTradeClose
JSON SCHEMAMarketOrderTransaction
JSON SCHEMAOpenTradeFinancing
JSON SCHEMAOrder
JSON SCHEMAOrderBook
JSON SCHEMAOrderBookBucket
JSON SCHEMAOrderCancelReason
JSON SCHEMAOrderCancelRejectTransaction
JSON SCHEMAOrderCancelTransaction
JSON SCHEMAOrderClientExtensionsModifyRejectTransaction
JSON SCHEMAOrderClientExtensionsModifyTransaction
JSON SCHEMAOrderFillReason
JSON SCHEMAOrderFillTransaction
JSON SCHEMAOrderID
JSON SCHEMAOrderIdentifier
JSON SCHEMAOrderPositionFill
JSON SCHEMAOrderRequest
JSON SCHEMAOrderSpecifier
JSON SCHEMAOrderState
JSON SCHEMAOrderStateFilter
JSON SCHEMAOrderTriggerCondition
JSON SCHEMAOrderType
JSON SCHEMAPosition
JSON SCHEMAPositionAggregationMode
JSON SCHEMAPositionBook
JSON SCHEMAPositionBookBucket
JSON SCHEMAPositionFinancing
JSON SCHEMAPositionSide
JSON SCHEMAPrice
JSON SCHEMAPriceBucket
JSON SCHEMAPriceStatus
JSON SCHEMAPriceValue
JSON SCHEMAPricingHeartbeat
JSON SCHEMAQuoteHomeConversionFactors
JSON SCHEMAReopenTransaction
JSON SCHEMARequestID
JSON SCHEMAResetResettablePLTransaction
JSON SCHEMAStatementYear
JSON SCHEMAStopLossDetails
JSON SCHEMAStopLossOrder
JSON SCHEMAStopLossOrderReason
JSON SCHEMAStopLossOrderRejectTransaction
JSON SCHEMAStopLossOrderRequest
JSON SCHEMAStopLossOrderTransaction
JSON SCHEMAStopOrder
JSON SCHEMAStopOrderReason
JSON SCHEMAStopOrderRejectTransaction
JSON SCHEMAStopOrderRequest
JSON SCHEMAStopOrderTransaction
JSON SCHEMATakeProfitDetails
JSON SCHEMATakeProfitOrder
JSON SCHEMATakeProfitOrderReason
JSON SCHEMATakeProfitOrderRejectTransaction
JSON SCHEMATakeProfitOrderRequest
JSON SCHEMATakeProfitOrderTransaction
JSON SCHEMATimeInForce
JSON SCHEMATrade
JSON SCHEMATradeClientExtensionsModifyRejectTransaction
JSON SCHEMATradeClientExtensionsModifyTransaction
JSON SCHEMATradeID
JSON SCHEMATradeOpen
JSON SCHEMATradePL
JSON SCHEMATradeReduce
JSON SCHEMATradeSpecifier
JSON SCHEMATradeState
JSON SCHEMATradeStateFilter
JSON SCHEMATradeSummary
JSON SCHEMATrailingStopLossDetails
JSON SCHEMATrailingStopLossOrder
JSON SCHEMATrailingStopLossOrderReason
JSON SCHEMATrailingStopLossOrderRejectTransaction
JSON SCHEMATrailingStopLossOrderRequest
JSON SCHEMATrailingStopLossOrderTransaction
JSON SCHEMATransaction
JSON SCHEMATransactionFilter
JSON SCHEMATransactionHeartbeat
JSON SCHEMATransactionID
JSON SCHEMATransactionRejectReason
JSON SCHEMATransactionType
JSON SCHEMATransferFundsRejectTransaction
JSON SCHEMATransferFundsTransaction
JSON SCHEMAUnitsAvailable
JSON SCHEMAUnitsAvailableDetails
JSON SCHEMAUserInfo
JSON SCHEMAUserInfoExternal
JSON SCHEMAUserSpecifier
JSON SCHEMAWeeklyAlignment
JSON SCHEMAScroll for all 156
Examples 39
Example request and response payloads for these APIs.
Cancelorder
EXAMPLECloseposition
EXAMPLEClosetrade
EXAMPLEConfigureaccount
EXAMPLECreateorder
EXAMPLEGetaccount
EXAMPLEGetaccountchanges
EXAMPLEGetaccountinstruments
EXAMPLEGetaccountsummary
EXAMPLEGetbaseprices
EXAMPLEGetexternaluserinfo
EXAMPLEGetinstrumentcandles
EXAMPLEGetinstrumentprice
EXAMPLEGetinstrumentpricerange
EXAMPLEGetorder
EXAMPLEGetposition
EXAMPLEGetpricerange
EXAMPLEGetprices
EXAMPLEGettrade
EXAMPLEGettransaction
EXAMPLEGettransactionrange
EXAMPLEGettransactionssinceid
EXAMPLEGetuserinfo
EXAMPLEListaccounts
EXAMPLEListopenpositions
EXAMPLEListopentrades
EXAMPLEListorders
EXAMPLEListpendingorders
EXAMPLEListpositions
EXAMPLEListtrades
EXAMPLEListtransactions
EXAMPLEReplaceorder
EXAMPLESetorderclientextensions
EXAMPLESettradeclientextensions
EXAMPLESettradedependentorders
EXAMPLEStreampricing
EXAMPLEStreamtransactions
EXAMPLEScroll for all 39
Security Posture 1
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 3
Portal, sign-up, and the first successful call
Documentation 3
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Build 5
SDKs, sample code, and the tooling you integrate with
Access & Security 2
Authentication, authorization, and security posture
Commercial 1
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 2
Properties that don't map to a standard resource type