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

# useDaily

> Hook to retrieve daily perpetual volume data for referral tracking over a date range.

Returns `perp_volume` based on start and end time. If not passed, defaults to last 30 days.

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

### Example

```ts theme={null}
const { data } = useDaily();
```

The returned data is an array of objects containing the following fields:

```json theme={null}
{
  "broker_id": "veeno_dex",
  "date": "2024-11-11",
  "perp_volume": 500
}
```
