# ChainHilt Polymarket Activity Feed

> ChainHilt Polymarket Activity Feed 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 paginated on-chain trading activity (buys, sells, trades) for a given Ethereum address on Polymarket prediction markets.

## Facts

- Endpoint: GET https://chainhilt.ai/api/v1/predict/polymarket/activity/%7Baddress%7D?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-activity-feed-caf42366
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LLdYG-5EctUdxymVSoqx9

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-activity-feed-caf42366
```

Example prompt: Pull up all the buy trades for Polymarket wallet 0xd9f530D88C105B1bf8cB5DfC68778C5987839D17 — show me the most recent 50, filtered to buys only.

## When to prefer this

Use this endpoint when you need to retrieve historical or recent on-chain trading activity for a specific Ethereum wallet on Polymarket. It is ideal for portfolio analysis, trader research, auditing position history, or monitoring activity on a specific prediction market condition. Prefer this over general blockchain explorers when you need Polymarket-specific metadata like market titles, outcomes, and collateral details already decoded.

## Known failure modes

- Invalid Ethereum address format (not matching ^0x[a-fA-F0-9]{40}$) returns 400
- Address with no Polymarket activity returns empty activity array
- Invalid conditionId filter returns empty or error response
- Pagination cursor mismatch or expiry may return 400 or unexpected results
- Network or upstream Polymarket API unavailability may return 5xx
- Payment not completed via x402 protocol returns 402 Payment Required

## How this service works

Discover, pay for, and execute the on-chain actions your agent needs. No API keys. Compatible with x402. Your wallet stays local.

## Output

Returns a paginated list of on-chain Polymarket activity records for the given address. Each record includes the trade side (buy/sell), size, price, market title, outcome, token ID, timestamp, transaction hash, collateral asset and amount, condition ID, venue, and account. Also returns a nextCursor for pagination and an observedAt timestamp.

## 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": {
      "end": {
       "type": "string",
       "description": "ISO 8601: only activity at or before this time."
      },
      "side": {
       "enum": [
        "buy",
        "sell"
       ],
       "type": "string",
       "description": "Only trades on this side."
      },
      "type": {
       "type": "string",
       "description": "Comma-separated activity kinds (TRADE, REDEEM, SPLIT, MERGE, CONVERSION, REWARD, DEPOSIT, WITHDRAWAL, MAKER_REBATE, TAKER_REBATE, REFERRAL_REWARD, YIELD, MIGRATION, TIP); DEPOSIT and WITHDRAWAL appear only when named."
      },
      "limit": {
       "type": "integer",
       "default": 100,
       "maximum": 1000,
       "minimum": 1,
       "description": "Rows per page (1-1000, default 100)."
      },
      "start": {
       "type": "string",
       "description": "ISO 8601: only activity at or after this time."
      },
      "cursor": {
       "type": "string",
       "minLength": 1,
       "description": "The previous page's `nextCursor`; send it with the same filters."
      },
      "conditionId": {
       "type": "string",
       "description": "Comma-separated bytes32 condition ids (up to 20) to keep only those markets."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "activity": [
   {
    "side": "buy",
    "size": "25",
    "type": "TRADE",
    "price": "0.41",
    "title": "Will the Fed cut rates at its December meeting?",
    "venue": "polymarket",
    "account": "0xd9f530D88C105B1bf8cB5DfC68778C5987839D17",
    "outcome": "Yes",
    "tokenId": "111",
    "timestamp": "2026-10-30T11:58:00.000Z",
    "collateral": {
     "asset": "pUSD",
     "amount": "10.31"
    },
    "conditionId": "0x9f1c1c4c1d6a2b2f0d5a7e8b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f",
    "transactionHash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"
   }
  ],
  "nextCursor": "20",
  "observedAt": "2026-10-30T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainhilt-polymarket-activity-feed-caf42366/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)
