---
title: "Export Hyperliquid wallet trade history to CSV"
description: "Hyperliquid serves the latest 10,000 fills of any wallet. Download them as a 14-column CSV across perpetuals, HIP-3 and Spot."
canonical_url: "https://0xarchive.io/tools/hyperliquid-wallet-trade-history"
markdown_url: "https://0xarchive.io/tools/hyperliquid-wallet-trade-history.md"
route: "/tools/hyperliquid-wallet-trade-history"
robots: "index, follow, max-image-preview:large"
generated_from: "prerendered_html"
---

[Markets](https://0xarchive.io/markets) Wallet trade history

# Export a Hyperliquid wallet's trade history

Hyperliquid serves the latest 10,000 fills of any wallet. Paste an address to download them as a 14-column CSV across perpetuals, HIP-3 and Spot; the 0xArchive API returns every perpetual trade of a wallet from May 25, 2025.

Wallet address Load trades

**Your address stays in your browser** Your browser reads the fills straight from Hyperliquid's public API: core perpetuals, HIP-3 markets and Spot, each with price, size, direction, closed P&L, fee and transaction hash. 0xArchive does not store the address. The CSV has one row per fill.

## What the CSV contains

One row per fill, newest first, 14 columns.

| Column | Hyperliquid field | What it holds |
| --- | --- | --- |
| `time_utc` | `time` | Fill time, ISO 8601 in UTC |
| `coin` | `coin` | Market: BTC for a core perpetual, dex:SYMBOL such as xyz:NVDA for HIP-3, a pair name or @index for Spot |
| `side` | `side` | buy or sell |
| `direction` | `dir` | Open Long, Close Short, Buy, Sell and the like, as Hyperliquid labels the fill |
| `price` | `px` | Fill price |
| `size` | `sz` | Fill size in the base asset |
| `notional_usd` | Calculated | price times size |
| `closed_pnl` | `closedPnl` | Realised profit or loss on the part of the position the fill closed; 0 on an opening fill |
| `fee` | `fee` | Fee paid on the fill, negative for a rebate |
| `fee_token` | `feeToken` | Token the fee was paid in, USDC for perpetuals |
| `crossed` | `crossed` | true when the fill took liquidity |
| `order_id` | `oid` | Order id |
| `trade_id` | `tid` | Trade id, unique per fill |
| `tx_hash` | `hash` | Transaction hash |

## More than 10,000 fills

Hyperliquid stops at a wallet's latest 10,000 fills, so an active trader's earlier history is out of its reach. The 0xArchive API keeps it, by wallet.

| Where | What it returns | From |
| --- | --- | --- |
| `GET /v1/hyperliquid/wallets/{address}/positions/changes` | Every trade, liquidation and settlement of one wallet on Hyperliquid's perpetuals, each with price, size, fee, closed P&L and the position before and after. HIP-3 has the same route under `/v1/hyperliquid/hip3/wallets`. | from May 25, 2025 |
| Trade exports | The trading wallet (`user_address`) on every Hyperliquid fill, as Parquet files of one market and date range, so one wallet's fills are a filter on that column. | from Mar 22, 2025 |

[Wallet position changes in the API reference](https://docs.0xarchive.io/api-reference/hyperliquid--positions/get-hyperliquid-wallet-position-changes)

## Questions

**Does it include HIP-3 and Spot trades?**

Yes. Hyperliquid returns a wallet's fills on every venue it runs in one list: core perpetuals such as BTC, HIP-3 markets named dex:SYMBOL such as xyz:NVDA, and Spot pairs.
**What is closed P&L?**

Hyperliquid's realised profit or loss on the part of a position each fill closed. An opening fill shows 0. Fees are not taken out of it: they sit in the fee column, and once a wallet has loaded, the line above its table totals closed P&L and fees separately.
**Does this tool send my address to 0xArchive?**

No. Your browser reads Hyperliquid's public API directly and builds the CSV itself; the address and the fills never pass through 0xArchive. 0xArchive's own archive of Hyperliquid trades is separate and served by API, as described above.

## More free tools

- [Funding rates Hyperliquid and Lighter, side by side](https://0xarchive.io/tools/funding-rates)
- [Open interest Every market, with history](https://0xarchive.io/tools/open-interest)
- [Hyperliquid stats Volume, open interest and markets](https://0xarchive.io/tools/hyperliquid-stats)
- [Data coverage What we hold, from which date](https://0xarchive.io/tools/data-coverage)
- [Weekend prices Stock perps against the Monday open](https://0xarchive.io/tools/weekend-prices)
- [Glossary Market-data terms, defined](https://0xarchive.io/glossary)
