Birdeye Gainers Losers
birdeye_gainers_losersTop trader gainers/losers. Returns the ranked list of wallets by realized/unrealized PnL over a time window (yesterday/today/1W/30d/90d). Example: birdeye_gainers_losers({ type: "1W", sort_by: "PnL", chain: "solana", _apiKey: "your-key" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Time window for PnL ranking: "yesterday", "today", "1W", "30d", or "90d". Defaults to "1W". | |
| chain | No | Blockchain to query (sent as the x-chain header). Defaults to "solana". | |
| limit | No | Number of traders to return (1–50, default 20). | |
| _apiKey | Yes | Birdeye API key (get one at birdeye.so; limited free tier). | |
| sort_by | No | Ranking metric: "PnL", "realized_pnl", or "unrealized_pnl". Defaults to "PnL". | |
| sort_type | No | "desc" (top gainers, default) or "asc" (top losers). |