Overview Image

Here is an example marketplace page for a specific collection. This cookbook will break down each component of this page and give you the queries for fetching the data.

Screen Shot 2022-11-06 at 7.51.28 PM.png


Collection Info

Get data on a collection like its title, description, supply, volume, floor price, cover image, etc.

Screen Shot 2022-11-06 at 7.48.18 PM.png

<aside> 💡 slug is used as a unique identifier for collections, referring to the url slug. Change this variable to change which collection to fetch data for.

</aside>

<aside> 💡 Remember: You can copy these queries and vars into our GraphQl API Explorer to see the results: https://www.indexer.xyz/api-explorer

</aside>


Collection’s NFTs

Fetch the nfts from a collection

Screen Shot 2022-11-06 at 8.13.09 PM.png