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.

52.2/100 developing ▬ flat Agent 36/100 agent ready Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
8 APIs
CFDCommoditiesCryptocurrencyFinancialForexIndicesMarket DataSharesStreamingTradingWebSocket

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 52.2/100 · developing
Contract Quality 16.4 / 25
Developer Ergonomics 6.5 / 20
Commercial Clarity 12.1 / 20
Operational Transparency 4.8 / 13
Governance 5.7 / 12
Discoverability 6.5 / 10
Agent readiness — 36/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 6 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. 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. Want it done for you? Prioritized profiling — $2,500 →

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 1

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

Capital.com REST API

OPEN COLLECTION

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
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
position: Consumer
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.19'
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:
  - 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:
  - 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