{
  "$comment": "GENERATED FROM api/_tools/<slug>/route.mjs — do not edit by hand",
  "type": "https://eips.ethereum.org/EIPS/eip-8257#tool-manifest-v1",
  "name": "nft-collection-intel",
  "description": "NFT collection intelligence via OpenSea. Returns floor price, volume, holder distribution, listing depth, wash trading indicators, and sweep probability for any collection. 5min cache. $0.03 USDC per call; AXIOM Tool Pass holders get free access.",
  "endpoint": "https://www.clawbots.org/api/tools/nft-collection-intel",
  "inputs": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "OpenSea collection slug (e.g. 'normies', 'axiom-tool-pass')"
      },
      "chain": {
        "type": "string",
        "description": "Chain name (default: ethereum)",
        "default": "ethereum"
      }
    },
    "required": [
      "slug"
    ],
    "additionalProperties": false
  },
  "outputs": {
    "type": "object",
    "properties": {
      "collection": {
        "type": "string"
      },
      "chain": {
        "type": "string"
      },
      "fetchedAt": {
        "type": "string",
        "format": "date-time"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": [
          "string",
          "null"
        ]
      },
      "imageUrl": {
        "type": [
          "string",
          "null"
        ]
      },
      "floor": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "price": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          }
        }
      },
      "volume": {
        "type": "object",
        "properties": {
          "last24h": {
            "type": "number"
          },
          "last7d": {
            "type": "number"
          },
          "last30d": {
            "type": "number"
          }
        }
      },
      "sales": {
        "type": "object",
        "properties": {
          "last24h": {
            "type": "number"
          },
          "averagePrice": {
            "type": "number"
          }
        }
      },
      "holders": {
        "type": "object",
        "properties": {
          "uniqueOwners": {
            "type": "number"
          },
          "totalSupply": {
            "type": "number"
          },
          "ownershipRatio": {
            "type": "string"
          }
        }
      },
      "listings": {
        "type": "object",
        "properties": {
          "count": {
            "type": "number"
          },
          "sweepProbability": {
            "type": "string",
            "enum": [
              "none",
              "low",
              "medium",
              "high"
            ]
          }
        }
      },
      "flags": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "signals": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "topListings": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "tokenId": {
              "type": [
                "string",
                "null"
              ]
            },
            "price": {
              "type": [
                "string",
                "null"
              ]
            },
            "currency": {
              "type": "string"
            }
          }
        }
      }
    },
    "required": [
      "collection",
      "chain",
      "fetchedAt",
      "name",
      "volume",
      "sales",
      "holders",
      "listings",
      "flags",
      "signals",
      "topListings"
    ]
  },
  "creatorAddress": "0xef2cc7d15d3421629f93ffa39727f14179f31c75",
  "tags": [
    "nft",
    "collection",
    "floor-price",
    "opensea",
    "analytics",
    "base"
  ],
  "pricing": [
    {
      "amount": "0.03",
      "asset": "USDC",
      "recipient": "0xef2cc7d15d3421629f93ffa39727f14179f31c75",
      "protocol": "x402"
    }
  ],
  "authentication": [
    {
      "type": "siwe",
      "description": "Sign In With Ethereum. Holders of the Axiom Tool Pass NFT get free unlimited access. Sign a SIWE message proving wallet ownership; the server verifies your wallet holds the pass on-chain.",
      "header": "Authorization: SIWE <base64url(message)>.<0xsignature>",
      "passContract": "0xfc9ce3990f85fA1A3a0eE51a710642396a6Cad82",
      "chain": "base",
      "chainId": 8453,
      "collection": "https://opensea.io/collection/axiom-tool-pass"
    },
    {
      "type": "x402",
      "description": "Pay per call in USDC on Base via the x402 protocol. No account or API key needed.",
      "header": "x-payment: <x402 authorization>"
    }
  ],
  "onChain": {
    "registry": "0x265BB2DBFC0A8165C9A1941Eb1372F349baD2cf1",
    "chainId": 8453,
    "toolId": 23
  }
}
