{
  "name": "housemath",
  "description": "HouseMath (housemath.dev) — multi-protocol degen-game analytics. Free routes serve the tracked-protocol directory, each protocol's live EV / house-edge headline computed from on-chain state, and the full published risk audit (overall risk, methodology, findings). All routes are free in v1; a paid historical metric time-series tier is coming. Analytics only — never buy/sell advice; analysis is not an endorsement; gambling involves risk of total loss.",
  "url": "https://api.housemath.dev/a2a",
  "preferredTransport": "JSONRPC",
  "protocolVersion": "0.3.0",
  "provider": {
    "organization": "HouseMath",
    "url": "https://api.housemath.dev"
  },
  "version": "1.0.0",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "extensions": [
      {
        "uri": "https://github.com/google-a2a/a2a-x402/v0.1",
        "description": "Paid endpoints settle via the x402 protocol (on-chain USDC). On an unpaid paid-route request the server returns HTTP 402 whose accepts[] lists one exact USDC rail per network; sign one rail and retry with PAYMENT-SIGNATURE (x402 V2) or X-PAYMENT (legacy). Free endpoints need no payment.",
        "required": false,
        "params": {
          "x402Version": 2,
          "networks": [
            "eip155:8453",
            "solana"
          ],
          "asset": "USDC",
          "scheme": "exact"
        }
      }
    ]
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "endpoints": [
    {
      "method": "GET",
      "path": "/v1/games",
      "params": [],
      "priceUsd": 0,
      "description": "Free, no payment. Lists every tracked degen-game protocol (identity + category + chain + status + published risk grade). Use a protocol's `key` in the per-protocol routes."
    },
    {
      "method": "GET",
      "path": "/v1/games/:key",
      "params": [],
      "priceUsd": 0,
      "description": "Free, no payment. One protocol's headline: identity + risk grade + LIVE analytics (EV per pull, house edge, pull price) computed from on-chain state, plus freshness. If a live read is temporarily unavailable, `analytics` is null with a note (never a 500)."
    },
    {
      "method": "GET",
      "path": "/v1/games/:key/audit",
      "params": [
        "full"
      ],
      "priceUsd": 0,
      "description": "Free, no payment. The published contract risk audit for a protocol: overall risk, summary, methodology, scope, and the findings list (code / severity / category / title / summary / status). Full finding `detail` is omitted from the list; add ?full=1 to include it. 404 if no audit is published for that protocol."
    }
  ],
  "x402": {
    "version": 2,
    "networks": [
      "eip155:8453",
      "solana"
    ],
    "assets": [
      "USDC"
    ]
  },
  "skills": [],
  "authentication": {
    "schemes": [
      "none",
      "x402"
    ],
    "description": "Free endpoints need no auth. Paid endpoints use the x402 V2 HTTP-402 flow: on an unpaid request the server returns a 402 whose accepts[] lists an exact USDC rail per network. Sign one rail and retry with the PAYMENT-SIGNATURE header (x402 V2) or legacy X-PAYMENT header. Per-call pricing."
  },
  "documentationUrl": "https://api.housemath.dev/llms.txt",
  "openApiUrl": "https://api.housemath.dev/openapi.json",
  "termsOfService": "https://api.housemath.dev/terms.txt"
}
