Hyperfolio
Guide

How to Export Hyperliquid Trade History (CSV) in 2026

Export your full Hyperliquid trade history for taxes: app CSV, API pagination, limits and the zero-export alternative — free with Hyperfolio, no signup.

August 15, 20268 min

How to Export Hyperliquid Trade History (CSV) for Taxes and Analysis

Quick answer: you don't need a paid service to export your Hyperliquid trade history. The exchange's public API returns every fill, funding payment and transfer for any wallet, and the app's History tab includes CSV export buttons for recent trades and funding. The catch: the UI only exports what it has loaded, and the API caps responses at 2,000 records per call. If you want your complete history without writing code, Hyperfolio shows the full PnL, fees and funding breakdown of any Hyperliquid address instantly — free and with no registration.

Tax season is coming, your accountant just asked for "your Hyperliquid statements", and you have 4,000 trades scattered across perps, spot and a wallet you barely remember. You open the app, click export, and get a CSV that covers… a couple of months. Somewhere in that gap, your real PnL is hiding.

Exporting Hyperliquid trade history is the most underrated pain in perp trading. The exchange is transparent — every fill, funding payment, deposit and withdrawal is public on-chain data — but getting it into a clean, complete file is a different story. This guide walks through every method that works in 2026: the app's CSV export and its limits, the API endpoints that return everything, third-party exporters, and the zero-export alternative that makes the whole problem disappear.

Why You Need Your Full Hyperliquid History

Your Hyperliquid account history is not just a record of trades. For taxes, for performance analysis and for honest self-assessment, you need four separate streams of data:

  • Fills: every executed trade with price, size, side, timestamp and the fee paid.
  • Funding payments: the periodic payments between longs and shorts — taxable income in most jurisdictions.
  • Deposits and withdrawals: the money that moved in and out of the exchange.
  • Closed PnL: what each position actually made after fees, not what the chart showed.

Miss any of these and your tax report is wrong. Funding alone can swing a yearly PnL by thousands of dollars for an active trader, and tax authorities in the US, UK, Spain, Germany and Australia all treat perp funding as reportable income. The complete Hyperliquid tax guide covers how to report each stream; this guide covers how to get the data out in the first place.

Method 1: Export from the Hyperliquid App (Fast, but Limited)

The official app at app.hyperliquid.xyz includes CSV export buttons in your portfolio's History section. Open Portfolio → History, and you'll find export options for your trades and your funding history.

It works, and it's genuinely useful for a quick look. But the limitation is structural: the app only exports the records currently loaded in the interface. You have to scroll back through your history to load more, and for high-frequency traders with thousands of fills, that's impractical. The official UI does not offer a "download everything since day one" button.

Takeaway: the built-in CSV export is fine for recent activity, but it is not a full-history solution.

Method 2: Pull Everything with the Public API

Hyperliquid exposes all account data through a public, unauthenticated endpoint: POST https://api.hyperliquid.xyz/info. You only need the wallet address — no API key, no signature. The three calls that matter:

  • {"type":"userFills","user":"0x…"} — the most recent fills, up to 2,000 records.
  • {"type":"userFillsByTime","user":"0x…","startTime":…,"endTime":…} — fills inside a time window, so you can paginate through years of history in 2,000-record chunks.
  • {"type":"userFunding","user":"0x…"} — funding payments (up to 500 per call, paginate with the same pattern).
  • {"type":"userNonFundingLedgerUpdates","user":"0x…"} — deposits, withdrawals and internal transfers.

A minimal Python loop that walks through all your fills looks like this:

import requests, time

addr = "0xYOUR_WALLET"
end = int(time.time() * 1000)
start = 0
while end > start:
    r = requests.post("https://api.hyperliquid.xyz/info", json={
        "type": "userFillsByTime", "user": addr,
        "startTime": start, "endTime": end
    }).json()
    if not r: break
    for fill in r: print(fill["time"], fill["coin"], fill["side"], fill["px"], fill["sz"], fill["fee"], fill.get("closedPnl"))
    end = min(f["time"] for f in r) - 1
    time.sleep(0.2)

Each fill record includes the fields tax tools need: timestamp, coin, side, price, size, fee and the closed PnL of the position it closed. The full developer walkthrough — WebSocket streams, rate limits and error handling — is in our Hyperliquid API Python guide.

Takeaway: the API returns everything, but you are building and maintaining the exporter. If you just want the answer, skip ahead.

Method 3: Third-Party Exporters

Because the API route is fiddly, third-party tools have appeared that automate the pagination. The best known is trade-export.hypedexer.com, a tool linked from the official Hyperliquid documentation that connects your wallet and dumps your complete history as CSV or JSON with no record limits. It is third-party and independently maintained, so use it at your own risk — but it works for one-time full exports.

