# Arkham x402 Polymarket Wallet Portfolio Summary

> Arkham x402 Polymarket Wallet Portfolio Summary is a paid API for AI agents from api.arkm.com, paid per call via x402, $0.4/call, status unknown (last checked 2026-09-15).

Returns a summary of a wallet's Polymarket portfolio including open positions, unrealized PnL, and open position value.

## Facts

- Endpoint: POST https://api.arkm.com/x402/polymarket/wallet/summary/portfolio
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arkham-x402-polymarket-wallet-portfolio-summary-f5538b81
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kMD4NMQwJc2-XxUfrD52A

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 arkham-x402-polymarket-wallet-portfolio-summary-f5538b81 -d '<json body>'
```

Example prompt: Pull up the Polymarket portfolio summary for wallet 0xBDDF61Af533fF524D27154e589d2D7A81510C684 — I want to see how many open positions they have, their total open position value, and their unrealized PnL.

## When to prefer this

Use this endpoint when you need a quick, structured portfolio snapshot of any Polymarket wallet — especially for on-chain intelligence tasks like tracking whale traders, assessing prediction market exposure, or building dashboards. Prefer it over scraping Polymarket's UI or using generic blockchain explorers, as it provides pre-computed PnL and position aggregates specific to Polymarket.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Wallet has no Polymarket activity returns zeroed or empty fields
- Payment failure via x402 results in 402 Payment Required response
- Rate limiting or quota exhaustion may block repeated calls
- Network timeout if Arkham backend is slow to respond

## How this service works

Get Arkham Polymarket wallet portfolio summary. $0.40 per call.

## Output

Returns a JSON object with the wallet address, number of open markets, number of open positions, total open position value in USD, and unrealized PnL in USD for the queried Polymarket wallet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "addr": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "number"
    },
    {
     "type": "boolean"
    },
    {
     "type": "array",
     "items": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "number"
       },
       {
        "type": "boolean"
       }
      ]
     }
    }
   ],
   "description": "Required. Polymarket trade address (0x + 40 hex chars)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "openMarkets": 5,
  "userAddress": "0xBDDF61Af533fF524D27154e589d2D7A81510C684",
  "openPositions": 5,
  "unrealizedPnl": "3607.967980369",
  "openPositionValue": "80814.455545369"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/arkham-x402-polymarket-wallet-portfolio-summary-f5538b81/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.arkm.com](https://www.zero.xyz/host/api.arkm.com/llms.txt)
