Collection Trending Statistics

This endpoint returns NFT collection trending statistics referring to NFTScan Trending.

This endpoint returns NFT collection trending statistics referring to NFTScan Trending.

API Endpoint

https://open-platform.nodereal.io/{apiKey}/nftscan

method_path:/api/v2/statistics/collection/trending/{contract_address}/{chain_name}

method_type:GET

Request:

ParametersDescriptionsQuery TypeRequiredData Typeschema
contract_addressThe NFT contract addressdefaultValue{0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d}pathtruestring
chain_nameName of the chain you’re querying. List of supported values: "eth" for Ethereum; "bnb" for BNB Smart Chain; "polygon" for Polygon; "moonbeam" for Moonbeam; "arbitrum" for Arbitrum One; "optimism" for Optimism; "platon" for PlatON; "avalanche" for Avalanche; "cronos" for Cronos; "fantom" for Fantom; "gnosis" for Gnosis;pathtruestring
timeoption{1d,1h,4h,12h,3d,7d,30d,90d,all}queryfalsestring

Response:

ParametersDescriptionsData Typeschema
codeResponse status code (200 means the request was successful, 4XX or 5XX means the request failed)integer(int32)integer(int32)
dataResponse dataarrayTrendingModel
  average_priceThe average pricenumber(double)
  begin_timestampThe beginning timestamp in milliseconds for the intervalinteger(int64)
  end_timestampThe ending timestamp in milliseconds for the intervalinteger(int64)
  volumeThe volumenumber(double)
msgError message when request failsstring

Example:

{
	"code": 200,
	"data": [
		{
			"average_price": 0.2542,
			"begin_timestamp": 1658734117714,
			"end_timestamp": 1658735117714,
			"volume": 22.8775
		}
	],
	"msg": ""
}