# OANDA API: questions and answers

Independent and unofficial. Not affiliated with or endorsed by any broker or platform named here. Educational only: nothing here is advice, and nothing here recommends a broker or a trade.

This is the markdown version of https://openbrokerapi.com/answers/oanda, written from the same records as that page.

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.

8 questions about the OANDA API, each answered from the OANDA record on this site (https://openbrokerapi.com/brokers/oanda) and nothing else. 1 of the answers rests on a record labelled unverified.

- Newest check: 2026-10-12
- Official documentation: [developer.oanda.com](https://developer.oanda.com/rest-live-v20/introduction/)

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.

- Status: verified. Source: [OANDA: v20 REST introduction](https://developer.oanda.com/rest-live-v20/introduction/), checked 2026-10-12.

- [The OANDA API record](https://openbrokerapi.com/brokers/oanda)

### Does OANDA have a demo or paper trading API?

Yes: fxTrade Practice environment with its own token.

- Status: verified. Source: [OANDA Development Guide](https://developer.oanda.com/rest-live-v20/development-guide/), checked 2026-10-12.

- [The OANDA record's full wording](https://openbrokerapi.com/brokers/oanda#access)

### What are OANDA's API rate limits?

Headline limit: 120/s per IP address, HTTP 429 above it. Scope: ip.

- Status: verified. Source: [developer.oanda.com](https://developer.oanda.com/rest-live-v20/development-guide/), checked 2026-10-03.

- [OANDA API rate limits in full, each with its scope](https://openbrokerapi.com/brokers/oanda/rate-limits)

### How do I authenticate with the OANDA API?

Bearer personal access token, generated in the Account Management Portal after accepting the API licence.

- Status: verified. Source: [Introduction, OANDA v20 REST API](https://developer.oanda.com/rest-live-v20/introduction/), checked 2026-10-12.

- [The OANDA record's full wording](https://openbrokerapi.com/brokers/oanda#access)

### 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.

- Status: verified. Source: [OANDA Development Guide](https://developer.oanda.com/rest-live-v20/development-guide/), checked 2026-10-12.

- [The OANDA record's full wording](https://openbrokerapi.com/brokers/oanda#access)

### 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.

- Status: unverified. No source opened.

- [Every library in the OANDA record](https://openbrokerapi.com/brokers/oanda#sdks)

### 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.

- Status: verified. Source: [oanda-mcp-server](https://github.com/BJLG-92/oanda-mcp-server), checked 2026-09-24.

- [The MCP server directory, with what each server can do](https://openbrokerapi.com/ai/mcp-directory)

### What does OANDA error HTTP 429 mean?

OANDA returned HTTP 429 because requests arrived faster than it would accept them.

- Status: verified. Source: [developer.oanda.com](https://developer.oanda.com/rest-live-v20/development-guide/), checked 2026-09-24.

- [OANDA error HTTP 429: the meaning in full and what to do](https://openbrokerapi.com/errors/oanda/429)

## Where to go next

- [The OANDA API record in full: every field with its source](https://openbrokerapi.com/brokers/oanda)
- [Answers for every broker and platform API](https://openbrokerapi.com/answers)
- [Which retail brokers have a public trading API?](https://openbrokerapi.com/answers/has-an-api)
- [Which broker APIs have a demo environment?](https://openbrokerapi.com/answers/demo-api)
- [What are the rate limits of each broker API?](https://openbrokerapi.com/answers/rate-limits)
- [How does each broker API authenticate?](https://openbrokerapi.com/answers/authentication)
- [Which broker APIs stream prices?](https://openbrokerapi.com/answers/streaming)
- [Which broker APIs have an official Python library?](https://openbrokerapi.com/answers/python-library)
- [Which broker APIs have an MCP server?](https://openbrokerapi.com/answers/mcp-server)
- [What does each API's most referenced error mean?](https://openbrokerapi.com/answers/error-codes)
- [Axi API: questions and answers](https://openbrokerapi.com/answers/axi)
- [Bitget API: questions and answers](https://openbrokerapi.com/answers/bitget)
- [Capital.com API: questions and answers](https://openbrokerapi.com/answers/capital-com)
- [CMC Markets API: questions and answers](https://openbrokerapi.com/answers/cmc-markets)
- [Deriv API: questions and answers](https://openbrokerapi.com/answers/deriv)
- [Dukascopy API: questions and answers](https://openbrokerapi.com/answers/dukascopy)
- [eToro API: questions and answers](https://openbrokerapi.com/answers/etoro)
- [Exness API: questions and answers](https://openbrokerapi.com/answers/exness)
- [FOREX.com API: questions and answers](https://openbrokerapi.com/answers/forex-com-city-index)
- [FXCM API: questions and answers](https://openbrokerapi.com/answers/fxcm)
- [FxPro API: questions and answers](https://openbrokerapi.com/answers/fxpro)
- [IG API: questions and answers](https://openbrokerapi.com/answers/ig)
- [Interactive Brokers API: questions and answers](https://openbrokerapi.com/answers/ibkr)
- [Pepperstone API: questions and answers](https://openbrokerapi.com/answers/pepperstone)
- [Saxo API: questions and answers](https://openbrokerapi.com/answers/saxo)
- [Swissquote API: questions and answers](https://openbrokerapi.com/answers/swissquote)
- [ThinkMarkets API: questions and answers](https://openbrokerapi.com/answers/thinkmarkets)
- [Tickmill API: questions and answers](https://openbrokerapi.com/answers/tickmill)
- [Trading 212 API: questions and answers](https://openbrokerapi.com/answers/trading-212)
- [XTB API: questions and answers](https://openbrokerapi.com/answers/xtb)

## Licence and how to cite

The records behind this page are all rights reserved. This file is the page itself, at its own address, in another format. It is not part of the CC BY 4.0 downloads listed at https://openbrokerapi.com/data. Quote from it with a link to the page.

Cite as: OANDA API: questions and answers. Broker API Hub, https://openbrokerapi.com/answers/oanda, newest check 2026-10-12.

Where you rely on a single figure, cite the source and the checked date printed beside it as well. Where this page and a broker's own documentation differ, the documentation wins.
