Sales over a period
get_collection_salesRetrieve detailed sales for an NFT collection over a chosen window: total volume, average and top sale, unique buyers/sellers, plus daily and per-item breakdowns from Magic Eden.
Instructions
Sales for a collection over the last N days, as Magic Eden recorded them, with every sale named by the chain's asset index so it can be filtered and grouped by player, character or issue: how many sold, total volume, highest and lowest sale, median and average, unique buyers and sellers, the biggest buyers, a per-day series for charts, a per-name breakdown, and the split between the order book and Magic Eden's AMM pools. Answers 'how many sales this week', 'how many Ohtani cards sold', 'which player sold the most', 'what was the top sale', 'is volume up', 'chart the last month', 'who is buying'. The result says how far back the feed was read and whether older sales exist beyond the page budget; it never fills a gap with an estimate. Magic Eden's API feed only: each row carries the execution marketplace that feed reported, and fills it did not index are not here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window ending now. Default 7. | |
| symbol | Yes | Magic Eden collection symbol (search_collections resolves a name to one) | |
| maxPages | No | Pages of 500 events to read; busy collections need more to cover long windows. Default 6. | |
| nameContains | No | Keep only sales whose item name contains this text, e.g. 'Ohtani' or 'Batman'; names come from the chain's asset index |