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

# Who was holding ETH before the last big move?

> See who was positioned before a move and what happened to each 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 largest positions as they stood one hour before the move, with entry, leverage and liquidation price, marked liquidated, closed or still open, over the price path.

![Report card: 98 positions tracked, 31 liquidated, 22 closed and 45 still open, the ETH price through a 6% drop, and a table of the largest positions with side, notional, leverage, entry, liquidation price and outcome.](https://mintcdn.com/hd-ebefeca3/pd0wguZzpnZWXwwa/images/data-api/recipes/positions-before-move.png?fit=max\&auto=format\&n=pd0wguZzpnZWXwwa\&q=85\&s=b915446e676fe8adfd60c040435f228a)

> [!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}
> Find ETH's biggest one-hour price move in the last 6 days. Show me the largest ETH positions as they stood one hour before the move, with entry, leverage and liquidation price. Mark which ones were liquidated or closed since, and overlay the minute-by-minute price through the move.
> ```
>
> **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. Find the move**

Hourly ETH candles for the last 6 days. The first line sets `FROM` to 6 days ago, in Unix milliseconds. Pick the candle with the biggest move.

```bash theme={null}
export FROM=$(( ($(date +%s) - 6*86400) * 1000 ))
curl "https://data.hyperdash.com/v1/markets/ETH/candles?interval=1h&start_time=$FROM&limit=144" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**2. Get the position book before the move**

Largest positions at a past time (up to 7 days ago), with whether each is still open or was liquidated since. The first line sets `AT` to 24 hours ago, on the hour, in Unix milliseconds; for the move from step 1, set it to that candle's open time minus `3600000` (one hour). `limit=100` returns the 98 largest plus the long and short totals.

```bash theme={null}
export AT=$(( ($(date +%s) - 86400) / 3600 * 3600 * 1000 ))
curl "https://data.hyperdash.com/v1/markets/ETH/position-book?at=$AT&limit=100" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**3. Get the price through the move**

1-minute candles for the next 24 hours.

```bash theme={null}
curl "https://data.hyperdash.com/v1/markets/ETH/candles?interval=1m&start_time=$AT&limit=1440" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**4. List the liquidations**

Every ETH liquidation in the window.

```bash theme={null}
curl "https://data.hyperdash.com/v1/liquidations?coin=ETH&start_time=$AT" \
  -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] [Track Hyperliquid whales](https://hyperdash.com/learn/hyperliquid-whale-tracker)
>
> How to follow whales and top traders.

> [card] [Why position changes matter](https://hyperdash.com/learn/why-every-trader-needs-to-understand-position-changes)
>
> Tell new buying apart from short covering.

> [card] [Whale watching for trades](https://hyperdash.com/learn/how-to-use-whale-watching-to-inform-your-trades)
>
> Use large wallets to inform your trades.


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