API Documentation
General information Open API documentation: https://open-api.capital.com/ Base URL: https://api-capital.backend-capital.com/ Base URL demo: https://demo-api-capital.backend-capital.com/ WebSocket streaming service:wss://api-streaming-capital.backend-capital.com/connect
In order to use the endpoints a session should be launched. This can be done using the POST /session
endpoint. The API covers the full range of available instruments, licences and trading functionality. Trading, general account and market prices functionality is available with the REST API GET /prices
prices can be also found in the WebSocket API. API limitations The maximum request rate is 10 per second. WebSocket session duration is 10 minutes. In order to keep the session live use the ping endpoint. POST /positions
and POST /workingOrders
endpoint limit is 1000 requests per hour in the Demo account.The WebSocket API allows subscription to a maximum of 40 instruments. WebSocket streaming falls off when the financial account is changed with the help of the PUT /session
endpoint.
Still looking for a broker you can trust? Join the 555.000+ traders worldwide that chose to trade with Capital.com
1. Create & verify your account 2. Make your first deposit 3. You’re all set. Start trading