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

# Premium index

> Subscribe to mark price, index price, and funding rate updates for futures markets via WhiteBIT WebSocket.

WebSocket URL

:

Subscribe to mark price, index price, and funding rate updates for futures markets — the same data returned by [`GET /api/v4/public/futures`](https://docs.whitebit.com/api-reference/market-data/available-futures-markets-list), delivered as a push stream instead of a poll. **Mark price** drives margin, PnL, liquidation, and [ADL](https://docs.whitebit.com/concepts/auto-deleveraging.md) calculations; **index price** and **funding rate** are informational only and are not used in any trading calculation.

> [!NOTE]
>
> This channel does **NOT** support query operations — only subscribe/update/unsubscribe.

<table>
  <thead>
    <tr />
  </thead>

  <tbody />
</table>

> [!NOTE]
>
> Connect to `wss://wss.whitebit.com/ws` — see [WebSocket Overview](https://docs.whitebit.com/websocket/overview.md) for protocol details and keepalive requirements.

## Rate limits

## Subscribe to all futures markets

Passing an empty `params` array subscribes to every futures market. All subscribed markets arrive together in a single message on each poll cycle.

**Send subscription request**

params — empty array subscribes to every futures market.

**Receive confirmation**

**Receive updates**

params — an array of records, one per subscribed market, all delivered together. Each record is a positional array: \[market, mark\_price, futures\_index\_price, futures\_funding\_rate, futures\_funding\_time].

Index

Field

Description

**Unsubscribe**

## Subscribe to specific markets

Passing one or more market names instead delivers a **separate message per market** on each poll cycle, with a `server_timestamp` field appended.

> [!NOTE]
>
> Subscribing with named markets replaces the previous scope on this channel rather than adding to it — resubscribe with the full target list to change which markets are streamed.

**Request**

json

**Update — one message per market**

json

Index

Field

Description

## Update frequency

The server polls the matching engine and pushes a fresh snapshot every **0.5 seconds**, regardless of whether any value changed since the last cycle — this is a periodic poll, not an event triggered by a price or funding-rate change. After a `market.mark_price_update`, allow up to one poll cycle (0.5 sec) for the new value to appear on this channel.

## Error codes

## Premium index update object

Field

Type

Description

## Related resources

* [Available futures markets list](https://docs.whitebit.com/api-reference/market-data/available-futures-markets-list.md) — one-time HTTP snapshot of the same `mark_price`, `index_price`, and funding-rate fields.
* [Auto-Deleveraging concept](https://docs.whitebit.com/concepts/auto-deleveraging.md) — how mark price feeds the liquidation and ADL rating formulas.
* [Funding history](https://docs.whitebit.com/api-reference/market-data/funding-history.md) — historical funding rate records for futures markets.


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