Perpetuals API

Perpetual-futures trading accounts, ranked

Trading accounts on the perpetual-futures venue, ranked. An ACCOUNT is an address with no chain attached — a derivatives account, not an on-chain wallet with token balances.

GET/api/external/perps/perps-traders

What it returns

Ranks trading accounts on the leveraged derivatives venue this family covers — equity, PnL, win rate, volume, funding paid/received, over 29 sortable fields. No chain and no token/wallet subject in the request: address, on any row, is a trading-account address on that venue, never a wallet on any of this API's six chains.

Chains

This endpoint is not tied to a chain: it takes no chain in its request.

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/perps/perps-traders"
Parameters
ParameterDescription
last_trade_duration

query · string · optional

Only rank accounts whose most recent trade falls within this window. Defaults to "all".1d7d30d90dall
sort_by

query · string · optional

Which of the 29 published metrics to rank by. Defaults to lifetime total PnL.perp_equitylong_valueshort_valueunrealized_pnlorder_countorder_count_90dwinwin_90dlossloss_90dvolume_usdvolume_90d_usdopen_volume_usdopen_volume_90d_usdrealized_pnlrealized_pnl_90dfunding_feefunding_fee_90dfirst_tradelast_tradewin_ratewin_rate_90dopen_valuetotal_pnltotal_pnl_90droeroiroi_90dbiasleverage
sort_type

query · string · optional

Sort direction. Defaults to descending.ascdesc
offset

query · integer · optional

0-based row offset.
limit

query · integer · optional

How many rows to return. Defaults to 10; this endpoint caps it at 20.

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of Perpetual-futures trading accounts, ranked
FieldTypeDescription
tradersobject[]
traders[].traderstring | nullThe trading-account address ranked in this row.
traders[].equityUsdnumber | nullCurrent total perp equity, USD.
traders[].longValueUsdnumber | nullTotal notional value of open long positions, USD.
traders[].shortValueUsdnumber | nullTotal notional value of open short positions, USD.
traders[].unrealizedPnlUsdnumber | nullCurrent unrealized profit and loss across open positions, USD.
traders[].orderCountnumber | nullLifetime number of orders/fills tracked for this account.
traders[].orderCount90dnumber | nullOrders/fills recorded during the last 90 days.
traders[].winsnumber | nullLifetime number of profitable realized trades or position outcomes.
traders[].wins90dnumber | nullProfitable realized outcomes during the last 90 days.
traders[].lossesnumber | nullLifetime number of losing realized trades or position outcomes.
traders[].losses90dnumber | nullLosing realized outcomes during the last 90 days.
traders[].volumeUsdnumber | nullLifetime trading volume, USD.
traders[].volume90dUsdnumber | nullTrading volume during the last 90 days, USD.
traders[].openVolumeUsdnumber | nullLifetime USD notional value of currently open positions.
traders[].openVolume90dUsdnumber | nullUSD notional value of positions opened during the last 90 days.
traders[].realizedPnlUsdnumber | nullLifetime realized profit and loss, USD.
traders[].realizedPnl90dUsdnumber | nullRealized profit and loss during the last 90 days, USD.
traders[].fundingFeeUsdnumber | nullLifetime net funding paid or received, USD.
traders[].fundingFee90dUsdnumber | nullNet funding paid or received during the last 90 days, USD.
traders[].firstTradeAtnumber | nullUnix seconds of this account's first recorded trade.
traders[].lastTradeAtnumber | nullUnix seconds of this account's most recent recorded trade.
traders[].openValueUsdnumber | nullCurrent total notional value of all open positions, USD.
traders[].totalPnlUsdnumber | nullLifetime total PnL, realized plus unrealized, USD.
traders[].totalPnl90dUsdnumber | nullTotal PnL during the last 90 days, USD.
traders[].winRatenumber | nullLifetime win rate across realized outcomes, 0-1.
traders[].winRate90dnumber | nullWin rate during the last 90 days, 0-1.
traders[].roenumber | nullAggregate return on equity for this account's activity.
traders[].roinumber | nullAggregate return on invested capital across this account's activity.
traders[].roi90dnumber | nullReturn on invested capital during the last 90 days.
traders[].biasnumber | nullNet directional bias between long and short positioning. Positive = long skew; negative = short skew.
traders[].leveragenumber | nullAggregate effective leverage across open positions.
traders[].biasTextstring | nullHuman-readable interpretation of bias, e.g. "Very Bearish".

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