# Ironflow Hyperliquid Trader PnL Leaderboard

> Ironflow Hyperliquid Trader PnL Leaderboard is a paid API for AI agents from api.ironflow.sh, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Returns a ranked leaderboard of Hyperliquid wallet addresses by realized PnL, losses, or volume over a custom time window, with win rate, fill counts, maker share, markets traded, and max drawdown.

## Facts

- Endpoint: GET https://api.ironflow.sh/x402/v1/analytics/leaderboard-pnl?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ironflow-hyperliquid-trader-pnl-leaderboard-08439a5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bh6vjLUxexr7k6dgn1IBa

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ironflow-hyperliquid-trader-pnl-leaderboard-08439a5f
```

Example prompt: Pull the top 20 Hyperliquid wallets ranked by realized PnL over the last 7 days — I want to see their win rates, fill counts, and max drawdown so I can figure out which ones are worth copying.

## When to prefer this

Use this endpoint when you need a ranked leaderboard of Hyperliquid traders computed from actual on-chain fills — ideal for copy trading research, smart money identification, or competitive analysis. Prefer this over generic DeFi analytics tools when the target is specifically Hyperliquid perp traders and you need composite metrics like win rate, maker share, and max drawdown in a single call.

## Known failure modes

- INVALID_PARAMETER: malformed from/to timestamps or unsupported sort_by value returns an error object
- HISTORY_OUT_OF_RANGE: requesting data older than one year returns an out-of-range error
- QUERY_WINDOW_EXCEEDED: time window too large for a single query returns a window-exceeded error
- RATE_LIMIT_EXCEEDED: too many requests in a short period returns a rate-limit error
- Payment not received or insufficient USDC balance returns HTTP 402

## How this service works

Hyperliquid trader PnL leaderboard computed from every fill: wallets ranked by realized PnL, biggest losses or volume over a window, with win rate, fills, maker share, markets traded and max drawdown. Use it to find top traders and smart money wallets on Hyperliquid to study, follow or copy.

## Output

A JSON array of wallet objects ranked by the chosen metric, each containing: wallet address, realized PnL in USD, wins, losses, win rate, total fill count, maker fill percentage, traded volume in USD, number of distinct markets traded, and max drawdown as a fraction — plus the queried from/to timestamps in Unix milliseconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "End: Unix ms, ISO 8601, relative (-1h) or now (default)"
      },
      "from": {
       "type": "string",
       "description": "Start: Unix ms, ISO 8601, or relative (-7d, now-24h); up to 14 days back"
      },
      "limit": {
       "type": "string",
       "description": "Wallets to return"
      },
      "sort_by": {
       "enum": [
        "realized_pnl",
        "loss",
        "volume"
       ],
       "type": "string",
       "description": "Ranking (default realized_pnl)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": "integer",
       "description": "Unix time in milliseconds"
      },
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "wins": {
          "type": "integer",
          "description": "Profitable closing fills"
         },
         "fills": {
          "type": "integer",
          "description": "Fills"
         },
         "losses": {
          "type": "integer",
          "description": "Losing closing fills"
         },
         "address": {
          "type": "string",
          "description": "Wallet address"
         },
         "win_rate": {
          "type": "number",
          "description": "wins / (wins + losses)"
         },
         "pct_maker": {
          "type": "number",
          "description": "Share of fills as maker"
         },
         "volume_usd": {
          "type": "number",
          "description": "Traded volume, USD"
         },
         "realized_pnl": {
          "type": "number",
          "description": "Realized PnL in the window, USD"
         },
         "markets_count": {
          "type": "integer",
          "description": "Markets traded"
         },
         "max_drawdown_pct": {
          "type": "n
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ironflow-hyperliquid-trader-pnl-leaderboard-08439a5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ironflow.sh](https://www.zero.xyz/host/api.ironflow.sh/llms.txt)
