Install
openclaw skills install @ssidharhubble/nft-floor-sweep-calculatorCalculates the total cost of sweeping N items off an NFT collection's floor, pulling live floor prices from Magic Eden (Solana collections) or CoinGecko's free NFT API (EVM collections) with no API key required, then applying marketplace fees and a configurable naive price-step slippage curve to estimate total spend, average price per item, and subtotal before fees. Useful for NFT trading, crypto whale-style bulk buying, defi and passive income research, python developers, and ai agent operators who want a quick pre-trade cost estimate before executing a floor sweep. Not an execution engine — it does not place orders or touch a wallet, purely a cost calculator for planning purposes on Solana and EVM NFT collections.
openclaw skills install @ssidharhubble/nft-floor-sweep-calculatorPulls a collection's current floor price and estimates the total cost of buying N items off the floor, including marketplace fees and a naive per-item price-step assumption (since free public APIs don't expose full order-book depth).
# Solana collection via Magic Eden (use the collection's Magic Eden symbol)
python3 scripts/floor_sweep.py floor degods --sweep 5
# EVM collection via CoinGecko's NFT API (use the CoinGecko nft id)
python3 scripts/floor_sweep.py evm-floor autoglyphs --sweep 3
# JSON output, custom slippage/fee assumptions
python3 scripts/floor_sweep.py floor degods --sweep 5 --slippage 4 --fee 1.5 --json
To find a CoinGecko NFT id, the collection's slug is usually the lowercased
name with no spaces (verify with GET https://api.coingecko.com/api/v3/nfts/list). Magic Eden slugs are the
collection's symbol shown in its Magic Eden URL.
/v2/collections/{slug}/stats)
or CoinGecko (/nfts/{id}).Free public APIs (Magic Eden's public stats endpoint, CoinGecko's NFT API) do not expose full live order-book depth. The per-item slippage curve is a configurable linear approximation, not a real simulation of the actual listings you'd fill against. Royalties are also not included in the fee estimate. Always check the live order book on the actual marketplace before executing a real sweep — treat this tool's output as a ballpark, not a quote.
api-mainnet.magiceden.dev and/or
api.coingecko.com (both free, no key for the endpoints used here).