Broker API HubMenu

Broker API

Capital.com API: questions and answers

7 questions about the Capital.com API, each answered from the Capital.com record on this site and nothing else.

Independent and unofficialNewest check Official documentation

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.

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.

Capital.com: public API docschecked

The Capital.com API record. The same question for every record.

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

Yes: separate demo base URL.

Capital.com Public APIchecked

The Capital.com record's full wording. The same question for every record.

What are Capital.com's API rate limits?

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

open-api.capital.comchecked

Capital.com API rate limits in full, each with its scope. The same question for every record.

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.

Capital.com Public APIchecked

The Capital.com record's full wording. The same question for every record.

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.

Capital.com Public APIchecked

The Capital.com record's full wording. The same question for every record.

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.

capital-mcpchecked capitalcom-pythonchecked

Every library in the Capital.com record. The same question for every record.

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.

capital-mcpchecked capitalcom-mcp-serverchecked

The MCP server directory, with what each server can do. The same question for every record.

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.

Where to go next

Other brokers

In order of name. The order is not a ranking.

Sections