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

# Which markets have the highest funding?

> Find the markets where one side is paying the most to hold its position.

> 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:** the markets with the highest funding right now, positive or negative, and a 30-day grid of daily funding that shows which ones have stayed high.

![Grid of daily funding APR for 12 markets over 30 days, negative in blue and positive in orange.](https://mintcdn.com/hd-ebefeca3/pd0wguZzpnZWXwwa/images/data-api/recipes/funding-scanner.png?fit=max\&auto=format\&n=pd0wguZzpnZWXwwa\&q=85\&s=bd47edaf6e9355248d1b3f4731db915d)

> [!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}
> Show me the 10 Hyperliquid markets with the highest funding right now, positive or negative, and chart their daily funding over the last 30 days. Tell me which ones have stayed high all week.
> ```
>
> **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.
> ```

## API calls

Set your key first:

```bash theme={null}
export HYPERDASH_API_KEY="hdk_sk_..."
```

**1. Screen current funding**

Markets with at least 1M USD open interest, ranked by absolute funding, with APR. Add `min_open_interest_usd=0` for every market.

```bash theme={null}
curl "https://data.hyperdash.com/v1/markets/funding/latest?sort=abs&limit=10" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**2. See the last 30 days**

Daily funding for the largest markets by open interest.

```bash theme={null}
curl "https://data.hyperdash.com/v1/markets/funding/matrix?top=20&interval=1d&days=30" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**3. Get one market's history**

Realized funding history, daily or hourly.

```bash theme={null}
curl "https://data.hyperdash.com/v1/markets/ETH/funding-rates?interval=1d&limit=30" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

> [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] [Funding rates scanner](https://hyperdash.com/learn/hyperliquid-funding-rates)
>
> Live funding rates and full history.

> [card] [Funding rates explained](https://hyperdash.com/learn/funding-rates-explained-what-every-perps-trader-needs-to-know)
>
> How funding works and why it matters.

> [card] [Funding rate arbitrage](https://hyperdash.com/learn/basis-trading-and-funding-rate-arbitrage-on-perps)
>
> Basis trades that earn funding on perps.


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