Other tax platforms (CoinTracking, Cryptact, TradingAtlas) also accept Hyperliquid CSVs directly, which covers the tax-reporting half of the problem once you have the file.

Export Methods Compared

MethodWhat you getHistory coverageEffortPriceBest for
App CSV exportTrades + funding CSVOnly what the UI loaded (recent)LowFreeQuick recent look
Public API (manual)All fills, funding, transfersFull, paginated (2,000/call)High — requires codeFreeDevelopers and automation
Third-party exporterFull CSV / JSON dumpFull historyMediumFree (third-party)One-time complete export
HyperfolioPnL, fees and funding breakdown, multi-venueFull history, any wallet, no export neededZeroFree, no signupTraders who want answers, not files

The pattern is clear: the more complete the data, the more work it takes — except for the last row. Hyperfolio reads the same public data and turns it into a readable PnL breakdown: realized and unrealized PnL, fees paid, funding received or paid, per wallet and per venue, with smart-money signals on top.

What a Complete Export Must Include

Before you hand any file to a tax tool or an accountant, check it against this list:

  • All fills, not just the most recent window — including closed PnL per position.
  • All funding payments, with timestamps and amounts. These are income events.
  • Deposits and withdrawals — needed to reconcile cost basis and prove where funds came from.
  • Fees — taker and maker fees reduce your taxable gain and are often deductible.
  • Liquidations — a liquidation is a disposal, i.e. a taxable event, not just a loss.
  • Airdrop events — the HYPE genesis airdrop (November 2024) is taxed as income in many countries at its fair market value.

Common Mistakes When Exporting Hyperliquid Data

These are the errors we see most often, and they are exactly what skews tax reports and PnL analysis:

  • Exporting only fills. Funding is a separate stream; skip it and your cost basis is wrong.
  • Trusting the UI export for full history. It reflects only loaded records.
  • Ignoring the 2,000-record API cap. A single userFills call silently truncates; you must paginate with userFillsByTime.
  • Forgetting the other venues. If you trade on AsterDEX or other Hyperliquid-based venues, that PnL lives in the same ecosystem but in different dashboards.
  • Mixing spot and perp without labels. Most tax tools need to know which is which.

The Zero-Export Alternative: Just Look It Up

Here is the honest question: do you actually need a file, or do you need the numbers? If the goal is knowing your real PnL — what you made after fees and funding, per wallet, per venue — exporting is a means to an end that Hyperfolio skips entirely. Paste any Hyperliquid address, or connect your wallet, and the breakdown is already there: realized PnL, fees, funding, positions and smart-money flow, all from the same public data the exporters read.

No CSV wrangling, no pagination loops, no waiting for a third-party server. It works in seconds, it costs nothing, and there is no account to create — that is the whole point.

FAQ

Can I download my full Hyperliquid trade history as CSV?

Yes, but not in one click. The app exports only loaded records; for complete history you must paginate the public API (userFillsByTime) or use a third-party exporter like trade-export.hypedexer.com.

Does Hyperliquid have an API to get trade history?

Yes. POST to https://api.hyperliquid.xyz/info with type: "userFills" (recent, up to 2,000) or type: "userFillsByTime" (time-windowed pagination). Funding and transfers have their own types: userFunding and userNonFundingLedgerUpdates.

Is funding from Hyperliquid taxable?

In most jurisdictions, yes. Funding payments received are treated as income and funding paid reduces your gains. Your tax report needs the funding stream separate from fills — see the Hyperliquid tax guide for country details.

How far back does Hyperliquid trade history go?

Hyperliquid stores the full history of every account on-chain. There is no time limit on the data itself — only on how much a single API call returns (2,000 fills) and on what the UI loads.

What is the easiest way to see my Hyperliquid PnL without exporting?

Use a read-only tracker: search any wallet on Hyperfolio and you get realized PnL, fees and funding broken down instantly — free, no registration, nothing to download.

Stop Exporting, Start Knowing

Your trade history is public. Your PnL should be too — at least to you. Whether you export CSVs for your accountant or skip the whole process, the data is one address away. Try the free tracker now: connect your wallet or search any Hyperliquid address and see your full PnL breakdown in seconds, with no signup and no export files to manage.

Try Hyperfolio for free

Track your Hyperliquid portfolio in real time with PnL, Smart Money, Markets, Perp Calculator, multi-venue portfolio and push alerts.

HYPERLIQUID

-4% fees

Trade on Hyperliquid · 4% off fees

Hyperfolio is an independent app — no ads, no commissions, no sponsors. Referrals are our only funding; we truly appreciate you trading through our link.

Use referral

Free for you · keeps Hyperfolio running

Related articles