{
  "x402Version": 2,
  "id": 6771,
  "slug": "6771",
  "resource": "https://enclave402.com/api/market/verdict",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xbeF3e7CFd486C14dD8c3aA5911134bF361B973C5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "slug": "sample-market"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "asOf": "2026-01-01T00:00:00.000Z",
            "attestation": null,
            "confidence": 72,
            "confidenceBand": "HIGH",
            "daysToResolution": 12.5,
            "impliedProbability": 0.71,
            "lean": "YES",
            "market": {
              "bestAsk": 0.72,
              "bestBid": 0.7,
              "conditionId": null,
              "endDate": "2026-01-14T00:00:00.000Z",
              "id": "0",
              "impliedProbability": 0.71,
              "liquidity": 25000,
              "momentum": "RISING",
              "oneDayPriceChange": 0.03,
              "outcomePrices": [
                0.71,
                0.29
              ],
              "outcomes": [
                "Yes",
                "No"
              ],
              "question": "Sample question?",
              "slug": "sample-market",
              "spread": 0.02,
              "volume24hr": 12000
            },
            "method": "Rule-based, not a forecast.",
            "question": "Sample question?",
            "reasons": [
              {
                "code": "crowd-implied",
                "effect": "lean",
                "message": "YES priced at 0.710."
              },
              {
                "code": "liquid",
                "effect": "+20",
                "message": "Liquidity above threshold."
              }
            ],
            "settled": true,
            "slug": "sample-market",
            "ts": 1767225600000
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "slug": {
                    "description": "Polymarket market slug (get one from market/signal).",
                    "examples": [
                      "will-there-be-no-change-in-fed-interest-rates-after-the-october-2026-meeting-20260617190324031"
                    ],
                    "maxLength": 200,
                    "pattern": "^[a-z0-9-]{3,200}$",
                    "type": "string"
                  }
                },
                "required": [
                  "slug"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "asOf": {
                    "type": "string"
                  },
                  "attestation": {
                    "description": "EIP-712 signature over slug, asOf, lean, confidence and impliedProbability by the published attestor; null when unconfigured",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "confidence": {
                    "description": "How much the reading can be trusted, per the stated rules",
                    "maximum": 100,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "confidenceBand": {
                    "enum": [
                      "HIGH",
                      "MEDIUM",
                      "LOW"
                    ],
                    "type": "string"
                  },
                  "daysToResolution": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "impliedProbability": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lean": {
                    "description": "Where the crowd sits at the lean thresholds",
                    "enum": [
                      "YES",
                      "NO",
                      "TOSS_UP"
                    ],
                    "type": "string"
                  },
                  "market": {
                    "additionalProperties": false,
                    "properties": {
                      "bestAsk": {
                        "description": "Best ask for the first outcome",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "bestBid": {
                        "description": "Best bid for the first outcome",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "conditionId": {
                        "description": "On-chain condition id (bytes32 hex)",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDate": {
                        "description": "ISO-8601 market end date",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "id": {
                        "description": "Polymarket market id",
                        "type": "string"
                      },
                      "impliedProbability": {
                        "description": "Price of the first outcome (YES) in [0,1]",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "liquidity": {
                        "description": "Order-book liquidity in USD",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "momentum": {
                        "description": "Deterministic label: RISING if 24h change >= +0.02, FALLING if <= -0.02, else FLAT",
                        "enum": [
                          "RISING",
                          "FALLING",
                          "FLAT",
                          "UNKNOWN"
                        ],
                        "type": "string"
                      },
                      "oneDayPriceChange": {
                        "description": "24h change of the first outcome price (absolute, in probability points)",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "outcomePrices": {
                        "description": "Current outcome prices in [0,1] (implied probabilities)",
                        "items": {
                          "type": "number"
                        },
                        "type": "array"
                      },
                      "outcomes": {
                        "description": "Outcome labels, index-aligned with outcomePrices",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "question": {
                        "description": "Market question text",
                        "type": "string"
                      },
                      "slug": {
                        "description": "URL slug of the market",
                        "type": "string"
                      },
                      "spread": {
                        "description": "bestAsk - bestBid",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "volume24hr": {
                        "description": "24h notional volume in USD",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "slug",
                      "question",
                      "outcomes",
                      "outcomePrices",
                      "impliedProbability",
                      "momentum"
                    ],
                    "type": "object"
                  },
                  "method": {
                    "description": "The exact rules and thresholds used, so the verdict is reproducible",
                    "type": "string"
                  },
                  "question": {
                    "type": "string"
                  },
                  "reasons": {
                    "description": "Every rule that fired and its effect on the verdict",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "effect": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "effect",
                        "message"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "settled": {
                    "type": "boolean"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "ts": {
                    "type": "integer"
                  }
                },
                "required": [
                  "slug",
                  "question",
                  "lean",
                  "confidence",
                  "confidenceBand",
                  "impliedProbability",
                  "daysToResolution",
                  "reasons",
                  "method",
                  "market",
                  "asOf",
                  "settled",
                  "ts"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "enclave402.com",
  "lastUpdated": "2026-09-17T22:54:33.886Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T22:54:40.2Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "enclave402.com",
    "manifest_name": "enclave402.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}