Utilities · x402

Rule-based verdict on one Polymarket market by slug: YES/NO/TOSS_UP lean, 0-100 confide…

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 wh…

by enclave402.com · discovered, not yet claimed by its owner · updated 2026-09-17

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/6771.json for the price and payment options.
  3. Pay. Call GET https://enclave402.com/api/market/verdict. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.02 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Uptime
0 of the last 1 checks answered
Calls (30d)
2 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.020xbeF3e7CFd486C14dD8c3aA5911134bF361B973C5300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xbeF3e7CFd486C14dD8c3aA5911134bF361B973C5",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "amountUsd": 0.02,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "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"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://enclave402.com/api/market/verdict"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://enclave402.com/api/market/verdict");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://enclave402.com/api/market/verdict")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
enclave402.com
Endpoint
https://enclave402.com/api/market/verdict
Machine-readable
/resources/6771.json