# FXCM 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/fxcm, 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.

6 questions about the FXCM API, each answered from the FXCM record on this site (https://openbrokerapi.com/brokers/fxcm) and nothing else.

- Newest check: 2026-09-21
- Official documentation: [fxcm.com](https://www.fxcm.com/markets/algorithmic-trading/api-trading/)

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.

## FXCM API questions

### Does FXCM have an API?

Yes. This register records FXCM as having its own API (FIX, Java API and ForexConnect), with availability marked as active. ForexConnect and Java SDKs for Trading Station accounts; FXCM's REST API is no longer listed and we found no formal retirement notice.

- Status: verified. Source: [API trading, FXCM](https://www.fxcm.com/markets/algorithmic-trading/api-trading/), checked 2026-09-20.

- [The FXCM API record](https://openbrokerapi.com/brokers/fxcm)

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

Yes: ForexConnect connects to demo and real Trading Station accounts.

- Status: verified. Source: [GitHub fxcm/ForexConnectAPI](https://github.com/fxcm/ForexConnectAPI), checked 2026-09-21.

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

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

Not published. No REST API is listed, so there is nothing to publish limits for.

- Status: verified. Source: [FXCM Socket REST API spec](https://fxcm-rest.readthedocs.io/en/latest/socketrestapispecs.html), checked 2026-09-21.

- [FXCM API rate limits, as the record words them](https://openbrokerapi.com/brokers/fxcm/rate-limits)

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

FIX, the Java API and ForexConnect only. No REST API is listed on FXCM's current API pages, so the legacy REST token flow this site described is recorded as no longer listed rather than retired.

- Status: verified. Source: [FXCM Socket REST API spec](https://fxcm-rest.readthedocs.io/en/latest/socketrestapispecs.html), checked 2026-09-21.

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

### Does FXCM support streaming or WebSocket prices?

ForexConnect pushes live prices; the retired legacy REST API streamed over Socket.IO.

- Status: verified. Source: [FXCM Socket REST API spec](https://fxcm-rest.readthedocs.io/en/latest/socketrestapispecs.html), checked 2026-09-21.

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

### Is there an official Python library for FXCM?

The FXCM record marks 2 Python libraries as official: ForexConnectAPI and forexconnect. It also lists as community, not official: fxcmpy. No dated source is recorded for ForexConnectAPI.

- Status: verified. Source: [forexconnect](https://pypi.org/project/forexconnect/), checked 2026-09-18.

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

## Not recorded here

The FXCM record cannot answer these questions yet, so they are not asked above. That is a gap in this dataset. It says nothing either way about FXCM.

- [Does FXCM have an MCP server?](https://openbrokerapi.com/answers/mcp-server) (not recorded here)
- [What does the most referenced FXCM error mean?](https://openbrokerapi.com/answers/error-codes) (not recorded here)

## Where to go next

- [The FXCM API record in full: every field with its source](https://openbrokerapi.com/brokers/fxcm)
- [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)
- [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)
- [OANDA API: questions and answers](https://openbrokerapi.com/answers/oanda)
- [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: FXCM API: questions and answers. Broker API Hub, https://openbrokerapi.com/answers/fxcm, newest check 2026-09-21.

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.
