{
  "name": "CoinGrade",
  "description": "A credit rating for token launches — weekly revenue ÷ market cap (hype vs real) + a 6-pillar design score.",
  "x402Version": 1,
  "payment": {
    "network": "base-sepolia",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "payTo": "0x0000000000000000000000000000000000000000",
    "mode": "mock",
    "facilitator": "https://x402.org/facilitator"
  },
  "endpoints": [
    {
      "method": "GET",
      "path": "/",
      "price": "free",
      "description": "web app (browsers) or this discovery document (Accept: application/json)"
    },
    {
      "method": "GET",
      "path": "/health",
      "price": "free",
      "description": "liveness check"
    },
    {
      "method": "POST",
      "path": "/preview",
      "price": "free",
      "description": "grade without payment (unsigned) — powers the web UI",
      "body": "TokenLaunch | TokenLaunch[]"
    },
    {
      "method": "GET",
      "path": "/methodology",
      "price": "free",
      "description": "open methodology pointer"
    },
    {
      "method": "GET",
      "path": "/badge?data=<token>",
      "price": "free",
      "description": "signed, embeddable SVG grade badge (token minted by /score)"
    },
    {
      "method": "POST",
      "path": "/score",
      "price": "$0.01 USDC per launch",
      "description": "grade one launch or a cohort → GradeResult JSON (+ a signed badge to embed)",
      "body": "TokenLaunch | TokenLaunch[]"
    },
    {
      "method": "POST",
      "path": "/report",
      "price": "$0.02 USDC",
      "description": "grade → self-contained HTML report card or leaderboard",
      "body": "TokenLaunch | TokenLaunch[]"
    }
  ],
  "pay": "POST a launch to https://coingrade.pages.dev/score; you'll receive a 402 with payment requirements, then retry with an X-PAYMENT header.",
  "docs": "https://github.com/ (METHODOLOGY.md)"
}