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

# Index prices

> Subscribe to index price updates for all symbols via WebSocket, pushed every second.

Push interval: 1s

```json theme={null}
{
  "id": "clientID7",
  "topic": "indexprices",
  "event": "subscribe"
}
```

**Parameters**

| Name  | Type   | Required | Description               |
| ----- | ------ | -------- | ------------------------- |
| id    | string | Y        | id generate by client     |
| event | string | Y        | `subscribe`/`unsubscribe` |
| topic | string | N        | `indexprices`             |

<RequestExample>
  ```json Response theme={null}
  {
    "id": "clientID7",
    "event": "subscribe",
    "success": true,
    "ts": 1682241351985
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Subscribed Message theme={null}
  {
      "topic":"indexprices",
      "ts":1618822376000,
      "data":[
          {
             "symbol":"SPOT_BTC_USDC",
              "price":51234.13
          },
          {
              "symbol":"SPOT_ETH_USDC",
              "price":3894.34
          },
         ...
      ]
  }
  ```
</ResponseExample>
