{"name":"Broker API Hub: Capital.com","page":"https://openbrokerapi.com/brokers/capital-com","file":"https://openbrokerapi.com/data/brokers/capital-com.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, Capital.com, openbrokerapi.com/brokers/capital-com, 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":"capital-com","slug":"capital-com","name":"Capital.com","kind":"broker","nativeApi":true,"apiFamily":["REST","WebSocket"],"products":["CFD"],"availability":"active","legalEntity":null,"regulator":null,"docsUrl":"https://open-api.capital.com/","baseUrls":{"live":"https://api-capital.backend-capital.com/","demo":"https://demo-api-capital.backend-capital.com/"},"orderTypes":["Market","Limit","Stop","Guaranteed stop","Trailing stop"],"sources":[{"url":"https://open-api.capital.com/","title":"Capital.com: public API docs","checked":"2026-10-12"},{"url":"https://github.com/capital-com-sv","title":"Capital.com on GitHub","checked":"2026-09-22"},{"url":"https://help.capital.com/hc/en-us/sections/4415178206354-API","title":"Capital.com help centre: API","checked":"2026-09-22"},{"url":"https://pypi.org/project/capitalcom-python/","title":"PyPI capitalcom-python (community source)","checked":"2026-09-21"},{"url":"https://github.com/capital-com-sv/capital-api-postman","title":"capital-com-sv/capital-api-postman","checked":"2026-09-22"},{"url":"https://help.capital.com/hc/en-us/articles/23198403966226","title":"Capital.com help: statements","checked":"2026-09-22"},{"url":"https://github.com/capital-com-sv/capital-api-postman/blob/main/capital.collection.json","title":"Capital.com official Postman collection","checked":"2026-09-22"},{"url":"https://help.capital.com/hc/en-us/articles/4415179146386-How-to-generate-an-API-key","title":"Capital.com Help: How to generate an API key?","checked":"2026-09-22"},{"url":"https://help.capital.com/hc/en-us/articles/6630827886226-Can-I-use-Capital-com-API-on-the-Demo-account","title":"Capital.com Help: Can I use Capital.com API on the Demo account?","checked":"2026-09-21"},{"url":"https://github.com/capital-com-sv/capital-mcp","title":"capital-com-sv/capital-mcp","checked":"2026-09-20"},{"url":"https://capital.com/en-int/partnerships/affiliate-programme","title":"Join our Affiliate Partnership Programme | Capital.com","checked":"2026-09-22"},{"url":"https://help.capital.com/hc/en-us/articles/6630830103058-Do-you-have-any-limitations-on-your-API","title":"Do you have any limitations on your API? Capital.com","checked":"2026-09-22"},{"url":"https://capital.com/en-gb/trading-platforms/mt4","title":"Capital.com UK MT4","checked":"2026-09-22"},{"url":"https://www.metatrader5.com/en/find-broker","title":"MetaTrader 5 find a broker (MetaQuotes)","checked":"2026-09-22"},{"url":"https://capital.com/en-gb/trading-platforms","title":"Capital.com UK trading platforms","checked":"2026-09-22"},{"url":"https://img.capital.com/docs/Affiliate_Agreement_CSUK_version_1_2_final.pdf","title":"Affiliate Agreement CSUK version 1.2, Capital.com","checked":"2026-09-25"},{"url":"https://capital.com/en-int/partnerships","title":"Capital.com partnerships","checked":"2026-09-22"},{"url":"https://pypi.org/project/capital-com-sdk-python/","title":"capital-com-sdk-python on PyPI","checked":"2026-09-20"},{"url":"https://help.capitalccau.com/hc/en-us/articles/36672958169490-How-to-set-up-the-Capital-com-MCP-Server","title":"How to set up the Capital.com MCP Server, Capital.com","checked":"2026-09-23"}],"lastChecked":"2026-10-12","review":"ported"},"claims":{"licence":"All rights reserved","records":[{"key":"access_route","value":"Enable 2FA, then Settings > API integrations > Generate new key, with a custom key password.","status":"verified","sources":[{"url":"https://open-api.capital.com/","title":"Capital.com Public API","checked":"2026-10-12"}]},{"key":"eligibility","value":"Any Capital.com account (demo or live) with 2FA enabled. Regional limits not published.","status":"verified","sources":[{"url":"https://open-api.capital.com/","title":"Capital.com Public API","checked":"2026-10-12"}]},{"key":"demo","value":"Yes: separate demo base URL.","status":"verified","sources":[{"url":"https://open-api.capital.com/","title":"Capital.com Public API","checked":"2026-10-12"}]},{"key":"auth","value":"POST /session with the X-CAP-API-KEY header plus login credentials returns CST and X-SECURITY-TOKEN, sent on later calls. The session expires after 10 minutes of inactivity.","status":"verified","sources":[{"url":"https://open-api.capital.com/","title":"Capital.com Public API","checked":"2026-10-12"}]},{"key":"streaming","value":"WebSocket wss://api-streaming-capital.backend-capital.com/connect, maximum of 40 epics per subscription; the session lasts 10 minutes and is kept alive with ping.","status":"verified","sources":[{"url":"https://open-api.capital.com/","title":"Capital.com Public API","checked":"2026-10-12"}]},{"key":"history_depth","value":"Candles: max 1,000 per request (default 10), MINUTE to WEEK. Activity history: max 1 day per from/to call. Transactions default to last 10 minutes.","status":"verified","sources":[{"url":"https://open-api.capital.com/","title":"Capital.com API reference","checked":"2026-10-12"},{"url":"https://github.com/capital-com-sv/capital-api-postman/blob/main/capital.collection.json","title":"Capital.com official Postman collection","checked":"2026-09-22"}]},{"key":"rate_limits","value":"Re-verified verbatim on 19 Sep 2026. 10 requests per second per user; 1 request per 0.1 seconds per user when opening positions or creating orders, which is an order limit and not a session limit; POST /session 1 request per second per API key; on demo, POST /positions and /workingorders are capped at 1000 requests per hour; API key generation 100 attempts per 24 hours. HTTP 429 when exceeded. New on 20 Sep 2026: the demo topUp endpoint is capped at 10 requests a second and 100 requests per account a day.","status":"verified","sources":[{"url":"https://open-api.capital.com/","title":"Capital.com Open API documentation","checked":"2026-10-12"}]}]},"platformApis":{"licence":"All rights reserved","records":[{"platform":"metatrader-4","available":true,"entity":"Capital Com (UK) Limited","note":"MT4 offered; Expert Advisors allowed ('Expert advisors execute according to rules set in advance'), with a disclaimer that Capital.com is not responsible for EA performance.","status":"verified","source":"https://capital.com/en-gb/trading-platforms/mt4","sourceTitle":"Capital.com UK MT4","checked":"2026-09-18"},{"platform":"metatrader-5","available":null,"entity":"Capital Com (UK) Limited","note":"Not listed on the UK platforms page (lists web, app, TradingView, MT4, API). The MetaQuotes MT5 broker directory lists a 'Capital.com UK' card, so status is unclear; the en-gb MT5 URL returned 404.","status":"unverified","source":"https://www.metatrader5.com/en/find-broker","sourceTitle":"MetaTrader 5 find a broker (MetaQuotes)","checked":"2026-09-18"},{"platform":"ctrader-open-api","available":false,"entity":"Capital Com (UK) Limited","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://capital.com/en-gb/trading-platforms","sourceTitle":"Capital.com UK trading platforms","checked":"2026-09-18"},{"platform":"tradelocker","available":false,"entity":"Capital Com (UK) Limited","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://capital.com/en-gb/trading-platforms","sourceTitle":"Capital.com UK trading platforms","checked":"2026-09-18"},{"platform":"match-trader","available":false,"entity":"Capital Com (UK) Limited","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://capital.com/en-gb/trading-platforms","sourceTitle":"Capital.com UK trading platforms","checked":"2026-09-18"},{"platform":"dxtrade","available":false,"entity":"Capital Com (UK) Limited","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://capital.com/en-gb/trading-platforms","sourceTitle":"Capital.com UK trading platforms","checked":"2026-09-18"}]},"sdks":{"licence":"All rights reserved","records":[{"name":"capital-api-postman","language":"Postman","url":"https://github.com/capital-com-sv/capital-api-postman","official":true,"source":"https://github.com/capital-com-sv/capital-api-postman","checked":"2026-09-18"},{"name":"capital-mcp","language":"Python","url":"https://github.com/capital-com-sv/capital-mcp","official":false,"source":"https://github.com/capital-com-sv/capital-mcp","checked":"2026-09-18"},{"name":"api-java-samples","language":"Java","url":"https://github.com/capital-com-sv/api-java-samples","official":true,"source":"https://github.com/capital-com-sv/api-java-samples","checked":null},{"name":"capitalcom-python","language":"Python","url":"https://pypi.org/project/capitalcom-python/","official":false,"source":"https://pypi.org/project/capitalcom-python/","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":[{"method":"GET","path":"/api/v1/accounts","version":"v1","group":"Accounts","summary":"List every financial account for the logged in client, with balance, deposit, profit and loss and available funds.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/accounts"},{"method":"GET","path":"/api/v1/accounts/preferences","version":"v1","group":"Accounts","summary":"Read the account's trading preferences: whether hedging mode is on, and the leverage in use and on offer for each asset class.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/accounts-preferences"},{"method":"PUT","path":"/api/v1/accounts/preferences","version":"v1","group":"Accounts","summary":"Change the account's trading preferences: the leverage per asset class, the hedging mode, or both.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/put-accounts-preferences"},{"method":"POST","path":"/api/v1/accounts/topUp","version":"v1","group":"Accounts","summary":"Add to or take from the balance of the current demo account. Demo only: it moves no real money.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/post-accounts-top-up"},{"method":"GET","path":"/api/v1/clientsentiment","version":"v1","group":"Markets","summary":"The share of clients holding long and short positions in each of a list of markets, as two percentages per market.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/client-sentiment-list"},{"method":"GET","path":"/api/v1/clientsentiment/{marketId}","version":"v1","group":"Markets","summary":"Share of Capital.com clients long and short on one market. GET /api/v1/clientsentiment?marketIds= takes a comma separated list.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/client-sentiment"},{"method":"GET","path":"/api/v1/confirms/{dealReference}","version":"v1","group":"Confirms","summary":"Check whether a deal was accepted or rejected. For a new position, the opened deal IDs are in affectedDeals.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/confirms"},{"method":"GET","path":"/api/v1/history/activity","version":"v1","group":"History","summary":"Account activity such as orders and positions, with optional detail and FIQL filtering. Default is the last 10 minutes.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/history-activity"},{"method":"GET","path":"/api/v1/history/transactions","version":"v1","group":"History","summary":"Money movements: trades, swaps, deposits, withdrawals and fees. Default is the last 10 minutes.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/history-transactions"},{"method":"GET","path":"/api/v1/marketnavigation","version":"v1","group":"Markets","summary":"The top level of the market navigation tree: one node per market category, each with an identifier to browse into.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/marketnavigation"},{"method":"GET","path":"/api/v1/marketnavigation/{nodeId}","version":"v1","group":"Markets","summary":"The nodes and markets beneath one node of the market navigation tree. Walk it from the top level to reach the epics in a category.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/marketnavigation-by-node"},{"method":"GET","path":"/api/v1/markets","version":"v1","group":"Markets","summary":"Search markets by term or fetch up to 50 epics at once. With no query it returns every market.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/markets"},{"method":"GET","path":"/api/v1/markets/{epic}","version":"v1","group":"Markets","summary":"Full details for one market: instrument, dealing rules, opening hours and a price snapshot.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/market"},{"method":"GET","path":"/api/v1/ping","version":"v1","group":"Session","summary":"Ping the service to keep a trading session alive. Call it at least once every 10 minutes when idle.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/ping"},{"method":"GET","path":"/api/v1/positions","version":"v1","group":"Positions","summary":"All open positions on the active account, each with position and market details.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/positions"},{"method":"POST","path":"/api/v1/positions","version":"v1","group":"Positions","summary":"Open a position at market. The response is only a dealReference: confirm the result with GET /api/v1/confirms/{dealReference}.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/post-positions"},{"method":"DELETE","path":"/api/v1/positions/{dealId}","version":"v1","group":"Positions","summary":"Close an open position by dealId. Confirm the close with GET /api/v1/confirms/{dealReference}.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/delete-position"},{"method":"GET","path":"/api/v1/positions/{dealId}","version":"v1","group":"Positions","summary":"One open position by its dealId.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/position"},{"method":"PUT","path":"/api/v1/positions/{dealId}","version":"v1","group":"Positions","summary":"Amend an open position: move or add its stop loss and take profit, or switch to a guaranteed or trailing stop. Confirm with GET /api/v1/confirms/{dealReference}.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/put-position"},{"method":"GET","path":"/api/v1/prices/{epic}","version":"v1","group":"Markets","summary":"Historical bid and ask candles for one epic. By default, minute prices for the last 10 minutes.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/prices"},{"method":"DELETE","path":"/api/v1/session","version":"v1","group":"Session","summary":"Log out of the current session. The CST and X-SECURITY-TOKEN tokens stop working.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/delete-session"},{"method":"GET","path":"/api/v1/session","version":"v1","group":"Session","summary":"Read the current session: client ID, active account, locale, currency and the streaming endpoint.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/session"},{"method":"POST","path":"/api/v1/session","version":"v1","group":"Session","summary":"Log in with your API key, login identifier and API key password. The CST and X-SECURITY-TOKEN tokens come back in the response headers.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/post-session"},{"method":"PUT","path":"/api/v1/session","version":"v1","group":"Session","summary":"Switch the session to another of your financial accounts. Later calls then act on that account.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/put-session"},{"method":"GET","path":"/api/v1/session/encryptionKey","version":"v1","group":"Session","summary":"Fetch the key and timestamp used to send the API key password in encrypted form when starting a session. Only the encrypted login route needs it.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/session-encryption-key"},{"method":"GET","path":"/api/v1/time","version":"v1","group":"General","summary":"The server's current time as a millisecond timestamp. The reference says no authentication is needed, so it doubles as a connectivity test.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/time"},{"method":"GET","path":"/api/v1/watchlists","version":"v1","group":"Watchlists","summary":"Every watchlist on your account. Open one with GET /api/v1/watchlists/{watchlistId}.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/watchlists"},{"method":"POST","path":"/api/v1/watchlists","version":"v1","group":"Watchlists","summary":"Create a watchlist with a name and, if you wish, a first set of markets.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/post-watchlists"},{"method":"DELETE","path":"/api/v1/watchlists/{watchlistId}","version":"v1","group":"Watchlists","summary":"Delete a watchlist. The list itself is removed, not the markets or any position in them.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/delete-watchlist-by-id"},{"method":"GET","path":"/api/v1/watchlists/{watchlistId}","version":"v1","group":"Watchlists","summary":"The markets in one watchlist, each with its epic, name, status and current bid and offer.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/watchlist-by-id"},{"method":"PUT","path":"/api/v1/watchlists/{watchlistId}","version":"v1","group":"Watchlists","summary":"Add one market to an existing watchlist, by its epic.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/put-watchlist-by-id"},{"method":"DELETE","path":"/api/v1/watchlists/{watchlistId}/{epic}","version":"v1","group":"Watchlists","summary":"Take one market out of a watchlist. The watchlist and its other markets stay as they are.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/delete-watchlist-epic"},{"method":"GET","path":"/api/v1/workingorders","version":"v1","group":"Working orders","summary":"All open limit and stop orders on the active account.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/working-orders"},{"method":"POST","path":"/api/v1/workingorders","version":"v1","group":"Working orders","summary":"Create a LIMIT or STOP order at a price level, optionally with a cancellation date, stop loss and take profit.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/post-working-orders"},{"method":"DELETE","path":"/api/v1/workingorders/{dealId}","version":"v1","group":"Working orders","summary":"Cancel an open limit or stop order by its dealId.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/delete-working-order"},{"method":"PUT","path":"/api/v1/workingorders/{dealId}","version":"v1","group":"Working orders","summary":"Amend a LIMIT or STOP working order: its price level, cancellation date, stop loss or take profit.","status":"verified","source":"https://open-api.capital.com/","officialReference":"https://open-api.capital.com/","checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/endpoints/put-working-order"}]},"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":[{"kind":"message","interface":"Capital.com WebSocket API","name":"marketData.subscribe","group":"Live prices","summary":"Subscribes to live price updates for a list of epics. Capital.com's page gives 40 as the most epics. An answer confirms each epic, then a quote message arrives for each price update.","role":"request","payloadType":null,"replies":["quote"],"fields":[{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"cst","type":null,"required":null},{"name":"securityToken","type":null,"required":null},{"name":"payload.epics","type":null,"required":null}],"transport":{"kind":"websocket","adapter":null,"addresses":[{"label":"WebSocket address","url":"wss://api-streaming-capital.backend-capital.com/connect"}]},"answer":{"name":"marketData.subscribe","fields":[{"name":"status","type":null,"required":null},{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"payload.subscriptions","type":null,"required":null}]},"tasks":["streaming-subscribe"],"status":"verified","source":"https://open-api.capital.com/#section/WebSocket-API/Subscribe-to-market-data","officialReference":null,"checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/messages/marketdata-subscribe"},{"kind":"message","interface":"Capital.com WebSocket API","name":"marketData.unsubscribe","group":"Live prices","summary":"Stops live price updates for a list of epics. An answer confirms each epic that was unsubscribed.","role":"request","payloadType":null,"replies":[],"fields":[{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"cst","type":null,"required":null},{"name":"securityToken","type":null,"required":null},{"name":"payload.epics","type":null,"required":null}],"transport":{"kind":"websocket","adapter":null,"addresses":[{"label":"WebSocket address","url":"wss://api-streaming-capital.backend-capital.com/connect"}]},"answer":{"name":"marketData.unsubscribe","fields":[{"name":"status","type":null,"required":null},{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"payload.subscriptions","type":null,"required":null}]},"tasks":[],"status":"verified","source":"https://open-api.capital.com/#section/WebSocket-API/Unsubscribe-from-market-data","officialReference":null,"checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/messages/marketdata-unsubscribe"},{"kind":"message","interface":"Capital.com WebSocket API","name":"ohlc.event","group":"Live candles","summary":"Carries one candlestick bar update for an epic subscribed to with OHLCMarketData.subscribe: the open, high, low and close for one resolution and bar type.","role":"event","payloadType":null,"replies":[],"fields":[{"name":"status","type":null,"required":null},{"name":"destination","type":null,"required":null},{"name":"payload.resolution","type":null,"required":null},{"name":"payload.epic","type":null,"required":null},{"name":"payload.type","type":null,"required":null},{"name":"payload.priceType","type":null,"required":null},{"name":"payload.t","type":null,"required":null},{"name":"payload.h","type":null,"required":null},{"name":"payload.l","type":null,"required":null},{"name":"payload.o","type":null,"required":null},{"name":"payload.c","type":null,"required":null}],"transport":{"kind":"websocket","adapter":null,"addresses":[{"label":"WebSocket address","url":"wss://api-streaming-capital.backend-capital.com/connect"}]},"tasks":[],"status":"verified","source":"https://open-api.capital.com/#section/WebSocket-API/Subscribe-to-OHLC-market-data","officialReference":null,"checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/messages/ohlc-event"},{"kind":"message","interface":"Capital.com WebSocket API","name":"OHLCMarketData.subscribe","group":"Live candles","summary":"Subscribes to candlestick bar updates for a list of epics, at chosen resolutions and for a chosen bar type. An answer confirms each combination, then an ohlc.event message arrives for each update.","role":"request","payloadType":null,"replies":["ohlc.event"],"fields":[{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"cst","type":null,"required":null},{"name":"securityToken","type":null,"required":null},{"name":"payload.epics","type":"string[]","required":true},{"name":"payload.resolutions","type":"string[]","required":false},{"name":"payload.type","type":"string","required":false}],"transport":{"kind":"websocket","adapter":null,"addresses":[{"label":"WebSocket address","url":"wss://api-streaming-capital.backend-capital.com/connect"}]},"answer":{"name":"OHLCMarketData.subscribe","fields":[{"name":"status","type":null,"required":null},{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"payload.subscriptions","type":null,"required":null}]},"tasks":["streaming-subscribe"],"status":"verified","source":"https://open-api.capital.com/#section/WebSocket-API/Subscribe-to-OHLC-market-data","officialReference":null,"checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/messages/ohlcmarketdata-subscribe"},{"kind":"message","interface":"Capital.com WebSocket API","name":"OHLCMarketData.unsubscribe","group":"Live candles","summary":"Stops candlestick bar updates. You unsubscribe from what you name: an epic alone stops every resolution and bar type for that epic.","role":"request","payloadType":null,"replies":[],"fields":[{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"cst","type":null,"required":null},{"name":"securityToken","type":null,"required":null},{"name":"payload.epics","type":"string[]","required":true},{"name":"payload.resolutions","type":"string[]","required":false},{"name":"payload.types","type":"string[]","required":false}],"transport":{"kind":"websocket","adapter":null,"addresses":[{"label":"WebSocket address","url":"wss://api-streaming-capital.backend-capital.com/connect"}]},"answer":{"name":"OHLCMarketData.unsubscribe","fields":[{"name":"status","type":null,"required":null},{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"payload.subscriptions","type":null,"required":null}]},"tasks":[],"status":"verified","source":"https://open-api.capital.com/#section/WebSocket-API/Unsubscribe-from-OHLC-market-data","officialReference":null,"checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/messages/ohlcmarketdata-unsubscribe"},{"kind":"message","interface":"Capital.com WebSocket API","name":"ping","group":"Connection","summary":"Keeps the WebSocket connection alive. Capital.com's page says to send it at least once every 10 minutes. It carries the two session tokens and no payload.","role":"request","payloadType":null,"replies":[],"fields":[{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"cst","type":null,"required":null},{"name":"securityToken","type":null,"required":null}],"transport":{"kind":"websocket","adapter":null,"addresses":[{"label":"WebSocket address","url":"wss://api-streaming-capital.backend-capital.com/connect"}]},"answer":{"name":"ping","fields":[{"name":"status","type":null,"required":null},{"name":"destination","type":null,"required":null},{"name":"correlationId","type":null,"required":null},{"name":"payload","type":null,"required":null}]},"tasks":["session"],"status":"verified","source":"https://open-api.capital.com/#section/WebSocket-API/Ping-the-service","officialReference":null,"checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/messages/ping"},{"kind":"message","interface":"Capital.com WebSocket API","name":"quote","group":"Live prices","summary":"Carries one price update for an epic subscribed to with marketData.subscribe: the bid, the offer, the size at each and the time.","role":"event","payloadType":null,"replies":[],"fields":[{"name":"status","type":null,"required":null},{"name":"destination","type":null,"required":null},{"name":"payload.epic","type":null,"required":null},{"name":"payload.product","type":null,"required":null},{"name":"payload.bid","type":null,"required":null},{"name":"payload.bidQty","type":null,"required":null},{"name":"payload.ofr","type":null,"required":null},{"name":"payload.ofrQty","type":null,"required":null},{"name":"payload.timestamp","type":null,"required":null}],"transport":{"kind":"websocket","adapter":null,"addresses":[{"label":"WebSocket address","url":"wss://api-streaming-capital.backend-capital.com/connect"}]},"tasks":[],"status":"verified","source":"https://open-api.capital.com/#section/WebSocket-API/Subscribe-to-market-data","officialReference":null,"checked":"2026-10-12","page":"https://openbrokerapi.com/brokers/capital-com/messages/quote"}]},"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":"capital-com.headline","broker":"capital-com","name":"Headline limit","value":null,"text":"10/s per user","unit":null,"scope":"user","source":"https://open-api.capital.com/","alsoSources":[],"checked":"2026-09-18","status":"verified","conflict":null,"note":"Orders and new positions: 1 per 0.1 s. POST /session: 1 a second per API key. Demo: 1000 an hour for POST /positions and /workingorders.","structuredValue":10,"structuredUnit":null,"windowSeconds":1}]},"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":"https://openbrokerapi.com/errors/capital-com","register":"https://openbrokerapi.com/data/errors.json","records":[{"code":"error.account.limit.reached","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/account-limit-reached"},{"code":"error.invalid.account","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-account"},{"code":"error.invalid.accountId","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-accountid"},{"code":"error.invalid.amount","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-amount"},{"code":"error.invalid.details","http":401,"category":"api-error","rateLimit":null,"status":"verified","source":"https://github.com/capital-com-sv/capital-api-postman/blob/main/capital.collection.json","checked":"2026-09-18","page":"https://openbrokerapi.com/errors/capital-com/invalid-details"},{"code":"error.invalid.from","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-from"},{"code":"error.invalid.leverage.value","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-leverage-value"},{"code":"error.invalid.limit","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-limit"},{"code":"error.invalid.resolution","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-resolution"},{"code":"error.invalid.stoploss.maxvalue","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-stoploss-maxvalue"},{"code":"error.invalid.stoploss.minvalue","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://github.com/capital-com-sv/capital-api-postman/blob/main/capital.collection.json","checked":"2026-09-18","page":"https://openbrokerapi.com/errors/capital-com/invalid-stoploss-minvalue"},{"code":"error.invalid.takeprofit.maxvalue","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-takeprofit-maxvalue"},{"code":"error.invalid.takeprofit.minvalue","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-takeprofit-minvalue"},{"code":"error.invalid.watchlist","http":404,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/invalid-watchlist"},{"code":"error.not-found.dealId","http":404,"category":"api-error","rateLimit":null,"status":"verified","source":"https://github.com/capital-com-sv/capital-api-postman/blob/main/capital.collection.json","checked":"2026-09-18","page":"https://openbrokerapi.com/errors/capital-com/not-found-dealid"},{"code":"error.not-found.dealReference","http":404,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/not-found-dealreference"},{"code":"error.not-found.epic","http":404,"category":"api-error","rateLimit":null,"status":"verified","source":"https://github.com/capital-com-sv/capital-api-postman/blob/main/capital.collection.json","checked":"2026-09-18","page":"https://openbrokerapi.com/errors/capital-com/not-found-epic"},{"code":"error.not-found.watchlist","http":404,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/not-found-watchlist"},{"code":"error.not-in-future.goodTillDate","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/not-in-future-goodtilldate"},{"code":"error.null.api.key","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://github.com/capital-com-sv/capital-api-postman/blob/main/capital.collection.json","checked":"2026-09-18","page":"https://openbrokerapi.com/errors/capital-com/null-api-key"},{"code":"error.null.epic","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/null-epic"},{"code":"error.null.searchTerm","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/null-searchterm"},{"code":"error.size.createwatchlistrequest.name","http":400,"category":"api-error","rateLimit":null,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-10-09","page":"https://openbrokerapi.com/errors/capital-com/size-watchlist-name"},{"code":"error.too-many.requests","http":429,"category":"api-error","rateLimit":true,"status":"verified","source":"https://open-api.capital.com/","checked":"2026-09-19","page":"https://openbrokerapi.com/errors/capital-com/too-many-requests"}]},"mcpServers":{"licence":"CC BY 4.0","page":"https://openbrokerapi.com/ai/mcp-directory","register":"https://openbrokerapi.com/data/mcp-servers.json","records":[{"id":"capital-official","name":"capital-mcp","vendor":"Capital.com","owner":"capital-com","official":true,"officialNote":"The org github.com/capital-com-sv carries a GitHub verified domain badge for capital.com. The org listing shows last updated 15 July 2026.","can":"38 tools: 4 session, 6 market data, 6 account, 13 trading (preview and execute positions, working orders, close), 6 watchlists, 3 streaming.","placesOrders":true,"posture":"gated","postureNote":"Trading is switched off until several settings allow it. CAP_ALLOW_TRADING defaults to false. Two phase preview then confirm=true. CAP_DRY_RUN blocks all executions. CAP_ALLOWED_EPICS allowlist. CAP_MAX_POSITION_SIZE defaults to 1.0. CAP_MAX_ORDERS_PER_DAY defaults to 20.","custody":"local","custodyNote":"CAP_ENV, CAP_API_KEY, CAP_IDENTIFIER and CAP_API_PASSWORD sit in a local .env. The server runs locally and the credentials do not leave the machine.","demo":null,"demoNote":null,"maintained":"Yes. MIT, 5 stars, 2 forks, 4 commits on main.","sources":[{"url":"https://github.com/capital-com-sv/capital-mcp","title":"capital-com-sv/capital-mcp","checked":"2026-09-24"},{"url":"https://github.com/capital-com-sv","title":"capital-com-sv org listing","checked":"2026-09-24"},{"url":"https://open-api.capital.com/","title":"Capital.com API docs and terms","checked":"2026-09-24"}],"checked":"2026-09-24"},{"id":"capital-community","name":"capitalcom-mcp-server","vendor":"SimonTarara62, community","owner":"capital-com","official":false,"officialNote":"States Not affiliated with Capital.com. Which repository came first is unverified.","can":"42 tools, a near identical feature set to the official server, plus an HTTP transport.","placesOrders":true,"posture":"gated","postureNote":"Environment variable naming is near identical to the official server's, including its trading switch. The direction of derivation between the two repositories is unverified.","custody":null,"custodyNote":"Not documented in what we opened, and it adds an HTTP transport the official server does not have.","demo":null,"demoNote":"Not documented.","maintained":"99 commits, 0 stars.","sources":[{"url":"https://github.com/SimonTarara62/capitalcom-mcp-server","title":"SimonTarara62/capitalcom-mcp-server","checked":"2026-09-24"}],"checked":"2026-09-24"}],"noneFound":[]},"partnerProgramme":{"licence":"CC BY 4.0","register":"https://openbrokerapi.com/data/programmes.json","page":"https://openbrokerapi.com/partners/capital-com","record":{"id":"capital-com","firm":"Capital.com","programmeType":"affiliate","pagesOpened":["https://capital.com/en-int/partnerships/affiliate-programme"],"publishedFigure":null,"figureAsWorded":"no published figure","figureIsCeiling":false,"figureNote":"The page says the commission structure is shared by a dedicated affiliate manager after sign up.","restrictionsForPublishers":"Commission is paid monthly provided traffic is brought; jurisdiction limits depend on the signing entity, with the full list from affiliates@capital.com; the page states that affiliates that are not compliant will not get paid; the documents required depend on the countries promoted.","documentsNotOpened":"Affiliate agreement v1.2, effective 16.06.2026, at https://capital.com/legal-affiliate-programme-agreement was not opened this cycle.","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":"capital-com-2026-09-23-1","date":"2026-09-23","kind":"ecosystem","text":"The Capital.com documentation changelog still has no entry after 28 November 2023. Re-read 23 September 2026 and unchanged.","source":"https://open-api.capital.com/","sourceTitle":"Capital.com Public API","checked":null},{"id":"capital-com-2026-09-23-2","date":"2026-09-23","kind":"docs","text":"Re-read today and nothing moved. The changelog's last entry is still 28 Nov 2023, so the Open API documentation has been static for nearly three years. Every rate limit, the 10 minute idle session, the 40 instrument streaming cap and the demo host were confirmed unchanged.","source":"https://open-api.capital.com/","sourceTitle":"Capital.com Open API documentation","checked":"2026-09-23"},{"id":"capital-com-2026-09-21-1","date":"2026-09-21","kind":"partner-terms","text":"Capital.com's affiliate programme page now defers the commission structure to a dedicated affiliate manager at sign up and names UAB Capital.com Services LT as the issuer of the Countries List. No figure is published. Re-read 21 Sep 2026, undated on the page itself. Partner terms, not an API change.","source":"https://capital.com/en-int/partnerships/affiliate-programme","sourceTitle":"capital.com, affiliate programme","checked":"2026-09-22"},{"id":"capital-com-2026-09-20-1","date":"2026-09-20","kind":"change","text":"The MCP server plugin enabled on 8 Jun 2026 lets trades be placed from inside an AI assistant, subject to a mandatory two-step preview and confirmation sequence. The release states that Capital.com is not legally liable for the MCP described nor for the behaviour of the LLMs. Execution authority on this site: draft then human confirms.","source":"https://capital.com/en-ae/press/we-enable-mcp-server-plugin-giving-traders-real-time-account-access-from-within-their-ai-research-environments","sourceTitle":"Capital.com press release, 8 Jun 2026","checked":null},{"id":"capital-com-2026-08-05-1","date":"2026-08-05","kind":"ecosystem","text":"capital-mcp, published on Capital.com's own GitHub organisation, last pushed. Trading is off by default and every order goes through a preview then confirm step.","source":"https://github.com/capital-com-sv/capital-mcp","sourceTitle":"capital-com-sv/capital-mcp","checked":"2026-09-20"},{"id":"capital-com-2026-07-15-1","date":"2026-07-15","kind":"ecosystem","text":"Capital.com's GitHub carries capital-mcp, an MCP server over the Public API with 38 tools for demo and live accounts; trading is off unless CAP_ALLOW_TRADING=true. Date is the repo's last update.","source":"https://github.com/capital-com-sv/capital-mcp","sourceTitle":"GitHub: capital-com-sv/capital-mcp","checked":"2026-09-20"},{"id":"capital-com-2023-11-28-1","date":"2023-11-28","kind":"additive","text":"Demo accounts can top up their balance with the new POST /accounts/topUp endpoint. This is the newest entry in the public API changelog.","source":"https://open-api.capital.com/","sourceTitle":"Capital.com Public API: changelog","checked":"2026-09-18"},{"id":"capital-com-2023-10-05-1","date":"2023-10-05","kind":"change","text":"POST /session is limited to 1 request per second.","source":"https://open-api.capital.com/","sourceTitle":"Capital.com Public API: changelog","checked":"2026-09-18"},{"id":"capital-com-2023-08-04-1","date":"2023-08-04","kind":"additive","text":"GET /markets can return the whole list of available markets.","source":"https://open-api.capital.com/","sourceTitle":"Capital.com Public API: changelog","checked":"2026-09-18"}]}}