Capital.com Public API website screenshot

Capital.com Public API

Capital.com is a European trading platform offering CFDs across shares, indices, commodities, forex, and cryptocurrencies. The Capital.com Public API provides direct access to the trading engine for automated strategies, giving programmatic control of positions, working orders, account preferences, and historical and streaming market data. A companion WebSocket API streams real-time prices and OHLC candles for up to 40 concurrent instruments.

Capital.com Public API publishes 8 APIs on the APIs.io network, including Capital.com WebSocket API, Accounts API, General API, and 5 more. Tagged areas include CFD, Commodities, Cryptocurrency, Financial, and Forex.

The Capital.com Public API catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.

Capital.com Public API’s developer surface includes authentication, documentation, sandbox, support, engineering blog, and 8 more developer resources.

33.4/100 thin ▬ flat Agent 21/100 agent aware saas Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
8 APIs
CFDCommoditiesCryptocurrencyFinancialForexIndicesMarket DataSharesStreamingTradingWebSocket

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Regulatory Posture applies to this provider. Its tags matched the Securities & Market Data regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/capital-com-public-api: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 8

Individual APIs this provider publishes, each with its own machine-readable definition.

Capital.com WebSocket API

The Capital.com WebSocket API streams real-time market data, supporting up to 40 concurrent instruments and OHLC candlestick subscriptions for low-latency trading applications.

Capital.com Public API Accounts API

Account information, preferences, and demo top-up.

Capital.com Public API General API

Server time, ping, and encryption-key utility endpoints.

Capital.com Public API History API

Account activity and transaction history.

Capital.com Public API Markets API

Market navigation and instrument lookup.

Capital.com Public API Positions API

Operations for opening, updating, and closing trading positions.

Capital.com Public API Session API

Operations for creating, switching, and ending API sessions.

Capital.com Public API Working Orders API

Operations for managing limit and stop working orders.

Scroll for all 8

Open Collections 9

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

Capital.com REST API

OPEN COLLECTION

Scroll for all 9

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

FinOps 1

Cost, billing, and metering signals for API financial operations.

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

Capital.com WebSocket Streaming API

Real-time streaming API from Capital.com for market data and OHLC candlestick updates. Clients connect over WebSocket using session tokens (CST and X-SECURITY-TOKEN) obtained fr...

ASYNCAPI

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Capital.com Public API API Rules

5 rules · 1 errors 3 warnings 1 info

SPECTRAL

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Capital Com Public Api Authentication

apiKey · 3 schemes

SECURITY

Capital Com Public Api Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Capital Com Public Api Vulnerability Disclosure

Intigriti · security.txt · contact published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Capital Com Public Api Agentic Access

27 operations · 11 acting

27 operations · 11 acting

AGENTIC

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 3

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: capital-com-public-api
url: https://raw.githubusercontent.com/api-evangelist/capital-com-public-api/refs/heads/main/apis.yml
name: Capital.com Public API
description: Capital.com is a European trading platform offering CFDs across shares, indices, commodities, forex, and cryptocurrencies.
  The Capital.com Public API provides direct access to the trading engine for automated strategies, giving programmatic control
  of positions, working orders, account preferences, and historical and streaming market data. A companion WebSocket API streams
  real-time prices and OHLC candles for up to 40 concurrent instruments.
type: Index
kind: company
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-09-03'
  method: derived
position: Consuming
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/capital-com-public-api.png
tags:
- CFD
- Commodities
- Cryptocurrency
- Financial
- Forex
- Indices
- Market Data
- Shares
- Streaming
- Trading
- WebSocket
created: '2024-12-03'
modified: '2026-05-29'
specificationVersion: '0.23'
apis:
- aid: capital-com-public-api:capital-com-websocket-api
  name: Capital.com WebSocket API
  description: The Capital.com WebSocket API streams real-time market data, supporting up to 40 concurrent instruments and
    OHLC candlestick subscriptions for low-latency trading applications.
  humanURL: https://open-api.capital.com
  tags:
  - Market Data
  - Streaming
  - Trading
  - WebSocket
  properties:
  - type: Documentation
    url: https://open-api.capital.com
  - type: AsyncAPI
    url: asyncapi/capital-com-public-api-asyncapi.yml
  x-features:
  - Real-time price streaming via WebSocket
  - Up to 40 concurrent instrument subscriptions
  - OHLC candlestick streaming
  - Low-latency market data for trading systems
  x-use-cases:
  - Low-latency automated trading execution
  - Real-time market dashboards
  - Streaming-data backtesting and replay
- aid: capital-com-public-api:capital-com-public-api-accounts-api
  name: Capital.com Public API Accounts API
  description: Account information, preferences, and demo top-up.
  humanURL: https://open-api.capital.com
  tags:
  - Account
  tags_raw:
  - Accounts
  properties:
  - type: OpenAPI
    url: openapi/capital-com-public-api-accounts-api-openapi.yml
  - type: Documentation
    url: https://open-api.capital.com
  - type: Base URL
    url: https://api-capital.backend-capital.com/
  - type: Sandbox
    url: https://demo-api-capital.backend-capital.com/
  - type: Authentication
    url: https://open-api.capital.com
