Get Hyperliquid Perp PnL Summary
Get aggregate realized PnL statistics for a Hyperliquid perpetual trader over a date range. Returns total realized PnL, closing-notional return, fees, trade counts, win rate, and top coins.
What it helps to answer:
What is the total realized PnL for a Hyperliquid trader over a time period?
What is the win rate based on closing trades?
Which perp coins are the most profitable for this trader?
Note: This endpoint covers realized PnL only. For current unrealized PnL and open positions, use the profiler/perp-positions endpoint.
API key for authentication
Request model for the Hyperliquid perp PnL summary endpoint.
Hyperliquid wallet address in 42-character hexadecimal format
0x47f5a6397b79deaaca5c456503e7c1a49357b942Hyperliquid perp PnL summary data
Bad Request
Unauthorized
Payment Required
Forbidden
Not Found
Unprocessable Content
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout
POST /api/v1/profiler/perp-pnl-summary HTTP/1.1
Host: api.nansen.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 123
{
"address": "0x47f5a6397b79deaaca5c456503e7c1a49357b942",
"date": {
"from": "2026-04-30T00:00:00Z",
"to": "2026-07-29T23:59:59Z"
}
}{
"data": {
"top5_coins": [
{
"coin": "text",
"realized_pnl_usd": 1,
"realized_roi": 1,
"closed_trade_count": 1,
"fees_usd": 1
}
],
"traded_coin_count": 1,
"traded_times": 1,
"closed_trade_count": 1,
"winning_trade_count": 1,
"realized_pnl_usd": 1,
"realized_pnl_percent": 1,
"win_rate": 1,
"fees_usd": 1
}
}Last updated
Was this helpful?