Matrixport · AsyncAPI Specification

bit.com (Matrixport) WebSocket streaming API

Version 1.0.0

Public and private WebSocket streaming for the bit.com exchange. Channel names are taken verbatim from the official bitcom-python-umapi SDK (bit_ws_public.py / bit_ws_private.py). Clients connect and send a { "type": "subscribe", "channels": [ ... ] } message. Private channels require a token from GET /v1/ws/auth.

View Spec View on GitHub CompanyCrypto FinanceCryptocurrency ExchangeTradingDerivativesOptionsFuturesPerpetualsWebSocketREST APIAsyncAPIEventsWebSockets

Channels

ticker
subscribe
Instrument ticker updates (public).
order_book
subscribe
Order book depth updates (public); subscribe form: order_book.., e.g. order_book.10.10.
trade
subscribe
Public trade prints (public).
kline
subscribe
Candlestick updates (public).
order
subscribe
The authenticated user's order updates (private; requires ws auth token).
user_trade
subscribe
The authenticated user's fills (private; requires ws auth token).
um_account
subscribe
The authenticated user's unified-margin account/balance updates (private).

Servers

wss
production ws.bit.com
Production WebSocket host (wss://ws.bit.com; spot-ws.bit.com for spot).
wss
testnet betaws.bitexch.dev
Testnet WebSocket host.

AsyncAPI Specification

Raw ↑
generated: '2026-07-20'
method: searched
source: https://github.com/bitcom-exchange/bitcom-python-umapi
spec_type: AsyncAPI
asyncapi: '2.6.0'
info:
  title: bit.com (Matrixport) WebSocket streaming API
  version: '1.0.0'
  description: >-
    Public and private WebSocket streaming for the bit.com exchange. Channel names are taken
    verbatim from the official bitcom-python-umapi SDK (bit_ws_public.py / bit_ws_private.py).
    Clients connect and send a { "type": "subscribe", "channels": [ ... ] } message. Private
    channels require a token from GET /v1/ws/auth.
servers:
  production:
    url: ws.bit.com
    protocol: wss
    description: Production WebSocket host (wss://ws.bit.com; spot-ws.bit.com for spot).
  testnet:
    url: betaws.bitexch.dev
    protocol: wss
    description: Testnet WebSocket host.
channels:
  ticker:
    description: Instrument ticker updates (public).
    subscribe:
      message:
        name: ticker
        summary: Best bid/ask, last price and stats for an instrument.
  order_book:
    description: 'Order book depth updates (public); subscribe form: order_book.<depth>.<interval>, e.g. order_book.10.10.'
    subscribe:
      message:
        name: order_book
        summary: Level-based order book snapshot/updates.
  trade:
    description: Public trade prints (public).
    subscribe:
      message:
        name: trade
        summary: Executed public market trades.
  kline:
    description: Candlestick updates (public).
    subscribe:
      message:
        name: kline
        summary: OHLCV candles per interval.
  order:
    description: The authenticated user's order updates (private; requires ws auth token).
    subscribe:
      message:
        name: order
        summary: Lifecycle updates for the user's orders.
  user_trade:
    description: The authenticated user's fills (private; requires ws auth token).
    subscribe:
      message:
        name: user_trade
        summary: Trade executions for the user.
  um_account:
    description: The authenticated user's unified-margin account/balance updates (private).
    subscribe:
      message:
        name: um_account
        summary: Account balance and margin state changes.

Work with this as data

Every AsyncAPI spec 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 asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • 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 AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/matrixport-websocket"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?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.