CEX.IO Market Data API

The Market Data API from CEX.IO — 4 operation(s) for market data.

Operations 4

POST /get_order_book Order Book #
POST /get_ticker Ticker #
POST /get_candles Candles #
POST /get_trade_history Trade History #

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/cex-io:cex-io-market-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

cex-io-market-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CEX.IO Spot Trading Private REST Market Data API
  version: '2026-10-13'
  description: Private (API-key signed) REST calls of the CEX.IO Spot Trading API. Limited per API key to 200 points per minute; 429 on exhaustion (per docs).
  contact:
    url: https://support.cex.io/en/
  termsOfService: https://cex.io/terms
servers:
- url: https://trade.cex.io/api/spot/rest
security:
- XAggrKey: []
  XAggrTimestamp: []
  XAggrSignature: []
tags:
- name: Market Data
paths:
  /get_order_book:
    post:
      operationId: get_order_book
      summary: Order Book
      tags:
      - Market Data
      x-source: https://trade.cex.io/docs/
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '429':
          description: API rate limit exceeded
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
  /get_ticker:
    post:
      operationId: get_ticker
      summary: Ticker
      tags:
      - Market Data
      x-source: https://trade.cex.io/docs/
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '429':
          description: API rate limit exceeded
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
  /get_candles:
    post:
      operationId: get_candles
      summary: Candles
      tags:
      - Market Data
      x-source: https://trade.cex.io/docs/
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '429':
          description: API rate limit exceeded
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
  /get_trade_history:
    post:
      operationId: get_trade_history
      summary: Trade History
      tags:
      - Market Data
      x-source: https://trade.cex.io/docs/
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '429':
          description: API rate limit exceeded
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
components:
  securitySchemes:
    XAggrKey:
      type: apiKey
      in: header
      name: X-AGGR-KEY
    XAggrTimestamp:
      type: apiKey
      in: header
      name: X-AGGR-TIMESTAMP
    XAggrSignature:
      type: apiKey
      in: header
      name: X-AGGR-SIGNATURE
      description: base64 HMAC-SHA256 of action + timestamp + JSON body, keyed with the API secret (per docs example).
externalDocs:
  url: https://trade.cex.io/docs/
x-generated:
  method: generated
  from: documentation
  engine: hand-transcribed by enrichment agent (claude-opus-5-5)
  date: '2026-10-13'
  note: No machine-readable contract is published by CEX.IO. Every path below appears verbatim on the cited docs page; request/response schemas are NOT modelled and must be read from the docs.