{"name":"Broker API Hub: FOREX.com / StoneX Trading (City Index)","page":"https://openbrokerapi.com/brokers/forex-com-city-index","file":"https://openbrokerapi.com/data/brokers/forex-com-city-index.json","generated":"2026-10-12","generatedBasis":"The newest checked date among the records in this file. It is not the date the file was built.","newestReading":"2026-10-12","newestReadingBasis":"The date the page prints as Newest reading: the newest checked date on the record itself, on its claims, on its limit and endpoint records and, for a platform, on a broker's note that it offers the platform. generated can be later, because this file also holds error, change and MCP records.","licence":"Mixed. Each section states its own licence. Sections from the registers are CC BY 4.0. Sections from the broker, platform, endpoint and error records are all rights reserved and are given for reference.","licenceUrl":"https://creativecommons.org/licenses/by/4.0/","cite":"Broker API Hub, FOREX.com / StoneX Trading (City Index), openbrokerapi.com/brokers/forex-com-city-index, newest check 2026-10-12","note":"Independent and unofficial. An empty list or a null means this site holds no record. It does not mean that none exists. Every record carries its own source and checked date: cite those where you rely on a single figure.","identity":{"licence":"All rights reserved","leftOut":"The tagline, which is this site's own writing. It is on the page.","id":"forex-com-city-index","slug":"forex-com-city-index","name":"FOREX.com / StoneX Trading (City Index)","kind":"broker","nativeApi":true,"apiFamily":["REST","Streaming","FIX (out of scope, institutional)"],"products":[],"availability":"restricted","legalEntity":null,"regulator":null,"docsUrl":"https://docs.labs.gaincapital.com/","baseUrls":{"live":"https://ciapi.cityindex.com/tradingapi/","stream_live":"https://push.cityindex.com/","preprod":"https://ciapipreprod.cityindextest9.co.uk/TradingApi","stream_preprod":"https://pushpreprod.cityindextest9.co.uk/"},"orderTypes":["Market","Limit","Stop","Guaranteed stop","OCO","If/Done"],"sources":[{"url":"https://www.forex.com/en/trading-tools/api-trading/","title":"FOREX.com: API trading","checked":"2026-09-22"},{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/Getting%20Started.htm","title":"StoneX API documentation, Getting Started","checked":"2026-10-12"},{"url":"https://docs.labs.gaincapital.com/Content/HTTP%20Services/LogOn%20v2.htm","title":"StoneX API documentation, LogOn v2","checked":"2026-10-12"},{"url":"https://faq.labs.gaincapital.com/topic/1074-lightstreamer-connection-web-client/","title":"Gain Capital Labs forum","checked":"2026-09-18"},{"url":"https://docs.labs.gaincapital.com/","title":"StoneX API documentation host","checked":"2026-09-20"},{"url":"https://github.com/athammad/pygcapi","title":"GitHub pygcapi (community source)","checked":"2026-09-21"},{"url":"https://pypi.org/project/forexcom/","title":"PyPI forexcom (community source)","checked":"2026-09-21"},{"url":"https://www.cityindex.com/en-uk/trading-platforms/api-trading/","title":"City Index","checked":"2026-09-22"},{"url":"https://docs.labs.gaincapital.com/Content/HTTP%20Services/GetPriceBarsBeforeDate.htm","title":"GAIN Capital API docs: GetPriceBarsBeforeDate","checked":"2026-09-22"},{"url":"https://docs.labs.gaincapital.com/Content/HTTP%20Services/ListTradeHistory.htm","title":"GAIN Capital API docs: ListTradeHistory","checked":"2026-09-22"},{"url":"https://docs.labs.gaincapital.com/Content/Data%20Types/NewTradeOrderRequestDTO.htm","title":"GAIN Capital API docs: NewTradeOrderRequestDTO","checked":"2026-09-22"},{"url":"https://docs.labs.gaincapital.com/Content/Data%20Types/NewStopLimitOrderRequestDTO.htm","title":"GAIN Capital API docs: NewStopLimitOrderRequestDTO","checked":"2026-09-22"},{"url":"https://www.stonex.com/en/marketing-partnerships/","title":"Marketing Partnerships | StoneX","checked":"2026-09-22"},{"url":"https://www.forex.com/en-uk/trading-platforms/","title":"FOREX.com UK trading platforms","checked":"2026-09-22"},{"url":"https://www.stonex.com/en-gb/trading-platforms/metatrader-4/","title":"StoneX Trading MetaTrader 4","checked":"2026-09-22"},{"url":"https://www.stonex.com/en-gb/trading-platforms/","title":"StoneX Trading UK platforms","checked":"2026-09-22"},{"url":"https://www.stonex.com/en-gb/media-room/press-releases/launch-of-stonex-trading-marks-a-new-era-for-city-index/","title":"StoneX press release: Launch of StoneX Trading marks a new era for City Index","checked":"2026-09-22"},{"url":"https://www.cityindex.com/en-uk/news-and-analysis/tags/api/","title":"City Index API tag page (302 redirect observed)","checked":"2026-09-22"},{"url":"https://www.forex.com/ie/trading-platforms/trading-api-feed/","title":"Trading API feed, FOREX.com","checked":"2026-09-20"},{"url":"https://forex.com/en/trading-platforms/api-trading","title":"FOREX.com, API trading","checked":"2026-09-22"},{"url":"https://www.forex.com/en-us/premium-trader-tools/api-trading/","title":"FOREX.com: API trading","checked":"2026-09-23"},{"url":"https://www.forex.com/en/partnerships/","title":"Partnerships, FOREX.com","checked":"2026-09-25"},{"url":"https://docs.labs.gaincapital.com/Content/API%20Intro.htm","title":"StoneX API documentation, introduction","checked":"2026-10-12"},{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/CIAPI%20Basics.htm","title":"StoneX API documentation, API basics, throttling","checked":"2026-10-12"},{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/CIAPI%20Arky.htm","title":"StoneX API documentation, architecture","checked":"2026-10-12"}],"lastChecked":"2026-10-12","review":"verified-at-source"},"claims":{"licence":"All rights reserved","records":[{"key":"access_route","value":"Open and fund a standard account, then request API access from support; an AppKey is emailed if accepted.","status":"verified","sources":[{"url":"https://www.forex.com/en/trading-tools/api-trading/","title":"FOREX.com API Trading","checked":"2026-09-21"}]},{"key":"eligibility","value":"By application: you must describe your expertise, language, goal and expected volume, and sign API terms.","status":"verified","sources":[{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/Getting%20Started.htm","title":"StoneX API Getting Started","checked":"2026-09-21"}]},{"key":"demo","value":"Partial: the StoneX API documentation describes two environments, Live and Pre-Production, each with its own API and streaming address. It says most users work on Live and that only some users, depending on user type and circumstances, are given Pre-Production access. An account in one environment is not recognised in the other. The documentation does not say that a retail demo account can use the API.","status":"verified","sources":[{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/Getting%20Started.htm","title":"StoneX API documentation, Getting Started","checked":"2026-10-12"}]},{"key":"auth","value":"A session token. POST your user name, password and the AppKey you were issued to /v2/Session, then send the returned session token and your user name with every request as the request headers Session and UserName. Passing them in the query string is marked obsolete. The documentation says a token is valid for at least 20 minutes, and an expired one is signalled by HTTP 401. Subscribing to the streams uses the user name and the session token as its credentials.","status":"verified","sources":[{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/CIAPI%20Basics.htm","title":"StoneX API documentation, API basics","checked":"2026-10-12"},{"url":"https://docs.labs.gaincapital.com/Content/HTTP%20Services/LogOn%20v2.htm","title":"StoneX API documentation, LogOn v2","checked":"2026-10-12"}]},{"key":"streaming","value":"Lightstreamer, a third party streaming protocol, over long lived HTTP connections and not WebSocket as documented. Streams cover prices, news headlines, client account margin, orders and quotes, grouped into adapters. Each adapter needs one HTTP connection plus one control connection. The documentation says the servers still run Lightstreamer 7.4.1 and that clients should use that version of the Lightstreamer SDK.","status":"verified","sources":[{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/CIAPI%20Arky.htm","title":"StoneX API documentation, architecture","checked":"2026-10-12"}]},{"key":"history_depth","value":"Price bars: max 4,000 per request (default 1,000). Trade history: max 200 results per call, filter by from date.","status":"verified","sources":[{"url":"https://docs.labs.gaincapital.com/Content/HTTP%20Services/GetPriceBarsBeforeDate.htm","title":"GAIN Capital API docs: GetPriceBarsBeforeDate","checked":"2026-09-22"}]},{"key":"rate_limits","value":"The StoneX API documentation says the servers throttle a client application that sends more than 500 requests in a 5 second window. A throttled request gets HTTP 429, and the client must then wait 1 second before sending more. It names requests for market information and for price history as the usual causes. FOREX.com's own API page answered 403 Forbidden on 12 Oct 2026 and was not re-read.","status":"verified","sources":[{"url":"https://docs.labs.gaincapital.com/Content/Getting%20Started/CIAPI%20Basics.htm","title":"StoneX API documentation, API basics, throttling","checked":"2026-10-12"}]}]},"platformApis":{"licence":"All rights reserved","records":[{"platform":"metatrader-4","available":true,"entity":"StoneX Financial Ltd (FOREX.com UK), FCA Register not read by us","note":"MT4 on desktop, web and mobile. Expert Advisors allowed ('Expert Advisors (EAs) are programs that can be used to automate trading'); only one EA per chart; EA hosting/VPS for qualifying clients.","status":"verified","source":"https://www.forex.com/en-uk/trading-platforms/","sourceTitle":"FOREX.com UK trading platforms","checked":"2026-09-18"},{"platform":"metatrader-4","available":true,"entity":"StoneX Financial Ltd trading as StoneX Trading (formerly City Index UK)","note":"City Index UK pages now redirect to stonex.com/en-gb. MT4 offered with Expert Advisors from FX Blue (nine EAs).","status":"verified","source":"https://www.stonex.com/en-gb/trading-platforms/metatrader-4/","sourceTitle":"StoneX Trading MetaTrader 4","checked":"2026-09-18"},{"platform":"metatrader-5","available":null,"entity":"StoneX Financial Ltd (FOREX.com UK / StoneX Trading)","note":"MT5 not listed on FOREX.com UK or StoneX Trading UK platforms pages; the FOREX.com UK MT5 URL returned HTTP 429 so could not be checked.","status":"unverified","source":"https://www.stonex.com/en-gb/trading-platforms/","sourceTitle":"StoneX Trading UK platforms","checked":"2026-09-18"},{"platform":"ctrader-open-api","available":false,"entity":"StoneX Financial Ltd","note":"cTrader not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.","status":"unverified","source":"https://www.forex.com/en-uk/trading-platforms/","sourceTitle":"FOREX.com UK trading platforms","checked":"2026-09-18"},{"platform":"tradelocker","available":false,"entity":"StoneX Financial Ltd","note":"TradeLocker not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.","status":"unverified","source":"https://www.forex.com/en-uk/trading-platforms/","sourceTitle":"FOREX.com UK trading platforms","checked":"2026-09-18"},{"platform":"match-trader","available":false,"entity":"StoneX Financial Ltd","note":"Match-Trader not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.","status":"unverified","source":"https://www.forex.com/en-uk/trading-platforms/","sourceTitle":"FOREX.com UK trading platforms","checked":"2026-09-18"},{"platform":"dxtrade","available":false,"entity":"StoneX Financial Ltd","note":"DXtrade not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.","status":"unverified","source":"https://www.forex.com/en-uk/trading-platforms/","sourceTitle":"FOREX.com UK trading platforms","checked":"2026-09-18"}]},"sdks":{"licence":"All rights reserved","records":[{"name":"pygcapi","language":"Python","url":"https://github.com/athammad/pygcapi","official":false,"source":"https://github.com/athammad/pygcapi","checked":null},{"name":"forexcom","language":"Python","url":"https://github.com/ali-zahedi/forexcom","official":false,"source":"https://pypi.org/project/forexcom/","checked":"2026-09-18"}]},"endpoints":{"licence":"All rights reserved","leftOut":"Parameters, request bodies, example responses and notes. Each is on the endpoint's page.","records":[]},"calls":{"licence":"All rights reserved","what":"Functions of a language binding and messages of a wire protocol: calls that are not HTTP requests, so they have no method and no path and are in no OpenAPI file.","leftOut":"Descriptions of arguments and fields, return values, samples and notes. Each is on the call's page.","records":[]},"limits":{"licence":"CC BY 4.0","register":"https://openbrokerapi.com/data/limits.json","structure":"structuredValue, structuredUnit and windowSeconds restate a limit as numbers where its own value and unit, or the opening of its text, state them outright: a count, optionally what is counted, and a window. They are read by a fixed pattern and are null wherever the pattern does not fit, so a null means not restated, not that there is no limit. windowSeconds is null for an allowance that is not a rate. structuredUnit is null where the wording does not name what is counted. A week is taken as 7 days. They add nothing to the record: value, unit, text and scope are unchanged and remain the record. A record whose status is conflicting has a second reading under conflict, which these fields do not restate.","records":[{"id":"forex-com-city-index.throttle","broker":"forex-com-city-index","name":"Request throttle","value":null,"text":"500 requests per 5 s, HTTP 429 above it","unit":null,"scope":"Requests from one client application. The page does not say whether the count is per session, per AppKey or per IP address","source":"https://docs.labs.gaincapital.com/Content/Getting%20Started/CIAPI%20Basics.htm","alsoSources":[],"checked":"2026-10-12","status":"verified","conflict":null,"note":"After a 429 the client must wait 1 second before sending more requests. The window is 5 seconds, which a single unit cannot state, so the figure stays as wording.","structuredValue":500,"structuredUnit":"requests","windowSeconds":5}]},"errors":{"licence":"All rights reserved","leftOut":"The meaning and the fix of each error. They are this site's own writing, which the open licence does not cover, so each record gives the address of the page that holds them.","index":null,"register":"https://openbrokerapi.com/data/errors.json","records":[]},"mcpServers":{"licence":"CC BY 4.0","page":"https://openbrokerapi.com/ai/mcp-directory","register":"https://openbrokerapi.com/data/mcp-servers.json","records":[],"noneFound":[{"name":"FOREX.com and StoneX","text":"No MCP or agent tooling found in searches, and no first party StoneX API page was opened. Recorded as no route found, not as confirmed absence.","source":null,"sourceTitle":null,"checked":"2026-09-24"}]},"partnerProgramme":{"licence":"CC BY 4.0","register":"https://openbrokerapi.com/data/programmes.json","page":"https://openbrokerapi.com/partners/forex-com-city-index","record":{"id":"forex-com-city-index","firm":"StoneX (FOREX.com and City Index)","programmeType":"affiliate","pagesOpened":["https://www.stonex.com/en/marketing-partnerships/"],"publishedFigure":"$300 for each account you referred to us that has deposited a minimum of >$300","figureAsWorded":"$300 for each account you referred to us that has deposited a minimum of >$300","figureIsCeiling":false,"figureNote":"That figure is the Canada deal. The leveraged commission plan for CFD, spread betting and forex pays by deposit band: $300 to $499 pays $300, $500 to $799 pays $500, $800 to $1,199 pays $800, and $1,200 or more pays $1,000.","restrictionsForPublishers":"Partners must not advertise the StoneX brands to restricted countries, and marketing in the United States needs separate approval.","documentsNotOpened":null,"checked":"2026-10-05","verification":"page-opened"}},"changes":{"licence":"CC BY 4.0","page":"https://openbrokerapi.com/changes","register":"https://openbrokerapi.com/data/changes.json","checkedMeans":"checked is the day the source was last opened. It is null where the register does not record one: read that as not recorded.","records":[{"id":"forex-com-city-index-2026-10-12-81","date":"2026-10-12","kind":"docs","text":"The StoneX API documentation was read directly for the first time: session token authentication, Lightstreamer streaming and a throttle of 500 requests in 5 seconds are now verified where this site held them as unverified.","source":"https://docs.labs.gaincapital.com/Content/Getting%20Started/CIAPI%20Basics.htm","sourceTitle":"StoneX API documentation, API basics","checked":"2026-10-12"},{"id":"forex-com-city-index-2026-09-23-1","date":"2026-09-23","kind":"docs","text":"Re-read today. The API trading page states live streaming prices across 80 markets and that access runs through applying for an account and then asking customer service, with spread only accounts told to contact support. Rate limits, authentication, demo and SDKs are still not stated anywhere on it.","source":"https://www.forex.com/en-us/premium-trader-tools/api-trading/","sourceTitle":"FOREX.com: API trading","checked":"2026-09-23"},{"id":"forex-com-city-index-2026-09-09-1","date":"2026-09-09","kind":"ecosystem","text":"City Index relaunched as StoneX Trading in the UK. The City Index brand retired on 12 Sep 2026 and cityindex.com pages now redirect to stonex.com. StoneX says clients keep the same platforms and accounts; no API change was announced.","source":"https://www.stonex.com/en-gb/media-room/press-releases/launch-of-stonex-trading-marks-a-new-era-for-city-index/","sourceTitle":"StoneX press release: Launch of StoneX Trading marks a new era for City Index","checked":"2026-09-22"}]}}