# Capital.com 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/capital-com, 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.

7 questions about the Capital.com API, each answered from the Capital.com record on this site (https://openbrokerapi.com/brokers/capital-com) and nothing else.

- Newest check: 2026-10-12
- Official documentation: [open-api.capital.com](https://open-api.capital.com/)

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.

## Capital.com API questions

### Does Capital.com have an API?

Yes. This register records Capital.com as having its own API (REST and WebSocket), with availability marked as active. Public REST API and WebSocket feed for Capital.com CFD accounts, live and demo.

- Status: verified. Source: [Capital.com: public API docs](https://open-api.capital.com/), checked 2026-10-12.

- [The Capital.com API record](https://openbrokerapi.com/brokers/capital-com)

### Does Capital.com have a demo or paper trading API?

Yes: separate demo base URL.

- Status: verified. Source: [Capital.com Public API](https://open-api.capital.com/), checked 2026-10-12.

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

### What are Capital.com's API rate limits?

Headline limit: 10/s per user. Scope: user.

- Status: verified. Source: [open-api.capital.com](https://open-api.capital.com/), checked 2026-09-18.

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

### How do I authenticate with the Capital.com API?

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. Source: [Capital.com Public API](https://open-api.capital.com/), checked 2026-10-12.

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

### Does Capital.com support streaming or WebSocket prices?

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. Source: [Capital.com Public API](https://open-api.capital.com/), checked 2026-10-12.

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

### Is there an official Python library for Capital.com?

No Python library marked official is recorded here for Capital.com, which is not evidence that none exists. The record lists as community: capital-mcp and capitalcom-python.

- Status: verified. Source: [capital-mcp](https://github.com/capital-com-sv/capital-mcp), checked 2026-09-18.
- Status: verified. Source: [capitalcom-python](https://pypi.org/project/capitalcom-python/), checked 2026-09-18.

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

### Does Capital.com have an MCP server?

The MCP server register on this site holds 2 servers for Capital.com. Published by the provider itself: capital-mcp. Published by the community, not by the provider: capitalcom-mcp-server.

- Status: verified. Source: [capital-mcp](https://github.com/capital-com-sv/capital-mcp), checked 2026-09-24.
- Status: verified. Source: [capitalcom-mcp-server](https://github.com/SimonTarara62/capitalcom-mcp-server), checked 2026-09-24.

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

## Not recorded here

The Capital.com 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 Capital.com.

- [What does the most referenced Capital.com error mean?](https://openbrokerapi.com/answers/error-codes) (not recorded here)

## Where to go next

- [The Capital.com API record in full: every field with its source](https://openbrokerapi.com/brokers/capital-com)
- [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)
- [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)
- [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: Capital.com API: questions and answers. Broker API Hub, https://openbrokerapi.com/answers/capital-com, 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.
