# ChainHilt Polymarket Positions Lookup

> ChainHilt Polymarket Positions Lookup is a paid API for AI agents from chainhilt.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-16).

Fetches live outcome-token positions on Polymarket for a given wallet address, including size, average/current price, cash PnL, realized PnL, and redeemability status.

## Facts

- Endpoint: GET https://chainhilt.ai/api/v1/predict/polymarket/positions/:address?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainhilt-polymarket-positions-lookup-2567de08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2U91WAyNIGav9B0GwPobB

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 chainhilt-polymarket-positions-lookup-2567de08
```

Example prompt: Can you pull up all my Polymarket positions for wallet 0xAbC1234567890123456789012345678901234567 and show me which ones are redeemable right now along with my PnL?

## When to prefer this

Use this endpoint when you need to inspect current Polymarket outcome-token holdings for a specific wallet — particularly to check redeemability after market resolution or to assess PnL without executing any on-chain action. Prefer this over on-chain queries for speed and structured output. Use sibling endpoints for the actual redemption preparation once redeemable positions are identified.

## Known failure modes

- 400 Bad Request: invalid wallet address format (must be 0x + 40 hex chars) or invalid redeemable filter value
- 502 Bad Gateway: upstream Polymarket venue data feed is unavailable or returned an error
- Truncated results: `truncated: true` in response means more positions exist beyond the page cap — only a subset is returned
- Empty result set: wallet holds no positions or no positions match the applied filter

## How this service works

Held outcome-token positions with PnL and redeemability. Live positions from the venue's public data feed: size, average/current price, cash and realized PnL, and whether each position is redeemable (market resolved). Redemption itself is an on-chain action from the holding wallet; resolved positions redeem to pUSD. `truncated: true` means the upstream page cap was hit and more positions exist. Errors: 400 invalid address or filter, 502 venue failure.

## Output

Returns a list of outcome-token positions for the given wallet, each with: position size, average entry price, current market price, cash PnL, realized PnL, and a boolean indicating whether the position is redeemable (market resolved). Also includes a `truncated` flag if the upstream page cap was hit and more positions exist beyond what was returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "The holding wallet: for deposit-wallet accounts the deposit wallet, not the signer."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "redeemable": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "\"true\" keeps positions in resolved markets (losing outcomes included), \"false\" the rest; omit for all."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainhilt-polymarket-positions-lookup-2567de08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainhilt.ai](https://www.zero.xyz/host/chainhilt.ai/llms.txt)
