# ChainHilt Polymarket Event & Markets Lookup

> ChainHilt Polymarket Event & Markets 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-17).

Fetches a Polymarket event and all its associated prediction markets, including outcome token IDs, tradability, fees, and labels, by event ID.

## Facts

- Endpoint: GET https://chainhilt.ai/api/v1/predict/polymarket/events/:eventId?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-event-markets-lookup-e2b9f144
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nG3zROVsaE12hKds4OfsZ

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-event-markets-lookup-e2b9f144
```

Example prompt: Pull up the Polymarket event with ID 'us-election-2024-winner' and show me all the markets under it — I want to see the outcome token IDs, which ones are tradable, and any fees or labels.

## When to prefer this

Use this endpoint when you need to discover all markets grouped under a specific Polymarket event, especially when you already have an eventId from a market or search result. It is the right choice when you need outcome token IDs for trading, want to check tradability and fees before placing a prediction, or need to identify negRisk (mutually exclusive) event structures. Prefer this over a generic market search when you have a known event and want the full picture of its market groupings.

## Known failure modes

- 422 Unprocessable Entity if the eventId is unknown or malformed
- eventId fails regex validation (must match ^[A-Za-z0-9_-]{1,128}$)
- Payment failure if 0.001 USDC x402 payment is not provided
- Market data may be stale if Polymarket upstream is delayed
- Empty markets array if event exists but has no markets yet

## How this service works

An event and every market under it. The venue's grouping of markets: every line of a match, or the mutually exclusive outcomes of a multi-outcome question (`negRisk: true` means exactly one of them resolves Yes). Markets come back in the search-result shape (outcome tokenIds, tradability, fees), each with the venue's short `label` when it has one. Reach an event from any market's `eventId`; an unknown id is a 422.

## Output

Returns a structured object containing the event metadata and an array of all markets under it. Each market includes outcome token IDs, tradability status, applicable fees, a short venue label (if available), and the negRisk flag indicating whether exactly one outcome resolves Yes. The event's ID can be derived from any market's eventId field.

## 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": [
      "eventId"
     ],
     "properties": {
      "eventId": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,128}$",
       "description": "Polymarket event id, as carried in a market's `eventId`."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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-event-markets-lookup-e2b9f144/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)
