Broker API HubMenu

FXCM vs IG API

The same fields from the FXCM record and the IG record, side by side. No winner is picked: which one suits you depends on what you are building.

Independent and unofficialNewest check

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.

What the two records show

Differences you can see in the records themselves. These are counts of what this site holds, not a verdict on either API.

FXCM and IG, field by field

FieldFXCMIG
KindBroker with its own APIBroker with its own API
API familyFIX, Java API, ForexConnectREST, Streaming
How you get accessFree SDKs from FXCM GitHub; sign the EULA and apply for a demo account. Support at api@fxcm.com.GitHub fxcm/ForexConnectAPIchecked API keys are only issued to existing live account holders: generate one in My IG > Settings > API keys.How to use IG APIchecked
Who can use itTrading Station account. FIX needs a minimum of 5,000 pounds or dollars. UK page dated 25 Jun 2025.FXCM API Tradingchecked Spread bet and CFD accounts only. Share dealing, ISA and SIPP are not supported (error stockbroking-not-supported).trading-ig FAQ (community source)checked
DemoYes: ForexConnect connects to demo and real Trading Station accounts.GitHub fxcm/ForexConnectAPIchecked Partial: demo API works, but no key from a standalone demo account unless it is linked to a live account.How to use IG APIchecked
AuthenticationFIX, 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.FXCM Socket REST API specchecked API key plus username and password returns CST and X-SECURITY-TOKEN, valid 12 hours on a rolling basis with each call resetting the clock on the IG Labs FAQ, while IG's REST trading API guide says 6 hours at first, extended up to a maximum of 72 hours: a disagreement between two IG pages that the blocked reference page could not settle on 23 Sep 2026. The v3 OAuth access token lasts as long as the login response says, with a refresh token that expires later. All tokens are invalidated during weekend maintenance.Sources conflict IG Labs FAQ: 12 hours between calls, reset by each call. IG Labs REST trading API guide: 6 hours at first, extended up to 72 hours while in use.IG Labs REST trading API guidechecked
StreamingForexConnect pushes live prices; the retired legacy REST API streamed over Socket.IO.FXCM Socket REST API specchecked Streaming runs on Lightstreamer: IG's Streaming API Guide starts by sending you to the Lightstreamer client library, and the server address to connect to comes back from the /session call. By default a connection holds up to 40 simultaneous subscriptions. The guide asks you to contact IG to raise that quota and the FAQ says to manage it by unsubscribing and subscribing as needed; both warn that opening extra connections to get past it may cost you the API key or your API permissions. The streaming API does not take OAuth tokens, only the CST and X-SECURITY-TOKEN pair.IG Labs Streaming API Guidechecked
History depthCandles: up to 10,000 per request with optional from and to. Depth of history and a trade history endpoint not documented.FXCM Socket REST API specschecked Up to 20 years of price history depending on resolution; 10,000 historical data points per week. Transactions and activity history are paged.IG: How to use IG APIchecked
LimitsNone recorded
  • Historical price data points a week: 10,000. Per account, price history endpoints onlylabs.ig.comchecked
  • Non trading requests a minute: 30. Per account, non trading calls onlylabs.ig.comchecked
  • Non trading requests a minute: 60. Per application, that is per API key, non trading calls onlylabs.ig.comchecked
  • Concurrent streaming subscriptions: 40. Per streaming connectionlabs.ig.comchecked
  • Trading requests a minute: 100. Per account, trading calls only Sources conflictlabs.ig.comchecked
Endpoints documented hereNone yet49
Error codes decoded hereNone yet132
Official documentationfxcm.comlabs.ig.com

Go deeper on each side

All comparisons. New to this? Getting started with API trading.