NFT API
Get NFT collection metadata
API Reference
Web3 API
- Basic API
- Balance API
- Token API
- NFT API
- GETGet NFT metadata
- GETGet NFT owners by collection
- GETGet NFT owner by token
- GETGet NFT rarity
- GETGet NFT owner history by token
- GETGet NFT transfers by collection
- GETGet NFT collection items
- GETGet NFT collection metadata
- GETSearch for NFT collections using names and contract addresses
- GETGet trending collections by marketplace
- GETGet floor price history by collection
- GETGet floor price by collection
- GET
- Domain API
SQL API
- Alpha
- Classic(Deprecated)
Webhook API
- Webhook API
NFT API
Get NFT collection metadata
Query NFT collection metadata.
GET
/
v1
/
nft
/
collection
curl --request GET \
--url https://api.chainbase.online/v1/nft/collection \
--header 'x-api-key: <x-api-key>'
{
"code": 0,
"message": "ok",
"data": {
"contract_address": "<string>",
"name": "<string>",
"symbol": "<string>",
"description": "<string>",
"owner": "<string>",
"deploy_block_number": 123,
"erc_type": "<string>",
"banner_image_url": "<string>",
"image_url": "<string>",
"media_info": "<any>",
"traits": "<any>",
"floor_prices": [
{
"value": "<string>",
"symbol": "<string>",
"address": "<string>"
}
]
}
}
Headers
Response
200
application/json
Successful Response
The contract address of the NFT collection
The name of the NFT collection
The symbol of the NFT contract
The description of the NFT collection
The user address who owns the contract
ERC standard related to the contract.
The URL of the banner image.
The URL of the image asset.
The block number when the contract was deployed.
The medio information.
List of NFT collection traits.
curl --request GET \
--url https://api.chainbase.online/v1/nft/collection \
--header 'x-api-key: <x-api-key>'
{
"code": 0,
"message": "ok",
"data": {
"contract_address": "<string>",
"name": "<string>",
"symbol": "<string>",
"description": "<string>",
"owner": "<string>",
"deploy_block_number": 123,
"erc_type": "<string>",
"banner_image_url": "<string>",
"image_url": "<string>",
"media_info": "<any>",
"traits": "<any>",
"floor_prices": [
{
"value": "<string>",
"symbol": "<string>",
"address": "<string>"
}
]
}
}