AsyncAPI channel · dYdX
· dYdX v4 Indexer WebSocket API
v4_orderbook
Streams orderbook snapshots and L2 updates (bids/asks) for a single
perpetual market. The `id` of the subscription is the market ticker
(e.g. `BTC-USD`).
Send subscribe/unsubscribe envelopes for the orderbook channel.
subscribe
receiveOrderbook
Receive orderbook snapshot and price-level updates.
Messages
SubscribeMarketScoped
Subscribe to a single market (trades or orderbook)
Content-Type:
UnsubscribeMarketScoped
Unsubscribe from a single market (trades or orderbook)
Content-Type:
SubscribedOrderbook
Initial v4_orderbook snapshot
Content-Type:
ChannelDataOrderbook
v4_orderbook update
Content-Type:
ChannelBatchDataOrderbook
v4_orderbook batched updates
Content-Type:
Unsubscribed
Unsubscribed acknowledgement
Content-Type:
About AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
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.