{
  "markdown": "# NFT Floor Price & Rarity API\n\n[![MCP Server](https://img.shields.io/badge/MCP-server-blue)](https://nft-floor.api.klymax402.com/mcp)\n[![x402](https://img.shields.io/badge/payments-x402-6E56CF)](https://x402.org)\n[![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)\n\nNFT collection floor price, volume, holders, rarity data. Ethereum and Base via Alchemy. Pay-per-call via [x402](https://x402.org) (USDC on Base L2) -- no API key, no signup, no rate-limit wall.\n\nPart of the [klymax402](https://klymax402.com) marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.\n\n## Quickstart -- MCP\n\nAdd to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):\n\n```json\n{\n  \"mcpServers\": {\n    \"nft-floor\": {\n      \"url\": \"https://nft-floor.api.klymax402.com/mcp\"\n    }\n  }\n}\n```\n\n## Quickstart -- HTTP (x402)\n\n```bash\ncurl \"https://nft-floor.api.klymax402.com/api/collection?address=0x0000000000000000000000000000000000dEaD\"\n# -> 402 Payment Required, with an x402 payment challenge in the response body\n```\n\nAny x402-aware client ([`@x402/fetch`](https://www.npmjs.com/package/@x402/fetch), [`x402-agent-tools`](https://www.npmjs.com/package/x402-agent-tools), ATXP) handles the 402 -> sign -> retry cycle automatically.\n\n## Tools\n\n| Tool | Method | Path | Price | Description |\n|---|---|---|---|---|\n| `nft_get_collection_data` | GET | `/api/collection` | $0.012 | Get NFT collection floor price, volume, and stats |\n| `nft_get_collection_data` | POST | `/api/collection` | $0.012 | Get NFT collection floor price, volume, and stats (POST variant) |\n| `nft_get_token_rarity` | GET | `/api/rarity` | $0.008 | Get NFT token rarity rank, score, and trait floor prices |\n| `nft_get_token_rarity` | POST | `/api/rarity` | $0.008 | Get NFT token rarity rank, score, and trait floor prices (POST variant) |\n\n### `nft_get_collection_data`\n\nUse this when you need NFT collection floor price, volume, or holder data. Returns comprehensive collection stats from Alchemy for Ethereum and Base NFTs.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n|---|---|---|---|\n| `address` | string | yes | NFT collection contract address. e.g. 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D (BAYC) |\n| `chain` | string | no | Blockchain: ethereum or base. Default: ethereum |\n\n**Returns**\n\n- `floorPrice` -- current floor price in ETH and USD\n- `volume24h` -- 24-hour trading volume in ETH and USD\n- `totalSupply` -- total number of NFTs in the collection\n- `holderCount` -- number of unique holders\n- `listedCount` -- number of NFTs currently listed for sale\n- `listedPercent` -- percentage of supply listed\n- `topTraitFloors` -- floor prices broken down by top traits\n\nExample response:\n\n```json\n{\"floorPrice\":{\"eth\":12.5,\"usd\":44000},\"volume24h\":{\"eth\":89.3,\"usd\":314000},\"totalSupply\":10000,\"holderCount\":5421,\"listedCount\":312,\"listedPercent\":3.12,\"topTraitFloors\":[{\"trait\":\"Gold Fur\",\"floor\":45.2}]}\n```\n\n**When to use**: tracking NFT collection values, comparing collections, or monitoring floor price movements. Essential for NFT portfolio valuation and market analysis.\n\n### `nft_get_collection_data`\n\nUse this when you need NFT collection floor price, volume, or holder data. Returns comprehensive collection stats from Alchemy for Ethereum and Base NFTs. POST variant of nft_get_collection_data -- same params passed as JSON body instead of query string.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n|---|---|---|---|\n| `address` | string | yes | NFT collection contract address. e.g. 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D (BAYC) |\n| `chain` | string | no | Blockchain: ethereum or base. Default: ethereum |\n\n**Returns**\n\n- `floorPrice` -- current floor price in ETH and USD\n- `volume24h` -- 24-hour trading volume in ETH and USD\n- `totalSupply` -- total number of NFTs in the collection\n- `holderCount` -- number of unique holders\n- `listedCount` -- number of NFTs currently listed for sale\n- `listedPercent` -- percentage of supply listed\n- `topTraitFloors` -- floor prices broken down by top traits\n\nExample response:\n\n```json\n{\"floorPrice\":{\"eth\":12.5,\"usd\":44000},\"volume24h\":{\"eth\":89.3,\"usd\":314000},\"totalSupply\":10000,\"holderCount\":5421,\"listedCount\":312,\"listedPercent\":3.12,\"topTraitFloors\":[{\"trait\":\"Gold Fur\",\"floor\":45.2}]}\n```\n\n**When to use**: tracking NFT collection values, comparing collections, or monitoring floor price movements. Essential for NFT portfolio valuation and market analysis.\n\n### `nft_get_token_rarity`\n\nUse this when you need rarity data for a specific NFT token. Returns rarity rank, score, attributes, and trait-level floor prices for valuation.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n|---|---|---|---|\n| `address` | string | yes | NFT collection contract address |\n| `tokenId` | string | yes | Token ID within the collection. e.g. 1234 |\n| `chain` | string | no | Blockchain: ethereum or base. Default: ethereum |\n\n**Returns**\n\n- `rarityRank` -- token's rarity rank within the collection (e.g. 142 out of 10000)\n- `rarityScore` -- computed rarity score\n- `totalSupply` -- total tokens in the collection\n- `attributes` -- array of token traits with name, value, frequency, and trait floor price\n- `estimatedValue` -- estimated value based on rarity and trait floors\n\nExample response:\n\n```json\n{\"rarityRank\":142,\"rarityScore\":285.4,\"totalSupply\":10000,\"attributes\":[{\"trait\":\"Background\",\"value\":\"Gold\",\"frequency\":0.02,\"traitFloor\":18.5},{\"trait\":\"Eyes\",\"value\":\"Laser\",\"frequency\":0.04,\"traitFloor\":15.2}],\"estimatedValue\":{\"eth\":22.3,\"usd\":78500}}\n```\n\n**When to use**: valuing individual NFTs, finding underpriced tokens, or building rarity-based trading strategies.\n\n### `nft_get_token_rarity`\n\nUse this when you need rarity data for a specific NFT token. Returns rarity rank, score, attributes, and trait-level floor prices for valuation. POST variant of nft_get_token_rarity -- same params passed as JSON body instead of query string.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n|---|---|---|---|\n| `address` | string | yes | NFT collection contract address |\n| `tokenId` | string | yes | Token ID within the collection. e.g. 1234 |\n| `chain` | string | no | Blockchain: ethereum or base. Default: ethereum |\n\n**Returns**\n\n- `rarityRank` -- token's rarity rank within the collection (e.g. 142 out of 10000)\n- `rarityScore` -- computed rarity score\n- `totalSupply` -- total tokens in the collection\n- `attributes` -- array of token traits with name, value, frequency, and trait floor price\n- `estimatedValue` -- estimated value based on rarity and trait floors\n\nExample response:\n\n```json\n{\"rarityRank\":142,\"rarityScore\":285.4,\"totalSupply\":10000,\"attributes\":[{\"trait\":\"Background\",\"value\":\"Gold\",\"frequency\":0.02,\"traitFloor\":18.5},{\"trait\":\"Eyes\",\"value\":\"Laser\",\"frequency\":0.04,\"traitFloor\":15.2}],\"estimatedValue\":{\"eth\":22.3,\"usd\":78500}}\n```\n\n**When to use**: valuing individual NFTs, finding underpriced tokens, or building rarity-based trading strategies.\n\n## Example agent prompts\n\n- \"NFT collection floor price, volume, or holder data\"\n- \"NFT collection floor price, volume, or holder data\"\n- \"Rarity data for a specific NFT token\"\n\n## Payment\n\n- Protocol: [x402](https://x402.org) -- HTTP-native pay-per-call, no signup, no API key\n- Network: Base L2 (`eip155:8453`)\n- Asset: USDC\n- Facilitator: Coinbase CDP (primary), PayAI (fallback)\n- Also reachable via [ATXP](https://atxp.ai) (OAuth-wrapped x402, RFC 9728 protected-resource metadata)\n\n## Part of klymax402\n\n100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.\n\n- Catalog: https://klymax402.com/llms.txt\n- Full API reference: https://klymax402.com/llms-full.txt\n- Live stats: https://klymax402.com/stats\n\n## License\n\nMIT\n",
  "bytes": 7763,
  "sha": "eb06b25347209bb4046a51e95a8de0c6b1ce93e3782164debcde8d263f6a6ea1",
  "repo_slug": "br0ski777/nft-floor-x402",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_br0ski777_nft_floor_22a2a0a6/readme"
}