# BlockRun.AI Polymarket Wallet Performance Analytics

> BlockRun.AI Polymarket Wallet Performance Analytics is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Returns comprehensive Polymarket trading performance analytics for a given wallet address, including PnL, ROI, win/loss metrics, trade counts, volume, and account age across multiple time windows.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/polymarket/wallet/0xdb27bf2ac5d428a9c63dbc914611036855a6c56e?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-0ba70f66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P_FVhyfNVpIGMlP3OXteX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockrun-ai-0ba70f66
```

Example prompt: Pull up the full Polymarket trading stats for wallet 0xdb27bf2ac5d428a9c63dbc914611036855a6c56e — I want to see their all-time ROI, win rate, total PnL, and how long they've been trading.

## When to prefer this

Use this endpoint when you need deep, time-windowed trading performance analytics for a specific Polymarket wallet — including PnL, ROI, win rates, profit factor, and hold time statistics. Prefer this over simpler wallet lookup endpoints when the goal is trader evaluation, leaderboard comparison, or due diligence on a prediction market participant.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Wallet has no Polymarket activity — returns zero or null metrics
- Upstream Polymarket data unavailable causing stale or missing time-bucket data
- Rate limiting or payment failure (x402) if USDC balance is insufficient
- Network timeout for wallets with very high trade counts

## How this service works

Returns detailed Polymarket wallet performance analytics for a given wallet address, including realized and unrealized PnL, volume, ROI, trade counts, win/loss metrics, trading style, and account age. Useful for evaluating a trader’s activity and results.

## Output

A structured JSON object containing the wallet address and time-bucketed performance metrics (1-day, 7-day, all-time) including: realized and unrealized PnL, total PnL, ROI, volume, trade count, wins, losses, win rate, fees paid, profit factor, average buy/sell prices, max win/loss streaks, total and active positions, positions closed, average hold time in seconds, wallet age in days, and best/worst single position PnL.

## Example request

```json
{
 "input": {
  "body": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "user",
  "metrics",
  "total_pnl",
  "entry_edge",
  "computed_at",
  "last_trade_at",
  "first_trade_at",
  "trading_styles",
  "unrealized_pnl"
 ],
 "properties": {
  "user": {
   "type": "string"
  },
  "metrics": {
   "type": "object",
   "required": [
    "one_day",
    "all_time",
    "seven_day",
    "thirty_day"
   ],
   "properties": {
    "one_day": {
     "type": "object",
     "required": [
      "roi",
      "wins",
      "losses",
      "trades",
      "volume",
      "win_rate",
      "fees_paid",
      "total_pnl",
      "realized_pnl",
      "avg_buy_price",
      "fees_refunded",
      "profit_factor",
      "avg_sell_price",
      "positions_closed"
     ],
     "properties": {
      "roi": {
       "type": "number"
      },
      "wins": {
       "type": "number"
      },
      "losses": {
       "type": "number"
      },
      "trades": {
       "type": "number"
      },
      "volume": {
       "type": "number"
      },
      "win_rate": {
       "type": "number"
      },
      "fees_paid": {
       "type": "number"
      },
      "total_pnl": {
       "type": "number"
      },
      "realized_pnl": {
       "type": "number"
      },
      "avg_buy_price": {
       "type": "null"
      },
      "fees_refunded": {
       "type": "number"
      },
      "profit_factor": {
       "type": "number"
      },
      "avg_sell_price": {
       "type": "null"
      },
      "positions_closed": {
       "type": "number"
      }
     }
    },
    "all_time": {
     "type": "object",
     "required": [
      "roi",
      "wins",
      "losses",
      "trades",
      "volume",
      "win_rate",
      "fees_paid",
      "total_pnl",
      "realized_pnl",
      "avg_buy_price",
      "fees_refunded",
      "profit_factor",
      "avg_sell_price",
      "max_win_streak",
      "max_loss_streak",
      "total_positions",
      "wallet_age_days",
      "active_positions",
      "positions_closed",
      "avg_hold_time_seconds",
      "best_position_realized_pnl",
      "worst_position_realized_pnl"
     ],
     "properties": {
      "roi": {
       "type": "number"
      },
      "wins": {
       "type": "number"
      },
      "losses": {
       "type": "number"
      },
      "trades": {
       "type": "number"
      },
      "volume": {
       "type": "number"
      },
      "win_rate": {
       "type": "number"
      },
      "fees_paid": {
       "type": "number"
      },
      "total_pnl": {
       "type": "n
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-ai-0ba70f66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
