# BlockRun.AI Polymarket Wallet Performance Metrics

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

Returns comprehensive trading performance metrics and style classification for a specific Polymarket wallet address, including PnL, ROI, win rate, trade volume, and position history.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/polymarket/wallet/0x17db3fcd93ba12d38382a0cade24b200185c5f6d
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-f4438bd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B1pS5l7JjyB9nU_3pYFdH

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-f4438bd7
```

Example prompt: Can you pull up the full trading performance stats for Polymarket wallet 0x17db3fcd93ba12d38382a0cade24b200185c5f6d — I want to see their all-time ROI, win rate, PnL, and how many positions they've held?

## When to prefer this

Use this endpoint when you need a comprehensive, pre-computed performance profile for a specific Polymarket trader — including style classification and multi-period breakdown — rather than raw position or order data. Ideal for evaluating trader quality, copy-trading analysis, or leaderboard ranking. Prefer over raw position endpoints when you need aggregated stats like profit factor, win streaks, or ROI in a single call.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty metrics
- Wallet address not found on Polymarket returns zero values across all metrics
- Short time-window metrics (1-day, 7-day) return zeros if no recent activity
- Network or upstream data provider outage returns HTTP 5xx
- Insufficient payment (x402) causes request rejection with 402 status

## How this service works

Returns trading performance metrics and style classification for a Polymarket wallet, including PnL, volume, ROI, win rate, positions, and recent activity.

## Output

Returns a JSON object containing the wallet address and a metrics object broken down by time period (1-day, 7-day, all-time). All-time metrics include: ROI, total PnL, realized PnL, trade count, volume, wins, losses, win rate, profit factor, avg buy/sell price, max win/loss streak, total and active positions, wallet age in days, average hold time, 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-f4438bd7/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)
