Tax season starts with one question: what did I trade, and what did it cost me? On Hyperliquid every trade is public and on-chain, yet getting a complete file for a whole year is where most people get stuck.
This guide shows what a tax file needs, why the exchange's own history runs short, and how to export everything, free, back to January 2024.
This is a guide to getting the data, not tax advice. How perpetuals, funding and spot trades are taxed depends on where you live; check with a professional.
What a tax file needs
Whatever your jurisdiction, an accountant or a tax tool usually asks for three things:
- Every trade: time, market, side, price, size, fee and, for perpetuals, the realized PnL.
- Funding: what your positions paid or received, hour by hour.
- Money in and out: deposits, withdrawals and transfers between your accounts.
Why your recent trades are not enough
Hyperliquid's API, which apps built on the exchange read from, is made for recent activity. Its documentation says userFills "returns at most 2000 most recent fills", and userFillsByTime "returns at most 2000 fills per response and only the 10000 most recent fills are available".
For an occasional trader, 10,000 fills can cover years. For an active one, a bot or a market maker, it can cover a few weeks: the start of the tax year is already out of reach.
Option 1: Trade Export, free
Hyperliquid's own historical data page points to it: "The Enigma team has built an interface for users to export trade history." That interface is the Trade Export portal, run by Enigma, the validator behind Hypedexer.
- Paste any Hyperliquid address.
- Pick a date range, as far back as 1 January 2024.
- Download the CSV: time, coin, direction, price, size, notional, fee, fee token, closed PnL and transaction hash.
No account, no API key, no card. If you trade from sub-accounts or a vault, export each address the same way.
One thing to know: older fills carry fewer fields than recent ones. Fees, for example, are recorded from May 2025. The field availability table lists exactly what each period contains.
Option 2: Daily statements, for funding and transfers
A trade export lists trades. Funding payments, deposits, withdrawals and transfers are in the daily statements: one row per day for any address, with the account's value at 24:00 UTC and the day's realized PnL, trading fees, funding paid or received, deposits, withdrawals and transfers. They start on 1 June 2025.
- In the app: open Statements in the Hypedexer console, enter an address and a date range, and download the CSV. It works on every plan, Free included (up to 10 days of statements per day on Free).
- Through the API, on paid plans, one request per year:
curl -H "X-API-Key: $HYPEDEXER_KEY" -o statement.csv \
"https://api.hypedexer.com/users/0xYourWallet/statements?start_date=2025-06-01&end_date=2025-12-31&format=csv"One request covers up to 400 days. What each column means is in Daily account statements.
Option 3: The API, for tax software
If you build a tax or accounting product, the same trade history is one paginated call per address:
curl -H "X-API-Key: $HYPEDEXER_KEY" \
"https://api.hypedexer.com/fills/user/0xYourWallet?start_time=2025-01-01T00:00:00Z&end_time=2026-01-01T00:00:00Z&limit=1000&order=ASC"Pass next_cursor back as cursor until has_more is false. Fills before March 2025 are served over the API on the Scale and Enterprise plans; recent ones on every plan. The free portal stays open for any period. Start with a free key.
A checklist before you file
- Export every address you traded from: main account, sub-accounts, vaults.
- Cover the whole tax year, from its first day, not from the start of the exchange's recent window.
- Keep funding apart from trading PnL, so each can be treated the way your rules require.
- Keep the CSV files. Each trade carries its transaction hash, so any line can be checked on-chain.
FAQ
How do I export my Hyperliquid trade history? Paste your address in the free Trade Export portal, pick dates back to January 2024 and download the CSV.
Why can't I see my older Hyperliquid trades? Hyperliquid's API returns an account's most recent fills: only the 10,000 most recent are available through userFillsByTime. Older trades are still on-chain, and an indexer like Hypedexer serves them.
Does the trade export include funding payments? No, it lists trades. Funding, deposits, withdrawals and transfers are in the daily statements, from 1 June 2025.
Can I export a wallet that is not mine? Yes. Hyperliquid accounts are public, so any address can be exported, for an accountant, an auditor or a fund.
Is it free? The Trade Export portal is free, with no account. Statements in the app work on the Free plan; the API needs a key, and older periods a paid plan.