{
  "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"
          }
        }
      ]
    }
  ]
}