Broker API
OANDA API: questions and answers
8 questions about the OANDA API, each answered from the OANDA record on this site and nothing else. 1 of the answers rests on a record labelled unverified.
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
An answer here is the record's own wording, cut at the end of a sentence, or a list of names read from records. An answer that opens with the word Unverified has no dated source behind it. Where this page and the provider's own documentation differ, the documentation wins. Nothing here recommends a broker.
OANDA API questions
Does OANDA have an API?
Yes. This register records OANDA as having its own API (REST (v20) and HTTP streaming), with availability marked as active. v20 REST API with HTTP streaming for prices and transactions.
OANDA: v20 REST introductionchecked
Does OANDA have a demo or paper trading API?
Yes: fxTrade Practice environment with its own token.
OANDA Development Guidechecked
The OANDA record's full wording. The same question for every record.
What are OANDA's API rate limits?
Headline limit: 120/s per IP address, HTTP 429 above it. Scope: ip.
developer.oanda.comchecked
OANDA API rate limits in full, each with its scope. The same question for every record.
How do I authenticate with the OANDA API?
Bearer personal access token, generated in the Account Management Portal after accepting the API licence.
Introduction, OANDA v20 REST APIchecked
The OANDA record's full wording. The same question for every record.
Does OANDA support streaming or WebSocket prices?
HTTP chunked transfer encoding carrying JSON objects, not WebSocket. The development guide states at most 20 active streams, with requests above that rejected, and no more than 2 new connections a second.
OANDA Development Guidechecked
The OANDA record's full wording. The same question for every record.
Is there an official Python library for OANDA?
Unverified. The OANDA record marks one Python library as official: v20. It also lists as community, not official: oandapyV20. No source with a checked date is recorded for it.
Unverifiedno source opened
Every library in the OANDA record. The same question for every record.
Does OANDA have an MCP server?
The MCP server register on this site holds 1 server for OANDA. Published by the community, not by the provider: oanda-mcp-server.
oanda-mcp-serverchecked
The MCP server directory, with what each server can do. The same question for every record.
What does OANDA error HTTP 429 mean?
OANDA returned HTTP 429 because requests arrived faster than it would accept them.
developer.oanda.comchecked
OANDA error HTTP 429: the meaning in full and what to do. The same question for every record.
Where to go next
- The OANDA API record in full: every field with its source
- Answers for every broker and platform API
- Which retail brokers have a public trading API?
- Which broker APIs have a demo environment?
- What are the rate limits of each broker API?
- How does each broker API authenticate?
- Which broker APIs stream prices?
- Which broker APIs have an official Python library?
- Which broker APIs have an MCP server?
- What does each API's most referenced error mean?
Other brokers
In order of name. The order is not a ranking.