Skip to main content

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.

What the CSV contains

One row per fill, newest first, 14 columns.

CSV columns, in order
ColumnHyperliquid fieldWhat it holds
time_utctimeFill time, ISO 8601 in UTC
coincoinMarket: BTC for a core perpetual, dex:SYMBOL such as xyz:NVDA for HIP-3, a pair name or @index for Spot
sidesidebuy or sell
directiondirOpen Long, Close Short, Buy, Sell and the like, as Hyperliquid labels the fill
pricepxFill price
sizeszFill size in the base asset
notional_usdCalculatedprice times size
closed_pnlclosedPnlRealised profit or loss on the part of the position the fill closed; 0 on an opening fill
feefeeFee paid on the fill, negative for a rebate
fee_tokenfeeTokenToken the fee was paid in, USDC for perpetuals
crossedcrossedtrue when the fill took liquidity
order_idoidOrder id
trade_idtidTrade id, unique per fill
tx_hashhashTransaction 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 a wallet's older trades are
WhereWhat it returnsFrom
GET /v1/hyperliquid/wallets/{address}/positions/changesEvery 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 exportsThe 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

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