Discovery and markets API
Realized-profit trader ranking over the last N days, Solana only
Solana wallets ranked by profit banked by selling over the last 1, 7, 30 or 90 days, with the volume and trading days behind it. Every wallet, not a curated roster.
/api/external/discovery/realized-pnl-leaders-window/{chain}What it returns
Ranks Solana wallets by profit banked by selling within a rolling window of the last days days, highest first. DISTINCT FROM realized-pnl-leaders, which ranks since a fixed epoch (2024-09-01), and from kol-realized-pnl-leaders, which ranks a curated roster of known traders only: this ranking covers every wallet. Each wallet's figures are computed at most daily and can be days or weeks old — asOf says the day they describe, and the window ends there. Only the top 100 are reachable; there is no cursor. A 0 is a real reading, never an absence.
Chains
- Solana SOL
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/discovery/realized-pnl-leaders-window/SOL"
| Parameter | Description |
|---|---|
daysquery · integer · optional | The window, in days: one of 1, 7, 30, 90. Defaults to 30. |
limitquery · integer · optional | How many wallets to return, highest first. Defaults to 25; at most 100. |
chainpath · string · required | Solana only; every other chain returns 400, because the ranking covers Solana wallets only. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
days | integer | The window this ranking covers, in days. |
traders | object[] | Ranked highest realizedUsd first. |
traders[].wallet | string | The wallet address. |
traders[].realizedUsd | number | Profit banked by selling within the window, USD. The field this ranking is sorted by. |
traders[].volumeUsd | number | null | USD traded within the window. |
traders[].tradingDays | integer | null | Days within the window on which the wallet traded. |
traders[].profitableDays | integer | null | Trading days within the window that closed in profit. |
traders[].losingDays | integer | null | Trading days within the window that closed at a loss. |
traders[].asOf | string | null | The day (YYYY-MM-DD) these figures were computed for; the window ends on it. |
traders[].identity | object | null | A public name for the wallet, or null when none is known. |
traders[].identity.name | string | null | |
traders[].identity.twitter | string | null |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key