> ## 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.

# Mark prices

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

Push interval: 1s

```json theme={null}
{
  "id": "clientID",
  "topic": "markprices",
  "event": "subscribe"
}
```

**Parameters**

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

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

<ResponseExample>
  ```json Subscribed Message theme={null}
  {
     "topic":"markprices",
     "ts":1682242806000,
     "data":[
        {
           "symbol":"PERP_ETH_USDC",
           "price":2300.0
        },
        {
           "symbol":"PERP_NEAR_USDC",
           "price":2.15
        },
     ]
  }
  ```
</ResponseExample>
