GET /nfts/{id}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coingecko/nfts/{id}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDetailed NFT collection metrics: floor price, market cap, volume, ATH, supply and holders.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | path | str | required | NFT collection id (from /nfts/list). default: cryptopunksexample: cryptopunks |
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/cryptopunks"