Closed Trades
/hyperliquid/tradesReturns a wallet's closed round-trip trades — one row per open→close position lifecycle, with realized per-trade P&L (gross, net = gross − fees, fees, and funding_pnl as a separate field that net EXCLUDES), entry/exit price, size, and hold time.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- AddressNeededWallet address: a 0x EVM address or an ENS name (e.g. vitalik.eth). Solana addresses are not supported.
- FromOptionalWindow start: Unix seconds, an ISO datetime (2026-03-01T12:00:00Z), or a bare date (= midnight UTC). Omit for the full history. Example: 2026-03-01.
- ToOptionalWindow end, inclusive: Unix seconds, an ISO datetime, or a bare date — a bare date means the END of that UTC day, so from=X&to=X covers the whole day X. Defaul…
- CursorOptionalOpaque continuation token from a previous response's meta.next_cursor. It encodes the window, position, and address, so pass it with only address + limit — and…
- LimitOptionalPage size (1-100). Defaults to 20.Like
20
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@surf:/hyperliquid/tradesTopics
Derivatives & PerpsMore from Surf
All 105Bridge Protocol RankingList bridge protocols ranked by USD volume over a time range.2 credits a callToken DEX Trade HistoryReturns recent DEX swap events for a token contract address.4 credits a callKalshi TradesReturns individual trade records for a Kalshi market.4 credits a callExchange Trading PairsReturns trading pairs available on an exchange.1 credit a callToken Unlock ScheduleReturns token unlock time-series with cumulative amounts, allocation breakdowns, total supply denominator, and unlocked-supply percentage.2 credits a callKalshi Open Interest HistoryDaily open interest time series for a Kalshi market.4 credits a call