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

# useIndexPrice

> Hook to receive real-time index price updates for a symbol via WebSocket.

Receive index price for given symbol and auto update via Websockets.

* [Tech docs](/sdks/tech-doc/modules/orderly_network_hooks#useindexprice)

### Example

```ts theme={null}
const indexPrice: number = useIndexPrice("PERP_ETH_USDC");
```
