# BlockRun.AI Polymarket Wallet Analytics

> BlockRun.AI Polymarket Wallet Analytics 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 Polymarket trading analytics for a given wallet address, including PnL, volume, trade count, win rate, position counts, and inferred trading style across multiple time horizons.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/polymarket/wallet/0x9174e9bFF176285E9B77022eC2e4007904495280
- 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-07ab1a43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4p3S6UUhlZI08lqnq5h_p

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-07ab1a43
```

Example prompt: Pull up the Polymarket trading analytics for wallet 0x9174e9bFF176285E9B77022eC2e4007904495280 — I want to see their all-time PnL, win rate, trade volume, and what kind of trader they are.

## When to prefer this

Use this endpoint when you need structured trading performance analytics for a specific Polymarket wallet, especially when you want multi-period breakdowns (1-day, 7-day, all-time), inferred trading style, and fee tracking. Prefer this over generic on-chain data tools when the query is specifically about Polymarket prediction market activity.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty metrics
- Wallet has never traded on Polymarket returns zero values across all metrics
- Network or upstream Polymarket API unavailability causes 5xx errors
- Payment not included or insufficient USDC results in 402 Payment Required
- Rate limiting may occur if called too frequently

## How this service works

Returns Polymarket trading analytics for a wallet address, including PnL, volume, trades, win rate, position counts, and inferred trading style.

## Output

A JSON object containing the wallet address and a metrics object broken down by time period (1-day, 7-day, all-time), each with ROI, wins, losses, trades, volume, win rate, fees paid, total PnL, realized PnL, average buy/sell prices, positions closed/active, profit factor, best/worst position PnL, average hold time, and wallet age in days.

## 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-07ab1a43/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)