- aid: capital-com-public-api:capital-com-public-api-general-api
  name: Capital.com Public API General API
  description: Server time, ping, and encryption-key utility endpoints.
  humanURL: https://open-api.capital.com
  tags: []
  tags_raw:
  - General
  properties:
  - type: OpenAPI
    url: openapi/capital-com-public-api-general-api-openapi.yml
  - type: Documentation
    url: https://open-api.capital.com
  - type: Base URL
    url: https://api-capital.backend-capital.com/
  - type: Sandbox
    url: https://demo-api-capital.backend-capital.com/
  - type: Authentication
    url: https://open-api.capital.com
- aid: capital-com-public-api:capital-com-public-api-history-api
  name: Capital.com Public API History API
  description: Account activity and transaction history.
  humanURL: https://open-api.capital.com
  tags:
  - History
  properties:
  - type: OpenAPI
    url: openapi/capital-com-public-api-history-api-openapi.yml
  - type: Documentation
    url: https://open-api.capital.com
  - type: Base URL
    url: https://api-capital.backend-capital.com/
  - type: Sandbox
    url: https://demo-api-capital.backend-capital.com/
  - type: Authentication
    url: https://open-api.capital.com
- aid: capital-com-public-api:capital-com-public-api-markets-api
  name: Capital.com Public API Markets API
  description: Market navigation and instrument lookup.
  humanURL: https://open-api.capital.com
  tags:
  - Markets
  properties:
  - type: OpenAPI
    url: openapi/capital-com-public-api-markets-api-openapi.yml
  - type: Documentation
    url: https://open-api.capital.com
  - type: Base URL
    url: https://api-capital.backend-capital.com/
  - type: Sandbox
    url: https://demo-api-capital.backend-capital.com/
  - type: Authentication
    url: https://open-api.capital.com
- aid: capital-com-public-api:capital-com-public-api-positions-api
  name: Capital.com Public API Positions API
  description: Operations for opening, updating, and closing trading positions.
  humanURL: https://open-api.capital.com
  tags:
  - Positions
  properties:
  - type: OpenAPI
    url: openapi/capital-com-public-api-positions-api-openapi.yml
  - type: Documentation
    url: https://open-api.capital.com
  - type: Base URL
    url: https://api-capital.backend-capital.com/
  - type: Sandbox
    url: https://demo-api-capital.backend-capital.com/
  - type: Authentication
    url: https://open-api.capital.com
- aid: capital-com-public-api:capital-com-public-api-session-api
  name: Capital.com Public API Session API
  description: Operations for creating, switching, and ending API sessions.
  humanURL: https://open-api.capital.com
  tags:
  - Session
  properties:
  - type: OpenAPI
    url: openapi/capital-com-public-api-session-api-openapi.yml
  - type: Documentation
    url: https://open-api.capital.com
  - type: Base URL
    url: https://api-capital.backend-capital.com/
  - type: Sandbox
    url: https://demo-api-capital.backend-capital.com/
  - type: Authentication
    url: https://open-api.capital.com
- aid: capital-com-public-api:capital-com-public-api-working-orders-api
  name: Capital.com Public API Working Orders API
  description: Operations for managing limit and stop working orders.
  humanURL: https://open-api.capital.com
  tags:
  - Working Orders
  properties:
  - type: OpenAPI
    url: openapi/capital-com-public-api-working-orders-api-openapi.yml
  - type: Documentation
    url: https://open-api.capital.com
  - type: Base URL
    url: https://api-capital.backend-capital.com/
  - type: Sandbox
    url: https://demo-api-capital.backend-capital.com/
  - type: Authentication
    url: https://open-api.capital.com
common:
- type: AgenticAccess
  url: agentic-access/capital-com-public-api-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/capital-com-public-api-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/capital-com-public-api-domain-security.yml
- type: Authentication
  url: authentication/capital-com-public-api-authentication.yml
- type: GitHubOrganization
  url: https://github.com/capital-com-sv
- type: LinkedIn
  url: https://www.linkedin.com/company/capitalcom
- type: Website
  url: https://capital.com/
- type: Documentation
  url: https://open-api.capital.com
- type: Sandbox
  url: https://demo-api-capital.backend-capital.com/
- type: PrivacyPolicy
  url: https://capital.com/privacy-policy
- type: TermsOfService
  url: https://capital.com/terms-and-conditions
- type: Support
  url: https://capital.com/help
- type: Blog
  url: https://capital.com/news-and-analysis
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/capital-com-public-api"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/capital-com-public-api/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/capital-com-public-api/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.