# Hyperliquid Trader Leaderboard

> Hyperliquid Trader Leaderboard is a paid API for AI agents from api.companyrecords-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Returns the top-ranked Hyperliquid perpetual futures traders by PnL for a specified time window, with ROI, account value, and trading volume per address.

## Facts

- Endpoint: GET https://api.companyrecords-api.workers.dev/api/b2b/hyperliquid-leaderboard?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-trader-leaderboard-71ec77bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WOFhua_VNjYGBAxe3iFSK

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 hyperliquid-trader-leaderboard-71ec77bb
```

Example prompt: Pull the top 20 Hyperliquid traders from the all-time leaderboard and show me their wallet addresses, PnL, ROI, and account values.

## When to prefer this

Choose this endpoint when you need ranked on-chain trader performance data from Hyperliquid specifically — including PnL, ROI, account value and volume — scoped to a particular time window. It is the right choice for copy-trading research, whale-watching, alpha identification, or any task requiring a leaderboard snapshot of Hyperliquid perpetuals accounts. Prefer alternatives if you need named identities (this returns addresses only), real-time streaming data, or data from other DEX platforms.

## Known failure modes

- First call after cache miss is slow (large source file); agent should handle timeout or retry
- Invalid window value (not day/week/month/allTime) may return an error or default
- Limit out of range (>50 or <1) may return an error or be clamped
- Hyperliquid source data may be temporarily unavailable, resulting in stale or missing data
- Payment failure (x402 protocol) if USDC balance is insufficient

## How this service works

Pay-per-call company registry, government, legal and B2B data tools for AI agents, from official registers and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

A JSON object containing: the time window queried, the source URL, a data freshness timestamp, total number of accounts on the leaderboard, and an array of ranked trader records each with rank, Ethereum address, PnL (in USD), ROI (as a decimal), account value (USD), and trading volume.

## 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",
     "required": [],
     "properties": {
      "limit": {
       "type": "string",
       "description": "Rows to return, 1 to 50 (default 10)"
      },
      "window": {
       "type": "string",
       "description": "day, week, month or allTime (default allTime)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "https://stats-data.hyperliquid.xyz/Mainnet/leaderboard",
  "window": "allTime",
  "results": [
   {
    "pnl": 445038899.665792,
    "roi": 26412.0392558816,
    "rank": 1,
    "volume": 15999.34,
    "ethAddress": "0x4ec8fe22a531a96c8a846aaf5cbef73202649a80",
    "accountValue": 224997145.995792
   },
   {
    "pnl": 373364482.730612,
    "roi": 0.2088728974,
    "rank": 2,
    "volume": 0,
    "ethAddress": "0x393d0b87ed38fc779fd9611144ae649ba6082109",
    "accountValue": 785506325.890612
   }
  ],
  "dataAsOf": "2026-10-23T08:10:12.454Z",
  "checkedAt": "2026-10-23T09:37:40.794Z",
  "totalAccounts": 47610
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-trader-leaderboard-71ec77bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.companyrecords-api.workers.dev](https://www.zero.xyz/host/api.companyrecords-api.workers.dev/llms.txt)
