{
  "name": "社畜 API",
  "description": "3333 枚 BNB Chain 全鏈上生成 ERC-721 的唯讀介面。所有資料直接來自合約，不需要 API key、不需要錢包。",
  "baseUrl": "https://shechu-3333.pages.dev",
  "auth": "none",
  "cost": "free",
  "rateLimit": "Cloudflare 免費方案，快取 5 分鐘",
  "endpoints": [
    {
      "path": "/api/collection",
      "method": "GET",
      "returns": "合集狀態：totalSupply、remaining、priceBnb、mintOpen、maxPerTx、nextTokenId",
      "note": "即時 eth_call，不快取超過 60 秒"
    },
    {
      "path": "/api/token/{id}",
      "method": "GET",
      "params": {
        "id": "1–3333 的整數"
      },
      "returns": "單顆中繼資料：name、attributes（底色/牛角/眼睛/配件）、image（data URI SVG）、minted、owner",
      "note": "未鑄造的編號也能查 —— 用 eth_call 的 state override 讓合約照樣算圖"
    },
    {
      "path": "/mcp",
      "method": "POST",
      "returns": "MCP server（Streamable HTTP）：initialize / tools/list / tools/call，工具為 get_collection 與 get_token",
      "note": "可直接加進 Claude 或 ChatGPT 的 connector，無認證"
    },
    {
      "path": "/a2a",
      "method": "POST",
      "returns": "A2A JSON-RPC（message/send），可用自然語言問「#777 長什麼樣」「現在多少錢」",
      "note": "skills 見 /.well-known/agent-card.json"
    }
  ],
  "contract": {
    "address": "0x98b177109ce46960e0AdfE191c55Fa50555B81bF",
    "chain": "BNB Smart Chain (chainId 56)",
    "standard": "ERC-721",
    "readOnly": [
      "name()",
      "symbol()",
      "totalSupply()",
      "price()",
      "mintOpen()",
      "maxPerTx()",
      "tokenURI(uint256)",
      "ownerOf(uint256)"
    ],
    "write": [
      "mint(uint256 qty) payable — 每顆 0.0033 BNB，需自行簽名送交易"
    ]
  },
  "discovery": {
    "llms": "https://shechu-3333.pages.dev/llms.txt",
    "agentCard": "https://shechu-3333.pages.dev/.well-known/agent-card.json",
    "sitemap": "https://shechu-3333.pages.dev/sitemap.xml",
    "robots": "https://shechu-3333.pages.dev/robots.txt"
  }
}