How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

CoinDCX Streaming Socket.IO API

Real-time Socket.IO streaming at stream.coindcx.com for public spot and futures market data (orderbook depth, public trades, current prices, price statistics, last-traded price, candlesticks) and authenticated user-data channels (balance, order, trade, and futures position updates). Only socket.io-client version 2.4.0 is supported by the server.

CoinDCX Streaming Socket.IO API is one of 2 APIs that CoinDCX publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include Cryptocurrency, Streaming, WebSocket, Socket.IO, and Market Data. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.

This event API exposes 13 operations across 13 channels, and defines 26 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.0.

The API connects through a single server, stream.coindcx.com (wss).

13 operations 13 channels 26 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.0.0
Base URL
https://stream.coindcx.com
Resource Areas
1

Channels & Operations 13

Across 13 channels, the API surfaces 13 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 13
PUB
join
Subscribe to a public or authenticated streaming channel.
joinChannel body
PUB
leave
Unsubscribe from a previously joined channel.
leaveChannel body
SUB
depth-snapshot
Receive an orderbook snapshot event.
receiveDepthSnapshot body
SUB
depth-update
Receive an incremental orderbook update event.
receiveDepthUpdate body
SUB
new-trade
Receive a public trade event for a market.
receiveNewTrade body
SUB
currentPrices
Receive a current-prices event for a market.
receiveCurrentPrices body
SUB
price-change
Receive a last-traded-price change event for a market.
receivePriceChange body
SUB
price-stats
Receive a price-statistics event for a market.
receivePriceStats body
SUB
candlestick
Receive a candlestick event for a market and interval.
receiveCandlestick body
SUB
balance-update
Receive a balance update for the authenticated user.
receiveBalanceUpdate body
SUB
order-update
Receive an order lifecycle update for the authenticated user.
receiveOrderUpdate body
SUB
trade-update
Receive an executed trade event for the authenticated user.
receiveTradeUpdate body
SUB
position-update
Receive a futures position update for the authenticated user.
receivePositionUpdate body

Messages & Schemas 26

The contract defines 26 schemas that model the data carried by its messages. The most detailed are AuthenticatedJoin (4 properties), DepthUpdate (1 property), DepthSnapshot (1 property), NewTrade (1 property). Each schema is shown below with its type and property counts.

PublicJoin
message
String channel name used to subscribe to a public market channel, for example B-BTCUSDT@orderbook, B-BTCUSDT@trades, B-BTCUSDT@prices, B-BTCUSDT@prices-stats,…
AuthenticatedJoin
message
Join payload for the authenticated user-data channel. The body field is a JSON-stringified object containing at least a timestamp; the authSignature is the hex…
Leave
message
Channel name string previously passed to join.
DepthSnapshot
message
Full orderbook snapshot for a market.
DepthUpdate
message
Incremental orderbook update for a market.
NewTrade
message
Public trade event for a market.
CurrentPrices
message
Current-price event for a market.
PriceChange
message
Last traded price movement for a market.
PriceStats
message
Rolling price statistics for a market.
Candlestick
message
Candlestick (OHLCV) update for a market and interval.
BalanceUpdate
message
Authenticated wallet balance change event.
OrderUpdate
message
Authenticated order lifecycle event.
TradeUpdate
message
Authenticated executed trade event.
PositionUpdate
message
Authenticated futures position change event.
AuthenticatedJoin
object
4 properties 3 required
DepthSnapshot
object
Full orderbook snapshot for the subscribed market channel. The documented topic suffix is @orderbook and the documented exchange prefixes are B, I, HB, and KC.
1 property
DepthUpdate
object
Incremental orderbook update for the subscribed market channel. Apply on top of the most recent depth-snapshot for the same channel.
1 property
NewTrade
object
Public trade event for the subscribed market channel.
1 property
CurrentPrices
object
Current-prices event for the subscribed market channel.
1 property
PriceChange
object
Last traded price (LTP) movement event for the subscribed market channel.
1 property
PriceStats
object
Rolling price-statistics event for the subscribed market channel (topic suffix @prices-stats).
1 property
Candlestick
object
Candlestick (OHLCV) event for a candlestick channel of the form candlestick@ - .
1 property
BalanceUpdate
object
Authenticated wallet balance change event delivered on the "coindcx" channel.
OrderUpdate
object
Authenticated order lifecycle event delivered on the "coindcx" channel.
TradeUpdate
object
Authenticated executed trade event delivered on the "coindcx" channel.
PositionUpdate
object
Authenticated futures position change event delivered on the "coindcx" channel.

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

coindcx-asyncapi.yml Raw ↑

Other APIs CoinDCX publishes across the network.

Where this information came from

This is an independent, third-party profile of CoinDCX Streaming Socket.IO API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.