GET /nfts/{asset_platform_id}/contract/{contract_address}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coingecko/nfts/{asset_platform_id}/contract/{contract_address}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Detailed NFT collection metrics resolved by asset platform and collection contract address.

Parameters

nameintypedescription
asset_platform_idpathstrrequiredAsset platform id (from /asset_platforms).
default: ethereum
example: ethereum
contract_addresspathstrrequiredNFT collection contract address.
example: 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d

Response

type: object
data key: explorers
pagination: none
sample: {
  "id": "str",
  "web_slug": "str",
  "contract_address": "str",
  "asset_platform_id": "str",
  "name": "str",
  "symbol": "str",
  "image": "object",
  "banner_image": "str",
  "description": "str",
  "native_currency": "str",
  "native_currency_symbol": "str",
  "market_cap_rank": "int",
  "floor_price": "object",
  "market_cap": "object",
  "volume_24h": "object",
  "floor_price_in_usd_24h_p

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/coingecko/nfts/ethereum/contract/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"