API ReferenceMarket Data APIGet the top NFT collections by market capVersion: 2.0Get the top NFT collections by market capGEThttps://deep-index.moralis.io/api/v2/market-data/nfts/top-collectionsGet the top NFT collections by market cap💡PREMIUM ENDPOINTTo use this API, you will need an API key under a Moralis account with the Pro or above plan. To upgrade your API plan, go to the billing page in the Moralis Dashboard.This API has no parameter and you can simply use the Try It button to test it out.Responses200 Returns the top NFT collections by market caparrayAPI KEYTest Live APINode.jsPythoncURLGoPHPimport Moralis from 'moralis';try { await Moralis.start({ apiKey: "YOUR_API_KEY" }); const response = await Moralis.EvmApi.marketData.getTopNFTCollectionsByMarketCap({}); console.log(response.raw);} catch (e) { console.error(e);}from moralis import evm_apiapi_key = "YOUR_API_KEY"result = evm_api.market_data.get_top_nft_collections_by_market_cap( api_key=api_key,)print(result)curl --request GET \ --url 'https://deep-index.moralis.io/api/v2/market-data/nfts/top-collections' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://deep-index.moralis.io/api/v2/market-data/nfts/top-collections" req, _ := http.NewRequest("GET", url, payload) req.Header.Add("Accept", "application/json") req.Header.Add("X-API-Key", "YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('GET', 'https://deep-index.moralis.io/api/v2/market-data/nfts/top-collections', [ 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', ],]);echo $response->getBody();Response Example200 Returns the top NFT collections by market cap[ { "rank": "1", "collection_title": "CryptoPunks", "collection_image": "", "floor_price_usd": "0.0", "floor_price_24hr_percent_change": "0.0", "market_cap_usd": "0.0", "market_cap_24hr_percent_change": "0.0", "volume_usd": "0.0", "volume_24hr_percent_change": "0.0" }]