ProImp..::..GetNftsMarketChartAsync Method (String, UInt32)

Get historical market data of a NFT collection, including floor price, market cap, and 24h volume, by number of days away from now as an asynchronous operation.

Namespace:  CoinGeckoAPI.Imps
Assembly:  CoinGeckoAPI (in CoinGeckoAPI.dll)

Syntax


public Task<NftsMarketChartResponse> GetNftsMarketChartAsync(
	string id,
	uint days
)
Public Function GetNftsMarketChartAsync ( _
	id As String, _
	days As UInteger _
) As Task(Of NftsMarketChartResponse)

Parameters

id
Type: String
The id of NFT collection (ex: bored-ape-yacht-club).GetNftsListAsync(NftsListOrderBy, String, UInt32, UInt32)
days
Type: UInt32
The data up to number of days ago.

Return Value

A Task<NftsMarketChartResponse> representing the asynchronous operation.

Exceptions


ExceptionCondition
NotSupportedExceptionThis call is restricted to PRO accounts with an API key.
ArgumentNullExceptionid - Invalid value. Value must be a valid NFT collection id (ex: bored-ape-yacht-club)