# NFT Token Rarity Rank & Trait Floor Price Lookup

> NFT Token Rarity Rank & Trait Floor Price Lookup is a paid API for AI agents from nft-floor.api.klymax402.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Returns rarity rank, rarity score, and trait-level floor prices for a specific NFT token by contract address and token ID

## Facts

- Endpoint: GET https://nft-floor.api.klymax402.com/api/rarity
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nft-token-rarity-rank-trait-floor-price-lookup-c9c9bfce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iJFLuXOesOa8JjToZmjAz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nft-token-rarity-rank-trait-floor-price-lookup-c9c9bfce
```

Example prompt: What's the rarity rank and trait floor prices for token ID 4156 in the Bored Ape Yacht Club collection — the contract address is 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum?

## When to prefer this

Use this endpoint when you need token-level rarity data — rank, score, and trait-specific floor prices — for a specific NFT. Prefer this over the sibling collection-level stats endpoint when you need granular per-token analysis rather than aggregate collection metrics. Ideal for NFT valuation, pre-purchase due diligence, or building rarity-based filters.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Token ID not found within the collection
- Unsupported blockchain specified (only ethereum and base supported)
- Collection not indexed or rarity data not available for the collection
- Rate limiting or payment failure (x402 payment required at $0.003 USDC per call)

## How this service works

Get NFT token rarity rank, score, and trait floor prices (POST variant)

## Output

Returns the rarity rank of the token within its collection, a numerical rarity score, and floor prices broken down by individual traits, helping assess the token's scarcity and value relative to the broader collection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address",
      "tokenId"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain: ethereum or base. Default: ethereum"
      },
      "address": {
       "type": "string",
       "description": "NFT collection contract address"
      },
      "tokenId": {
       "type": "string",
       "description": "Token ID within the collection. e.g. 1234"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nft-token-rarity-rank-trait-floor-price-lookup-c9c9bfce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nft-floor.api.klymax402.com](https://www.zero.xyz/host/nft-floor.api.klymax402.com/llms.txt)
