get_market_positions
Retrieve top positions and P&L for a Polymarket outcome token. Sort by realized or unrealized profit, or value bought, to identify largest holders and their performance.
Instructions
Get the top positions for a specific market token from the Beefy P&L subgraph. Shows who holds the largest positions and their P&L.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenId": "<tokenId>"
},
"name": "get_market_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | No | Number of positions to return | |
| orderBy | No | Field to sort by | valueBought |
| tokenId | Yes | The outcome token ID — same value as clobTokenIds from search_markets/get_market_info, token_id from get_clob_market, or makerAssetId/takerAssetId from get_orderbook_trades |