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

# Hyperliquid Price History

> Get the price history of any Hyperliquid market, crypto or stocks, from 1-second to monthly candles, and its average over any period.

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

> [!TIP]
>
> **Ask your agent**, connected to the [Hyperdash Data MCP server](https://docs.hyperdash.com/data-api/mcp.md):
>
> ```text theme={null}
> What was the average price of BTC over the last 30 days?
> ```

[/data-api/quickstart](https://docs.hyperdash.com/data-api/quickstart.md)

## Example answer

Your agent pulls 30 days of hourly candles, charts the price and works out the average, high and low.

![Line chart of the BTC price on Hyperliquid from Oct 29 to Nov 28, 2026, hourly, falling from about 78,200 to 59,310 USD, with the 30-day average of 68,816 USD marked.](https://mintcdn.com/hd-ebefeca3/yZu313HWnlJE-oK1/images/data-api/guides/price-history.png?fit=max\&auto=format\&n=yZu313HWnlJE-oK1\&q=85\&s=779ec9e9ba1202ec2c30bfdff93e7162)

BTC, Oct 29 to Nov 28, 2026:

| | Price |
| - | - |
| 30-day average | 68,816 USD |
| High | 81,177 USD |
| Low | 55,170 USD |
| Change | -24.2% (78,200 to 59,310 USD) |

## Get started

> [card] [1. Pick a plan](https://console.hyperdash.com?utm_source=web\&utm_medium=social\&utm_campaign=20261128-docs-guide-price-history)
>
> Starts at \$20/month.

> [card] [2. Connect your agent](https://docs.hyperdash.com/data-api/quickstart.md)
>
> Takes 2 minutes.

## FAQ

> [accordion] Which markets have price history?
>
> Every Hyperliquid market, crypto and Hyperliquid HIP-3 markets such as gold (`xyz:GOLD`) and Nvidia (`xyz:NVDA`).

> [accordion] What candle sizes can I get?
>
> From 1 second to 1 month: `1s`, `15s`, `30s`, `1m`, `3m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `8h`, `12h`, `1d`, `3d`, `1w` and `1M`.

> [accordion] Can I download it?
>
> Yes. Ask "Export 30 days of hourly BTC candles to a CSV file."

> [accordion] How far back does it go?
>
> As far as your plan covers. See [Data coverage and history](https://docs.hyperdash.com/data-api/coverage.md).

> [accordion] How many credits does it use?
>
> About 730, around 0.15% of the 500,000 credits a Hobby plan includes each month.

> [accordion] Do I need to write code?
>
> No. Connect your agent to the [Hyperdash Data MCP server](https://docs.hyperdash.com/data-api/mcp.md) and run the prompt. The API calls below are for building it into your own app.

> [card] [Historical data on Hyperliquid](https://hyperdash.com/learn/hyperliquid-historical-data)
>
> Every way to get Hyperliquid history.

> [card] [Stocks and commodities](https://hyperdash.com/learn/hyperliquid-stocks-and-commodities)
>
> Every stock and commodity perp listed.

## API calls

For developers. Set your [API key](https://docs.hyperdash.com/data-api/authentication.md) first:

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

| You want | Endpoint | Credits |
| - | - | - |
| Candles for one market | [`GET /v1/markets/{coin}/candles`](https://docs.hyperdash.com/data-api/reference/get_candles) | 10 + 1 per bar |

**1. Get hourly candles**

Up to 1,000 bars per request; follow `next_cursor` for more. `c` is the close.

```bash theme={null}
curl "https://data.hyperdash.com/v1/markets/BTC/candles?interval=1h&limit=720" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

See [Conventions](https://docs.hyperdash.com/data-api/conventions.md) and [Credit costs](https://docs.hyperdash.com/data-api/credit-costs.md).


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