# BaseNFT Oracle x402

> BaseNFT Oracle x402 is a paid API for AI agents from basenft-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-19).

Fetches real-time NFT collection metadata, floor price, and supply data for Base Mainnet collections by slug or address

## Facts

- Endpoint: GET https://basenft-x402.vercel.app/v1/collection
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basenft-oracle-x402-6f0e5b0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dPMACwBxgAWiqEP9NEuBm

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 basenft-oracle-x402-6f0e5b0d
```

Example prompt: What's the current floor price and total supply for the Basenames NFT collection on Base mainnet?

## When to prefer this

Choose this endpoint when you need real-time NFT floor price and supply data specifically for collections deployed on Base Mainnet (Ethereum L2). It is ideal for agents doing NFT portfolio valuation, market monitoring, or pre-purchase research on Base. Prefer this over Ethereum mainnet NFT oracles when the target collection is Base-native, and over generic blockchain explorers when you need structured market data (floor price in ETH and USD) rather than raw on-chain data.

## Known failure modes

- Unknown collection slug returns registry metadata only with market_data_available=false
- Invalid or unrecognized contract address returns identity_verified=false
- Network errors or Vercel cold starts may cause latency or timeouts
- Collections not in the local registry return limited metadata without verified identity
- Payment of $0.01 USDC required per call via x402 protocol; unpaid requests are rejected

## How this service works

Real-Time Base NFT Collection, Floor Price & Ownership Verification Oracle on Base Mainnet.

## Output

Returns a JSON object containing the NFT collection's contract address, canonical name, total token supply, floor price denominated in ETH, and floor price converted to USD for the queried Base Mainnet 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "title": "CollectionRequest",
     "properties": {
      "collection": {
       "type": "string",
       "title": "Collection",
       "default": "basenames",
       "maxLength": 64,
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "collection",
      "source",
      "market_data_available"
     ],
     "properties": {
      "source": {
       "type": "string"
      },
      "network": {
       "const": "base-mainnet"
      },
      "success": {
       "type": "boolean"
      },
      "collection": {
       "type": "object",
       "required": [
        "address",
        "identity_verified",
        "metadata_source"
       ],
       "properties": {
        "name": {
         "type": [
          "string",
          "null"
         ]
        },
        "slug": {
         "type": [
          "string",
          "null"
         ]
        },
        "symbol": {
         "type": [
          "string",
          "null"
         ]
        },
        "address": {
         "type": "string",
         "pattern": "^0x[0-9a-fA-F]{40}$"
        },
        "metadata_source": {
         "enum": [
          "local_registry",
          "user_supplied_address"
         ]
        },
        "identity_verified": {
         "const": false
        }
       }
      },
      "limitations": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "contract_address": {
       "type": "string"
      },
      "observation_type": {
       "const": "registry_metadata"
      },
      "market_data_available": {
       "const": false
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string"
  },
  "collection": {
   "type": "string"
  },
  "total_supply": {
   "type": "integer"
  },
  "floor_price_eth": {
   "type": "number"
  },
  "floor_price_usd": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basenft-oracle-x402-6f0e5b0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basenft-x402.vercel.app](https://www.zero.xyz/host/basenft-x402.vercel.app/llms.txt)
