Get a user's PnL series
get_user_pnlRetrieve a Polymarket wallet's cumulative profit-and-loss over time, with the all-in economic figure and latest rebate, reward, and fee breakdown.
Instructions
A wallet's cumulative PnL over time, with the full breakdown (rebates, rewards, fees) of the latest point. economic_pnl is the all-in figure.
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": {
"user": "<user>"
},
"name": "get_user_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Polymarket wallet (proxy) address. | |
| fidelity | No | 1d | |
| interval | No | 1m | |
| max_points | No | Downsample to this many. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latest | No | ||
| points | Yes | ||
| wallet | Yes | ||
| fidelity | No | ||
| interval | No | ||
| change_economic_pnl | No |