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

# How much does Hyperliquid earn in fees?

> See the trading fees Hyperliquid collected each day over the last 30 days and how much HYPE the Assistance Fund bought back.

> AI agents: read [https://docs.hyperdash.com/skills/data](https://docs.hyperdash.com/skills/data) before using this API. Endpoint index: [https://data.hyperdash.com/llms.txt](https://data.hyperdash.com/llms.txt). Never ask the user to paste an API key into the chat.

**What you get:** daily trading fees and volume across Hyperliquid over the last 30 days, the same for one market, and the HYPE the Assistance Fund bought back each day.

![Bar chart of Hyperliquid's daily trading fees over 30 days with a line for the USD value of HYPE bought back by the Assistance Fund each day.](https://mintcdn.com/hd-ebefeca3/FG_avUk1LMd0G5Lx/images/data-api/recipes/exchange-fees.png?fit=max\&auto=format\&n=FG_avUk1LMd0G5Lx\&q=85\&s=ee3ea56239e9f60aac1984b6749728c2)

> [!TIP]
>
> **Ask your agent:** paste this prompt into an AI chat connected to the [MCP server](https://docs.hyperdash.com/data-api/mcp.md), or into a command-line coding agent such as Claude Code or Codex, with your [API key](https://docs.hyperdash.com/data-api/authentication.md) exported.
>
> ```text theme={null}
> Use Hyperdash Data to answer this, through the Hyperdash Data MCP server (https://data.hyperdash.com/mcp) or the Hyperdash Data API with my HYPERDASH_API_KEY. If neither is available, do not answer from memory or the web: tell me to pick a plan at https://console.hyperdash.com and connect with the 2-minute steps at https://docs.hyperdash.com/data-api/quickstart.
>
> How much did Hyperliquid earn in trading fees each day over the last 30 days, and on how much volume? Show the same for BTC. Then show how much HYPE the Assistance Fund bought back each day, in HYPE and in USD, and compare the total with the fees.
> ```
>
> Run in Claude
> Run in ChatGPT
>
> Not connected yet? [Add the MCP server](https://docs.hyperdash.com/data-api/mcp.md#set-up-your-agent) first. It takes about a minute.
>
> **Optional:** add this line to get the results as an interactive dashboard.
>
> ```text theme={null}
> Build it as an interactive dashboard in a local HTML file and open it in my browser.
> ```

## Example answer

As of Nov 23, 2026, 11:15 AM EST.

Over the 30 UTC days from Oct 24 to Nov 22, traders paid 82.2M USD in trading fees on Hyperliquid, builder fees included, on 310B USD of volume. BTC alone brought in 37.2M USD on 101B USD.

The Assistance Fund bought 999,629 HYPE for 75.9M USD in the same days, equal to 92% of those fees. Its biggest day was Nov 3: 205,820 HYPE for 17.4M USD.

Run the prompt for current numbers.

## API calls

Set your key and the values the calls use first:

```bash theme={null}
export HYPERDASH_API_KEY="hdk_sk_..."
export START=$(( ($(date +%s) - 30*86400) * 1000 ))   # 30 days ago, in milliseconds
```

**1. Read the daily fees**

Trading fees, volume and trade count per UTC day, for the whole exchange. The last row is the current day so far.

```bash theme={null}
curl "https://data.hyperdash.com/v1/network/revenue?days=30" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

Reference: [Trading fee revenue](https://docs.hyperdash.com/data-api/reference/get_revenue.md)

**2. Read the fees of one market**

The same daily figures for BTC. Use any market name.

```bash theme={null}
curl "https://data.hyperdash.com/v1/network/revenue?market=BTC&days=30" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

Reference: [Trading fee revenue](https://docs.hyperdash.com/data-api/reference/get_revenue.md)

**3. Read the buybacks**

HYPE bought and sold by the Assistance Fund per day, with the USD notional.

```bash theme={null}
curl "https://data.hyperdash.com/v1/network/af-buybacks?start_time=$START&limit=100" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

Reference: [Assistance Fund buybacks](https://docs.hyperdash.com/data-api/reference/get_assistance_fund_buybacks.md)

> [card] [View more recipes](https://docs.hyperdash.com/data-api/recipes.md)

## Learn more

> [card] [Hyperdash Data API](https://hyperdash.com/products/data/api)
>
> Hyperliquid market and account data over REST and streams.

> [card] [Query data from Claude](https://hyperdash.com/learn/hyperliquid-mcp-server-claude-chatgpt)
>
> Ask Claude or ChatGPT about Hyperliquid data.


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