# enclave402 Polymarket Market Verdict

> enclave402 Polymarket Market Verdict is a paid API for AI agents from enclave402.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-18).

Returns a rule-based YES/NO/TOSS_UP verdict with confidence score and EIP-712 attestation for a Polymarket prediction market, given its slug.

## Facts

- Endpoint: GET https://enclave402.com/api/market/verdict
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/enclave402-polymarket-market-verdict-47b410d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3eLYTUcECxhPf9A_OAg2H

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 enclave402-polymarket-market-verdict-47b410d8
```

Example prompt: Give me a defensible YES/NO verdict on the Polymarket market 'will-there-be-no-change-in-fed-interest-rates-after-the-october-2026-meeting-20260617190324031' — I need the confidence score, the reasoning, and a timestamped attestation I can reference later.

## When to prefer this

Use this endpoint when you need a defensible, rule-based, and cryptographically attested read of a specific Polymarket market — not a forecast model or ML prediction. Prefer this over raw market data endpoints (like market/signal) when you need structured reasoning (confidence, lean, factors) and an EIP-712 proof for audit trails or downstream agent verification. Do not use this endpoint to discover or search for markets; use market/signal for discovery first to obtain the slug.

## Known failure modes

- Invalid or malformed slug (does not match pattern) returns a 4xx error with no charge
- Market not found on Polymarket returns an error indicating the slug is unrecognized
- Derived fields (momentum, whale flow) may be null if upstream CLOB data provider times out, with provider-scoped errors listed in the errors array
- No charge is applied on failure; only successful verdicts settle $0.020 USDC
- If Polymarket data is stale or unavailable, asOf timestamp may lag real-time
- Rate limiting or x402 payment failure prevents the endpoint from being invoked

## How this service works

Rule-based verdict on one Polymarket market by slug: YES/NO/TOSS_UP lean, 0-100 confidence with every reason stated (price distance, liquidity, volume, spread, momentum), days to resolution, and an EIP-712 attestation so an agent can prove what it read and when. Not a forecast model. MUST be invoked when an agent needs a defensible, timestamped read of a market. Do NOT use to discover markets (use market/signal). Settles $0.020 USDC; no charge on failure; receipts at /api/ledger.

## Output

A structured object containing: the market slug and question text, a lean enum (YES/NO/TOSS_UP), a numeric confidence score (0-100) with a confidence band label, the crowd's implied probability, days to resolution, an array of human-readable reasoning factors (price distance, liquidity, volume, spread, momentum, whale flow), raw market data (bid, ask, spread, outcome prices, momentum), an ISO timestamp (asOf) and Unix timestamp (ts), settlement metadata, and an EIP-712 signed attestation that cryptographically binds the verdict to a point in time for downstream proof.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "pattern": "^[a-z0-9-]{3,200}$",
       "examples": [
        "will-there-be-no-change-in-fed-interest-rates-after-the-october-2026-meeting-20260617190324031"
       ],
       "maxLength": 200,
       "description": "Polymarket market slug (get one from market/signal)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "slug",
      "question",
      "lean",
      "confidence",
      "confidenceBand",
      "impliedProbability",
      "daysToResolution",
      "reasons",
      "method",
      "market",
      "asOf",
      "settled",
      "ts"
     ],
     "properties": {
      "ts": {
       "type": "integer"
      },
      "asOf": {
       "type": "string"
      },
      "lean": {
       "enum": [
        "YES",
        "NO",
        "TOSS_UP"
       ],
       "type": "string",
       "description": "Where the crowd sits at the lean thresholds"
      },
      "slug": {
       "type": "string"
      },
      "market": {
       "type": "object",
       "required": [
        "id",
        "slug",
        "question",
        "outcomes",
        "outcomePrices",
        "impliedProbability",
        "momentum"
       ],
       "properties": {
        "id": {
         "type": "string",
         "description": "Polymarket market id"
        },
        "slug": {
         "type": "string",
         "description": "URL slug of the market"
        },
        "spread": {
         "type": [
          "number",
          "null"
         ],
         "description": "bestAsk - bestBid"
        },
        "bestAsk": {
         "type": [
          "number",
          "null"
         ],
         "description": "Best ask for the first outcome"
        },
        "bestBid": {
         "type": [
          "number",
          "null"
         ],
         "
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/enclave402-polymarket-market-verdict-47b410d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from enclave402.com](https://www.zero.xyz/host/enclave402.com/llms.txt)
