Collection stats
get_collection_statsRetrieve market and supply stats for any Solana NFT collection, including floor trends, holder distribution, and royalty info, with optional OpenSea cross-marketplace data.
Instructions
Market + supply stats for a collection. Accepts a registry id, a Magic Eden symbol, or a Metaplex Core collection ADDRESS. Addresses are decoded straight from the chain (name, minted, current size) - works for collections no marketplace indexes, e.g. Candy Digital drops. If OPENSEA_API_KEY is set, an OpenSea cross-marketplace view is added (pass openseaSlug, or rely on registry entries that carry one): OpenSea's floor, supply and royalty, plus its 7-day floor trend and the largest holders with their share of supply. Answers 'is the floor up or down this week', 'who holds the most', 'is one wallet holding half of it'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Registry id, ME symbol, or Core collection address | |
| openseaSlug | No | Optional OpenSea slug for a cross-marketplace view. OpenSea is read with the key the server issues itself, or OPENSEA_API_KEY if set. The slug's collection is checked against this one before floors are ranked. |