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.

GET/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"
Parameters
ParameterDescription
days

query · integer · optional

The window, in days: one of 1, 7, 30, 90. Defaults to 30.
limit

query · integer · optional

How many wallets to return, highest first. Defaults to 25; at most 100.
chain

path · 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.

Response fields of Realized-profit trader ranking over the last N days, Solana only
FieldTypeDescription
daysintegerThe window this ranking covers, in days.
tradersobject[]Ranked highest realizedUsd first.
traders[].walletstringThe wallet address.
traders[].realizedUsdnumberProfit banked by selling within the window, USD. The field this ranking is sorted by.
traders[].volumeUsdnumber | nullUSD traded within the window.
traders[].tradingDaysinteger | nullDays within the window on which the wallet traded.
traders[].profitableDaysinteger | nullTrading days within the window that closed in profit.
traders[].losingDaysinteger | nullTrading days within the window that closed at a loss.
traders[].asOfstring | nullThe day (YYYY-MM-DD) these figures were computed for; the window ends on it.
traders[].identityobject | nullA public name for the wallet, or null when none is known.
traders[].identity.namestring | null
traders[].identity.twitterstring | 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