birdeye_gainers_losers
Pack: birdeye · Endpoint: https://gateway.pipeworx.io/birdeye/mcp
Top 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” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | string | no | Time window for PnL ranking: “yesterday”, “today”, “1W”, “30d”, or “90d”. Defaults to “1W”. |
sort_by | string | no | Ranking metric: “PnL”, “realized_pnl”, or “unrealized_pnl”. Defaults to “PnL”. |
sort_type | string | no | ”desc” (top gainers, default) or “asc” (top losers). |
limit | number | no | Number of traders to return (1–${MAX_ITEMS}, default 20). |
chain | string | no | Blockchain to query (sent as the x-chain header). Defaults to “solana”. |
_apiKey | string | yes | Birdeye API key (get one at birdeye.so; limited free tier). |
Example call
Arguments
{
"type": "1W",
"sort_by": "PnL",
"sort_type": "desc",
"limit": 20,
"chain": "solana",
"_apiKey": "your-birdeye-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/birdeye/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"birdeye_gainers_losers","arguments":{"type":"1W","sort_by":"PnL","sort_type":"desc","limit":20,"chain":"solana","_apiKey":"your-birdeye-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('birdeye_gainers_losers', {
"type": "1W",
"sort_by": "PnL",
"sort_type": "desc",
"limit": 20,
"chain": "solana",
"_apiKey": "your-birdeye-api-key"
});
More examples
{
"type": "30d",
"sort_by": "realized_pnl",
"sort_type": "asc",
"_apiKey": "your-birdeye-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"birdeye": {
"url": "https://gateway.pipeworx.io/birdeye/mcp"
}
}
}
See Getting Started for client-specific install steps.