NFT floor price
POST /api/nft-floorGet the current floor price for an NFT collection across OpenSea + LooksRare (Ethereum). Send POST /api/nft-floor with the required field contract and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with contract, network, openSea, looksRare, cheapestFloorEth and 2 more.
Returns per-marketplace floor (ETH), collection URL, retrieval timestamp, and the cheapest cross-marketplace floor with the marketplace tag. Use to price a collection without scraping marketplace UIs, or to detect cross-venue arbitrage gaps.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
contract | string | yes | NFT contract address (0x-prefixed 40-hex). Also accepted as contractAddress, token, address. |
network | string | no | Chain: ethereum, base, polygon, arbitrum, optimism (default ethereum). Cross-marketplace floors are Ethereum-mainnet only. |
Example request
curl -i -X POST https://agent402.tools/api/nft-floor \
-H "Content-Type: application/json" \
-d '{"contract":"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"}'
Without payment this returns HTTP 402 Payment Required with the exact price for nft-floor; any x402 v2 or MPP client pays it and retries.
Example response
{
"contract": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"network": "ethereum",
"openSea": {
"available": true,
"floorPrice": 13.5,
"priceCurrency": "ETH",
"collectionUrl": "https://opensea.io/collection/boredapeyachtclub",
"retrievedAt": "2026-06-22T19:00:00.000Z"
},
"looksRare": {
"available": true,
"floorPrice": 13.7,
"priceCurrency": "ETH",
"collectionUrl": "https://looksrare.org/collections/0xbc4c...",
"retrievedAt": "2026-06-22T19:00:00.000Z"
},
"cheapestFloorEth": 13.5,
"cheapestMarketplace": "opensea",
"source": "alchemy-nft-v3"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
contract | string | yes | 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d |
network | string | yes | ethereum |
openSea | object | yes | 5 fields: available, floorPrice, priceCurrency, collectionUrl, retrievedAt |
looksRare | object | yes | 5 fields: available, floorPrice, priceCurrency, collectionUrl, retrievedAt |
cheapestFloorEth | number | yes | 13.5 |
cheapestMarketplace | string | yes | opensea |
source | string | yes | alchemy-nft-v3 |
From an MCP client
catalog.call {
"slug": "nft-floor",
"params": {
"contract": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for nft-floor; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
contractis required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
GETorHEADto /api/nft-floor returns the same 402 quote, so the price can be read without a body. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/nft-floor", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"contract": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"
}),
});
Related tools
NFT collection metadata
POST /api/nft-collectionFetch NFT collection (ERC-721 / ERC-1155) metadata by contract address on Ethereum, Base, Polygon, Arbitrum, or Optimism…
ERC-1155 balance
GET /api/chain/erc1155-balanceHow many of one ERC-1155 token id an account holds, read straight from the contract. ERC-1155 is the multi-token standar…
Chain info snapshot
GET /api/chain-infoOne-call chain state snapshot: chain id, latest block number, and current gas price (wei + gwei) for Ethereum, Base, Pol…
Coin snapshot on a date
GET /api/coin-historyPrice, market cap and 24h volume of a coin on ONE past date (00:00 UTC snapshot), in every currency at once plus your ch…
Token price by contract address
GET /api/coin-price-by-contractLive price, market cap, 24h volume and 24h change for ERC-20 / SPL / other chain tokens looked up by CONTRACT ADDRESS on…
Crypto technical indicators
POST /api/crypto-indicatorsTechnical indicators for one perpetual computed deterministically from Hyperliquid candles: RSI(14), MACD(12,26,9) with …