> ## Documentation Index
> Fetch the complete documentation index at: https://dexbuilder.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WebSocket API Overview

> DexBuilder PerpDEX WebSocket endpoint, channel types, and usage.

Use the WebSocket API for real-time market, account, order, position, balance, and trading updates.

## Endpoint

```text theme={null}
wss://api.dexbuilder.com/v1/ws/dex
```

Public channels include ticker, trades, order book, candlesticks, liquidation data, and contract statistics. Private channels include orders, user trades, positions, balances, liquidation, ADL, and automatic orders.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.