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

# What other wallets does this trader own?

> Find every account linked to a trader or firm, starting from one wallet.

> 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:** a graph of the wallet, its sub-accounts and the wallets it moved funds with, each sized by equity, plus the combined book across all of them.

![Network graph: one main wallet linked to 6 sub-accounts and 5 transfer counterparties, each node sized by equity.](https://mintcdn.com/hd-ebefeca3/7zkDXgAGbYTyarNX/images/data-api/recipes/wallet-cluster-graph.png?fit=max\&auto=format\&n=7zkDXgAGbYTyarNX\&q=85\&s=f7cf2ec396938fa0278fc1d227fcac34)

> [!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}
> Start from Hyperliquid wallet 0x... and find every account linked to it: its sub-accounts and any wallet it has moved funds to or from in the last 30 days. Draw the cluster as a graph with each wallet's equity, open positions and PnL by market, and add up the combined book.
> ```
>
> **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 and the values the calls use first:

```bash theme={null}
export HYPERDASH_API_KEY="hdk_sk_..."
export ADDRESS="0x..."   # the wallet to read
```

**1. List the sub-accounts**

Each sub-account with its account value and equity.

```bash theme={null}
curl "https://data.hyperdash.com/v1/accounts/$ADDRESS/subaccounts" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**2. Find transfer counterparties**

Deposits, withdrawals and transfers. The first line sets `START` and `END` to the last 30 days, in Unix milliseconds. The counterparty is in `destination`, or inside `details` for incoming transfers.

```bash theme={null}
export END=$(( $(date +%s) * 1000 )); export START=$(( END - 30*86400000 ))
curl "https://data.hyperdash.com/v1/accounts/$ADDRESS/ledger?start_time=$START&end_time=$END" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**3. Read every wallet at once**

Perp and spot summary for up to 25 wallets per GET call. For more, POST the list: up to your plan's batch size (50 on Hobby, 250 on Starter).

```bash theme={null}
curl "https://data.hyperdash.com/v1/accounts/batch/portfolio?addresses=$ADDRESS,0x...,0x..." \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**4. Add PnL by market**

PnL, fees and volume per market for one wallet over the same 30 days.

```bash theme={null}
curl "https://data.hyperdash.com/v1/accounts/$ADDRESS/markets-traded?start_time=$START" \
  -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] [Hyperliquid explorer guide](https://hyperdash.com/learn/hyperliquid-explorer)
>
> Look up any wallet, transaction or block.

> [card] [Best wallet trackers](https://hyperdash.com/learn/best-crypto-wallet-trackers)
>
> How to track any wallet, including Hyperliquid.

> [card] [Track Hyperliquid whales](https://hyperdash.com/learn/hyperliquid-whale-tracker)
>
> How to follow whales and top traders.


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