{
  "name": "Reputa",
  "description": "On-chain wallet risk & security intelligence for Ethereum. Crisis-behaviour analysis (how a wallet acted through Terra, Celsius, Voyager, FTX, Multichain, Humanity), full Security/Risk/Reputation scores with profile traits, Safe (Gnosis Safe) security checks and owner reverse-lookup, deep ERC-20 approval history, and historical ETH/WETH distribution across chains.",
  "homepage": "https://reputa.xyz",
  "openapi": "https://reputa.xyz/openapi.json",
  "llms": "https://reputa.xyz/llms.txt",
  "contact": "https://x.com/0xreputa",
  "tags": ["wallet-risk", "security", "ethereum", "on-chain", "due-diligence", "defi-cover", "insurance", "x402", "agent"],
  "payment": {
    "protocol": "x402",
    "scheme": "exact",
    "network": "polygon",
    "asset": "USDC",
    "assetAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "flow": "unpaid request -> HTTP 402 with PaymentRequirements -> sign EIP-3009 transferWithAuthorization -> retry with X-PAYMENT header",
    "priceAdvertisedIn": "402 response (accepts[0].maxAmountRequired, in USDC atomic units)"
  },
  "resources": [
    {
      "name": "crisis-check",
      "description": "Free wallet analysis: crisis-behaviour verdict (risk_avoider|risk_manager|risk_seeker) + security snapshot.",
      "method": "POST",
      "url": "https://reputa.xyz/api/crisis-check",
      "input": { "wallet": "0x… EVM address" },
      "price": "free",
      "rateLimit": "20/min per IP"
    },
    {
      "name": "wallet-scores",
      "description": "Full Security/Risk/Reputation scores with reason codes, profile traits (HODLer, DeFi-native, governance, staker, Safe/smart-account, or entity type CEX/DEX/bridge/DAO) and a staking & governance breakdown.",
      "method": "POST",
      "url": "https://reputa.xyz/api/scores",
      "input": { "wallet": "0x… EVM address" },
      "price": "paid (x402)"
    },
    {
      "name": "deep-approval-scan",
      "description": "Full ERC-20 approval history for a wallet (deeper than the free scan's recent window).",
      "method": "POST",
      "url": "https://reputa.xyz/api/approvals",
      "input": { "wallet": "0x… EVM address" },
      "price": "paid (x402)"
    },
    {
      "name": "safe-check",
      "description": "Security check of a Gnosis Safe: on-chain version, transaction guard, and enabled modules (named or flagged unknown).",
      "method": "POST",
      "url": "https://reputa.xyz/api/safe-check",
      "input": { "wallet": "0x… Safe address" },
      "price": "paid (x402)"
    },
    {
      "name": "safe-owner",
      "description": "Reverse lookup: which Safes an address co-controls. Free Ethereum-only count as a teaser; full multichain breakdown with Safe addresses when details=true.",
      "method": "POST",
      "url": "https://reputa.xyz/api/safe-owner",
      "input": { "wallet": "0x… EVM address", "details": "boolean - true = paid full breakdown across all chains" },
      "price": "teaser free; details paid (x402)"
    },
    {
      "name": "chain-history",
      "description": "Historical ETH/WETH distribution across chains as it was `months` ago (3, 6, 12 or 24).",
      "method": "POST",
      "url": "https://reputa.xyz/api/chain-history",
      "input": { "wallet": "0x… EVM address", "months": "3 | 6 | 12 | 24" },
      "price": "3/6/12 months free; 24 months paid (x402)"
    },
    {
      "name": "full-report",
      "description": "Everything in one paid call: wallet scores + traits, Safe config, Safe co-control (all chains), deep approval history, and the 2-year chain distribution.",
      "method": "POST",
      "url": "https://reputa.xyz/api/full-report",
      "input": { "wallet": "0x… EVM address" },
      "price": "bundled (x402) - default = single-scan price x 5"
    },
    {
      "name": "resolve",
      "description": "Resolve an ENS name (e.g. vitalik.eth) to its EVM address.",
      "method": "GET",
      "url": "https://reputa.xyz/api/resolve?name=vitalik.eth",
      "price": "free"
    },
    {
      "name": "cover-analyses",
      "description": "Free catalog of all DeFi cover (insurance) analyses Reputa has scored: Assecura score + band, covered protocol, coverage-gap counts, red flags, cheapest annual premium, and analysis date. Discovery for agents.",
      "method": "GET",
      "url": "https://reputa.xyz/api/cover/v1/analyses",
      "price": "free"
    },
    {
      "name": "cover-analysis",
      "description": "Full structured DeFi cover analysis for one product: Assecura score across 7 categories, real-risk-fit and coverage gap map (clause by clause: what pays, what is excluded), claims process and payout history, capital adequacy, red flags, open questions and sources. A free teaser is returned in the 402 body.",
      "method": "GET",
      "url": "https://reputa.xyz/api/cover/v1/analyses/{provider}/{product}",
      "input": { "provider": "e.g. nexus-mutual", "product": "e.g. uniswap-v3 (from the catalog)" },
      "price": "paid (x402)"
    }
  ],
  "mcp": {
    "available": true,
    "description": "An MCP server (mcp/) exposes these as agent tools with optional autonomous x402 payment (set REPUTA_PAYER_PRIVATE_KEY to auto-pay the paid tools).",
    "tools": [
      "reputa_analyze_wallet",
      "reputa_wallet_scores",
      "reputa_deep_approval_scan",
      "reputa_safe_check",
      "reputa_safe_owner",
      "reputa_chain_history",
      "reputa_full_report",
      "reputa_cover_list",
      "reputa_cover_analysis"
    ]
  }
}
