GET /collection

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/debank/collectionCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

NFT collection detail: floor price, 24h volume, holders, TVF

Parameters

nameintypedescription
idquerystrrequiredNFT collection id — collection contract address (0x…)
example: 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d
chain_idquerystrrequiredDeBank chain id (eth, bsc, arb, …)
example: eth

Response

type: object
pagination: none
sample: {
  "avg_price_24h": "float",
  "avg_price_24h_usd_value": "float",
  "avg_price_last_24h": "float",
  "buy_holder_count": "int",
  "buy_holder_usd_value": "float",
  "chain_id": "str",
  "credit_score": "float",
  "credit_score_rank_at": "int",
  "description": "null",
  "floor_price": "float",
  "floor_price_24h": "float",
  "follower_count": "int",
  "holder_count": "int",
  "id": "str",
  "is_

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/debank/collection?id=0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d&chain_id=eth"