Collection stats
get_collection_statsFetch market and supply stats for any Solana NFT collection using a registry ID, Magic Eden symbol, or Core address, plus optional OpenSea floor, royalty, and top-holder 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. When OpenSea can be read (the server issues itself a free key, or uses OPENSEA_API_KEY), 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. |