GET
/
nfts
/
{asset_platform_id}
/
contract
/
{contract_address}
/
market_chart
๐Ÿ’ผ NFTs Collection Historical Chart Data by Contract Address
curl --request GET \
  --url https://pro-api.coingecko.com/api/v3/nfts/{asset_platform_id}/contract/{contract_address}/market_chart \
  --header 'x-cg-pro-api-key: <api-key>'
{
  "floor_price_usd": [
    [
      1626912000000,
      90.1675764653448
    ],
    [
      1626998400000,
      97.3216055000018
    ],
    [
      1627084800000,
      95.2719573507527
    ]
  ],
  "floor_price_native": [
    [
      1626912000000,
      0.045
    ],
    [
      1626998400000,
      0.048
    ],
    [
      1627084800000,
      0.045
    ]
  ],
  "h24_volume_usd": [
    [
      1626912000000,
      2860.11552548074
    ],
    [
      1626998400000,
      2143.50836113754
    ],
    [
      1627084800000,
      925.408279066978
    ]
  ],
  "h24_volume_native": [
    [
      1626912000000,
      1.4274
    ],
    [
      1626998400000,
      1.0572
    ],
    [
      1627084800000,
      0.4371
    ]
  ],
  "market_cap_usd": [
    [
      1626912000000,
      33281860.8681357
    ],
    [
      1626998400000,
      38474832.8121067
    ],
    [
      1627084800000,
      44827378.867466
    ]
  ],
  "market_cap_native": [
    [
      1626912000000,
      11012.23
    ],
    [
      1626998400000,
      12709.84
    ],
    [
      1627084800000,
      14220.8
    ]
  ]
}

Authorizations

x-cg-pro-api-key
string
header
required

Path Parameters

asset_platform_id
string
default:ethereum
required

asset platform ID *refers to /asset_platforms

Example:

"ethereum"

contract_address
string
default:0xBd3531dA5CF5857e7CfAA92426877b022e612cf8
required

contract address of the NFT collection

Example:

"0xBd3531dA5CF5857e7CfAA92426877b022e612cf8"

Query Parameters

days
string
default:1
required

data up to number of days ago Valid values: any integer or max

Response

200 - application/json

Get historical market data include price, market cap, and 24hr volume (granularity auto)

floor_price_usd
number[][]

NFT collection floor price in usd

floor_price_native
number[][]

NFT collection floor price in native currency

h24_volume_usd
number[][]

NFT collection volume in 24 hours in usd

h24_volume_native
number[][]

NFT collection volume in 24 hours in native currency

market_cap_usd
number[][]

NFT collection market cap in usd

market_cap_native
number[][]

NFT collection market cap in native currency