# ChainHilt Polymarket Market Data

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

Fetches live Polymarket prediction market data for a given market ID, including prices, liquidity, volume, and resolution rules.

## Facts

- Endpoint: GET https://chainhilt.ai/api/v1/predict/polymarket/markets/%7BmarketId%7D?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainhilt-polymarket-market-data-462bf6bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UO7mdMo9lRkBDQZ6bYt-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 chainhilt-polymarket-market-data-462bf6bd
```

Example prompt: Pull the current Polymarket market data for market ID 512329 — I want to see the Yes and No prices, liquidity, and what the resolution rules say.

## When to prefer this

Use this endpoint when you need live Polymarket prediction market data — prices, liquidity, volume, resolution rules — for a specific market by ID, without needing a Polymarket API key. Prefer this over direct Polymarket APIs if your agent operates in an x402 micropayment environment and needs wallet-local, keyless access. Not suitable for placing trades or bulk market scans.

## Known failure modes

- Invalid or non-existent marketId returns an error or empty response
- Market may be closed or resolved, returning status accordingly
- Rate limiting or payment failure (x402) may block the request
- Network latency from on-chain data sources may cause stale prices
- Missing or malformed marketId path parameter causes a 400-level error

## 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 JSON object with the market's question, current Yes/No outcome prices and token IDs, liquidity, 24-hour volume, market status (open/closed), close time, minimum order size, tick size, negRisk flag, event ID, condition ID, resolution rules, and the data observation timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "market": {
   "id": "512329",
   "raw": {
    "id": "512329"
   },
   "fees": {
    "rate": 0,
    "feeType": null
   },
   "venue": "polymarket",
   "status": "open",
   "eventId": "606422",
   "negRisk": false,
   "outcomes": [
    {
     "name": "Yes",
     "price": "0.43",
     "tokenId": "111"
    },
    {
     "name": "No",
     "price": "0.57",
     "tokenId": "222"
    }
   ],
   "question": "Will the Fed cut rates at its December meeting?",
   "tickSize": "0.01",
   "tradable": true,
   "closeTime": "2026-12-10T19:00:00.000Z",
   "liquidity": "125000.5",
   "volume24h": "48210.25",
   "observedAt": "2026-10-30T12:00:00.000Z",
   "resolution": {
    "rules": "Resolves Yes if the FOMC announces a cut to the federal funds target range at its December meeting.",
    "source": "https://www.federalreserve.gov"
   },
   "conditionId": "0x9f1c1c4c1d6a2b2f0d5a7e8b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f",
   "minOrderSize": "5"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainhilt-polymarket-market-data-462bf6bd/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)
