Broker API HubMenu

Capital.com quote

messagequoteCapital.com WebSocket APIWebSocketLive prices

Carries one price update for an epic subscribed to with marketData.subscribe: the bid, the offer, the size at each and the time.

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.

Independent and unofficialopen-api.capital.comchecked

This is a message of the Capital.com WebSocket API, not an HTTP endpoint. It has no method and no path: it is sent as JSON over an open WebSocket connection.

The vendor's page documents this message by one example and gives no table of its fields, so no type is recorded and nothing is said about which fields are always present.

The message

Name
quote
Direction
Event, sent by the server
Carried by
WebSocket. Capital.com's page says to ping the service at least once every 10 minutes to keep the connection alive.
WebSocket address
wss://api-streaming-capital.backend-capital.com/connect
Also sent in answer to

Fields

The vendor's page does not say which of these fields are required or always present.

NameTypeDescription
statusNot statedOK in the vendor's example.
destinationNot statedAlways quote for this message. It is what tells a price update apart from an answer to a request.
payload.epicNot statedThe epic the price is for.
payload.productNot statedThe product. CFD in the vendor's example.
payload.bidNot statedThe bid price. A number in the vendor's example.
payload.bidQtyNot statedThe size available at the bid. A number in the vendor's example.
payload.ofrNot statedThe offer price. A number in the vendor's example.
payload.ofrQtyNot statedThe size available at the offer. A number in the vendor's example.
payload.timestampNot statedThe time of the price. In the vendor's example it is a 13 digit number, which reads as Unix time in milliseconds.

Limits that apply at Capital.com

LimitValueScopeSource
Headline limit10/s per useruseropen-api.capital.comchecked