Capital.com Public API Markets API

Market navigation and instrument lookup.

Operations 4

GET /api/v1/marketnavigation List Top-Level Market Categories #
GET /api/v1/marketnavigation/{nodeId} List Sub-Nodes for Category #
GET /api/v1/markets List Markets #
GET /api/v1/markets/{epic} Get Single Market #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/capital-com-public-api-markets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

OpenAPI Specification

capital-com-public-api-markets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Capital.com REST Accounts Markets API
  description: The Capital.com REST API provides programmatic access to the Capital.com trading engine, including positions, working orders, deal confirmations, account information, account switching, transaction history, account preferences (leverage, hedging mode), market navigation, instruments, and historical price data. Authentication uses an API key plus login credentials to create a session that returns CST and X-SECURITY-TOKEN headers, which expire after ten minutes of inactivity.
  version: v1
  contact:
    name: Capital.com API Support
    url: https://open-api.capital.com
servers:
- url: https://api-capital.backend-capital.com
  description: Capital.com production REST API server
- url: https://demo-api-capital.backend-capital.com
  description: Capital.com demo (sandbox) REST API server
security:
- apiKey: []
  sessionToken: []
  securityToken: []
tags:
- name: Markets
  description: Market navigation and instrument lookup.
paths:
  /api/v1/marketnavigation:
    get:
      operationId: listMarketNavigation
      summary: List Top-Level Market Categories
      description: Returns the top-level market navigation categories.
      tags:
      - Markets
      responses:
        '200':
          description: A list of top-level market categories
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericObject'
  /api/v1/marketnavigation/{nodeId}:
    get:
      operationId: listMarketNavigationByNode
      summary: List Sub-Nodes for Category
      description: Returns the sub-nodes (markets and child categories) under a given navigation node.
      tags:
      - Markets
      parameters:
      - name: nodeId
        in: path
        required: true
        description: The navigation node identifier.
        schema:
          type: string
      responses:
        '200':
          description: A list of sub-nodes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericObject'
  /api/v1/markets:
    get:
      operationId: listMarkets
      summary: List Markets
      description: Returns details for a set of markets, filtered by query parameters.
      tags:
      - Markets
      responses:
        '200':
          description: A list of market details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericObject'
  /api/v1/markets/{epic}:
    get:
      operationId: getMarket
      summary: Get Single Market
      description: Returns details for a single market, identified by its epic.
      tags:
      - Markets
      parameters:
      - name: epic
        in: path
        required: true
        description: Market epic (instrument identifier).
        schema:
          type: string
      responses:
        '200':
          description: Market details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericObject'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: Generic error response.
      properties:
        errorCode:
          type: string
        message:
          type: string
      additionalProperties: true
    GenericObject:
      type: object
      description: Generic JSON object response.
      additionalProperties: true
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-CAP-API-KEY
      description: Capital.com API key required for all calls.
    sessionToken:
      type: apiKey
      in: header
      name: CST
      description: Client session token returned after creating a session.
    securityToken:
      type: apiKey
      in: header
      name: X-SECURITY-TOKEN
      description: Security token returned after creating a session.
externalDocs:
  description: Capital.com Public API Documentation
  url: https://open-api.capital.com
x-generated-from: https://open-api.capital.com
x-generated-by: claude-crawl-2026-05-08