{
  "x402Version": 1,
  "name": "Prediction Market Rule Check",
  "description": "Don't lose a winning trade to the small print — risk-score Polymarket and Kalshi settlement rules before you bet.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/rule_check",
      "method": "POST",
      "description": "FREE. Risk-score the settlement rules of a Polymarket market (slug or search words): flags discretion, vague sources, cancellation and deadline traps. Top 2 markets.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/rule_check",
          "description": "Prediction Market Rule Check: rule_check — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "market": {
                  "type": "string",
                  "description": "Polymarket slug or search words"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/rule_check_full",
      "method": "POST",
      "description": "PRO. Full rule text + resolution source + all flags for up to 10 Polymarket markets matching a slug or search.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/rule_check_full",
          "description": "Prediction Market Rule Check: rule_check_full — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "market": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/kalshi_check",
      "method": "POST",
      "description": "PRO. Risk-score a Kalshi market's rules by ticker (rules_primary + rules_secondary).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/kalshi_check",
          "description": "Prediction Market Rule Check: kalshi_check — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "ticker": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/scan_risky",
      "method": "POST",
      "description": "PRO. Scan the top live Polymarket markets by volume and list the ones with the riskiest settlement wording.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/scan_risky",
          "description": "Prediction Market Rule Check: scan_risky — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "limit": {
                  "type": "number"
                },
                "min_score": {
                  "type": "number"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/market_lookup",
      "method": "POST",
      "description": "FREE. Live price, volume and close time for ONE prediction market in the normalised Polymarket+Kalshi schema. Give a Polymarket slug or a Kalshi ticker.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/market_lookup",
          "description": "Prediction Market Rule Check: market_lookup — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "id": {
                  "type": "string",
                  "description": "Polymarket market slug (e.g. will-x-happen) or Kalshi market ticker (e.g. KXFEDDECISION-26DEC-H0)"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/live_markets",
      "method": "POST",
      "description": "PAID $0.02/call (x402) or subscription. Live open markets from Polymarket and Kalshi in one schema, ranked by 24h volume within each venue (interleaved). Filter by venue or text.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/live_markets",
          "description": "Prediction Market Rule Check: live_markets — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "venue": {
                  "type": "string",
                  "enum": [
                    "all",
                    "polymarket",
                    "kalshi"
                  ],
                  "description": "Default all"
                },
                "limit": {
                  "type": "number",
                  "description": "1-100, default 25"
                },
                "contains": {
                  "type": "string",
                  "description": "Optional text filter on question"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/search_markets",
      "method": "POST",
      "description": "PAID $0.02/call (x402) or subscription. Keyword search across live Polymarket and Kalshi markets (e.g. 'fed rate', 'bitcoin', 'election'); normalised prices and volumes.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/search_markets",
          "description": "Prediction Market Rule Check: search_markets — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "query": {
                  "type": "string"
                },
                "venue": {
                  "type": "string",
                  "enum": [
                    "all",
                    "polymarket",
                    "kalshi"
                  ],
                  "description": "Default all"
                },
                "limit": {
                  "type": "number",
                  "description": "1-50, default 20"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/top_movers",
      "method": "POST",
      "description": "PAID $0.02/call (x402) or subscription. Live markets with the biggest 24h price moves on Polymarket and Kalshi, in one schema.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/top_movers",
          "description": "Prediction Market Rule Check: top_movers — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "venue": {
                  "type": "string",
                  "enum": [
                    "all",
                    "polymarket",
                    "kalshi"
                  ],
                  "description": "Default all"
                },
                "limit": {
                  "type": "number",
                  "description": "1-50, default 15"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/doubles_record",
      "method": "POST",
      "description": "FREE. Sports doubles feed (info only, 18+): the full SETTLED record of Grok Double Bot's daily doubles, every pick including losses, with legs, odds at tip time and result; won/lost/void counts, win rate, average combined odds and running profit on a flat £10 stake, plus pre-kickoff SHA-256 fingerprints of each day's sealed picks (salt + text revealed after they settle; public page /record). Never shows unsettled picks. Information only, not betting advice. No guaranteed returns. 18+. BeGambleAware.org",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/doubles_record",
          "description": "Prediction Market Rule Check: doubles_record — one call, $0.03 USDC. Information only, not betting advice. No guaranteed returns. 18+. BeGambleAware.org",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "limit": {
                  "type": "number",
                  "description": "Most recent N settled picks to list (1-500, default all up to 500). Stats always cover the full record."
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/doubles_today",
      "method": "POST",
      "description": "PAID $1.00/call (x402 USDC on Base; one call returns the whole day's picks, so $1 a day) or $20 USDC for 30 days (POST /x402/doubles_30d, then Authorization: Bearer <access_token>), or the $20/month doubles plan. Not included in the £12/month plan, bundle passes or trial keys. Sports doubles feed (info only, 18+): today's stats-led doubles from Grok Double Bot with legs, kick-off/start times (UK), odds at tip time, combined odds, confidence and rationale. Information only, not betting advice. No guaranteed returns. 18+. BeGambleAware.org",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "1000000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/doubles_today",
          "description": "Prediction Market Rule Check: doubles_today — one call, $1.00 USDC. Information only, not betting advice. No guaranteed returns. 18+. BeGambleAware.org",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {}
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/kalshi_weather_series",
      "method": "POST",
      "description": "FREE. List Kalshi weather series (daily high/low temperature, rain, snow) by city or keyword, with series ticker, frequency and official settlement source. Use the ticker with kalshi_weather_settlements. Information only, not betting advice. Historical settlements do not predict future results. 18+. BeGambleAware.org",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/kalshi_weather_series",
          "description": "Prediction Market Rule Check: kalshi_weather_series — one call, $0.03 USDC. Information only, not betting advice. Historical settlements do not predict future results. 18+. BeGambleAware.org",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "city": {
                  "type": "string",
                  "description": "City or keyword, e.g. London, NYC, Chicago"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "high",
                    "low",
                    "rain",
                    "snow"
                  ]
                },
                "limit": {
                  "type": "number",
                  "description": "default 25, max 100"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/kalshi_weather_settlements",
      "method": "POST",
      "description": "PAID $0.02/call (x402) or subscription / bundle pass. Settled Kalshi weather markets for a series (e.g. KXHIGHNY) or city: per market the ticker, close date, exact close_time (ISO 8601 UTC, Z) and close_time_local (ISO with the city's UTC offset; local_tz IANA zone, null if unknown), settlement_time (Kalshi settlement timestamp, ISO UTC; null if Kalshi gives none) and close_to_settlement_seconds / close_to_settlement_minutes (gap from close to settlement, to spot late settlements or revisions), expiration_time, strike/bucket, yes/no result and settlement payout, plus the observed settlement value per day and the official settlement source. Optional date range. Information only, not betting advice. Historical settlements do not predict future results. 18+. BeGambleAware.org",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/kalshi_weather_settlements",
          "description": "Prediction Market Rule Check: kalshi_weather_settlements — one call, $0.02 USDC. Information only, not betting advice. Historical settlements do not predict future results. 18+. BeGambleAware.org",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "series": {
                  "type": "string",
                  "description": "Series ticker, e.g. KXHIGHNY, KXHIGHTEGLL, KXRAINNYC"
                },
                "city": {
                  "type": "string",
                  "description": "Alternative to series: city/station keyword (e.g. London, Chicago)"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "high",
                    "low",
                    "rain",
                    "snow"
                  ],
                  "description": "With city: which series type (default high)"
                },
                "from": {
                  "type": "string",
                  "description": "Close date from, YYYY-MM-DD"
                },
                "to": {
                  "type": "string",
                  "description": "Close date to, YYYY-MM-DD"
                },
                "limit": {
                  "type": "number",
                  "description": "Max markets, default 100, max 500"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/doubles_30d",
      "method": "POST",
      "description": "PAID $20 USDC (x402 v1, Base): 30 days of doubles_today, matching the $20/month card plan. Returns a signed access_token (dx....). The $1/day per-call path at /x402/doubles_today is unchanged.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000000",
          "resource": "https://prediction-rules-mcp.donniertf.workers.dev/x402/doubles_30d",
          "description": "Prediction Market Rule Check: doubles_30d — one call, $20.00 USDC. Information only, not betting advice. No guaranteed returns. 18+. BeGambleAware.org",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {}
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}