# BlockRun.AI Polymarket Wallet Activity

> BlockRun.AI Polymarket Wallet Activity 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 wallet data, trading metrics, and activity history for a specified Polymarket prediction market wallet address.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/polymarket/wallet/0x16f91db2592924cfed6e03b7e5cb5bb1e32299e3
- 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-90bd9834
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k-ZoDDUvaNylHvXiO4qce

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-90bd9834
```

Example prompt: Can you pull up the all-time Polymarket trading stats for wallet 0x16f91db2592924cfed6e03b7e5cb5bb1e32299e3 — I want to see their ROI, win rate, total PnL, and trade history?

## When to prefer this

Use this endpoint when you need comprehensive Polymarket-specific trading performance analytics for a single wallet address, including time-windowed breakdowns (1-day, 7-day, all-time), PnL, win rates, and position history. Prefer this over generic on-chain data providers when the specific context is Polymarket prediction market activity.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty data
- Wallet address not found on Polymarket returns zero metrics
- Payment not provided or insufficient USDC triggers 402 Payment Required
- Rate limiting or service unavailability returns 5xx error
- Truncated or partial response if wallet has extremely large trade history

## How this service works

Returns wallet data and activity for a specified Polymarket address.

## Output

Returns a JSON object containing the wallet address and nested metrics broken down by time period (1-day, 7-day, all-time), including ROI, wins, losses, trade count, volume, win rate, fees paid, total PnL, realized PnL, average buy/sell prices, profit factor, max win/loss streaks, total positions, active positions, positions closed, wallet age in days, average hold time in seconds, and best/worst position realized 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-90bd9834/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)
