{
  "name": "agent-deal-checker",
  "version": "0.5.1",
  "description": "Pre-purchase verification for AI agents: price fairness + scam risk verdict on a marketplace listing \u2014 scam check, listing check, fraud check, deal verification \u2014 structured JSON, <2s.",
  "endpoints": {
    "discovery": {
      "method": "GET",
      "path": "/",
      "price_usd": 0
    },
    "health": {
      "method": "GET",
      "path": "/health",
      "price_usd": 0
    },
    "check_demo": {
      "method": "POST",
      "path": "/v1/check",
      "price_usd": 0,
      "note": "Demo mode, watermarked"
    },
    "mcp": {
      "method": "POST",
      "path": "/mcp",
      "price_usd": 1.0,
      "note": "HTTP MCP endpoint (tool: check_deal) for marketplaces such as AgenticMarket; billed by the marketplace proxy when AGENTICMARKET_SECRET is set"
    },
    "check": {
      "method": "POST",
      "path": "/v1/check/paid",
      "price_usd": 1.0,
      "payment": "x402-style: call without payment -> HTTP 402 + accepts[] offer; retry with X-PAYMENT header",
      "accepts": "see payment_offer in the 402 response",
      "charge_policy": "No charge on failure or empty result. Wrong 'buy' verdict on a documented scam: full $1 refund (the fee paid)."
    }
  },
  "input_schema": {
    "title": "string (required)",
    "price": "number (required)",
    "currency": "string, default CAD",
    "market_price": "number, optional \u2014 service reference table used if omitted",
    "description": "string, optional",
    "location": "string, optional",
    "seller": {
      "account_age_days": "number",
      "ratings_count": "number",
      "ratings_avg": "number"
    },
    "offers_pickup": "boolean, optional",
    "url": "string, optional"
  },
  "output_fields": [
    "verdict (buy|caution|skip)",
    "price_fair",
    "fair_price_estimate",
    "discount_pct",
    "scam_risk (0-100)",
    "confidence (0-1)",
    "reasons[]",
    "recommended_next_step"
  ],
  "payment_offer": {
    "scheme": "exact",
    "network": "base",
    "maxAmountRequired": "1000000",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "payTo": "0x875C4f61848719B110d4A431dA85e1cE197DDB2F",
    "resource": "https://agent-deal-checker.onrender.com/v1/check/paid",
    "description": "One deal check: price fairness + scam risk verdict",
    "mimeType": "application/json",
    "maxTimeoutSeconds": 120,
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "price_usd": 1.0,
    "payments_configured": true
  }
}