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
    ]
  ]
}

Note

  • This endpoint doesnโ€™t support Solana NFT and Art Blocks, please use /nfts/{id}/market_chart endpoint instead.
  • Data Granularity (auto):
    • 1-14 days from now = 5-minutely data
    • 15 days & above from now = daily data (00:00 UTC)
  • Cache/Update Frequency: every 5 minutes
  • The last completed UTC day (00:00) is available 5 minutes after midnight on the next UTC day (00:05).
  • Exclusive for Paid Plan Subscribers (Analyst, Lite, Pro and Enterprise).

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)

The response is of type object.