GET /api/nft/v3/nft/collection/basic
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/nft/v3/nft/collection/basicCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeNFT collection profile for platformAlias and contract: name, description, logo, website, and related ids.
name=nft_collection_basic. BAYC sample. Observed fields include name, symbol, blockChain, ercType, floorPrice, volume24h, totalOwners, totalItems, description, website, twitter. More keys may exist.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
platformAlias | query | str | required | NFT chain alias. The verified collection sample is eth. example: eth |
contract | query | str | required | NFT contract. The verified sample is BAYC 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d. example: 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d |
Response
type: object
pagination: none
sample: {
"platformId": "1",
"cryptoId": "1027",
"priceTokenId": "1027",
"blockChain": "Ethereum",
"contractAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"logo": "https://i2c.seadn.io/collection/boredapeyachtclub/image/1a09c26b1c30427b26944c47\u2026",
"name": "BoredApeYachtClub",
"symbol": "BAYC",
"description": "The Bored Ape Yacht Club is a collection of 10,000 unique Bored A
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/cmc/api/nft/v3/nft/collection/basic?platformAlias=eth&contract=0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"