cURL
curl --request GET \ --url https://api.chainbase.online/v1/nft/metadata \ --header 'x-api-key: <x-api-key>'
{ "code": 0, "message": "ok", "data": { "blockchain": "<string>", "contract_address": "<string>", "token_id": "<string>", "erc_type": "<string>", "name": "<string>", "owner": "<string>", "symbol": "<string>", "image_uri": "<string>", "mint_time": 123, "mint_transaction_hash": "<string>", "token_uri": "<string>", "metadata": "<unknown>", "traits": "<unknown>", "rarity_score": 123, "rarity_rank": 123 } }
Get the metadata associated with the specified NFT.
"demo"
chain network id, see list of details
The address of the NFT contract
NFT token id in hex or num string
Successful Response
Show child attributes
The blockchain name.
The contract address.
The token ID number.
ERC standard related to the contract.
The name of the NFT contract.
The address who owns the token_id now
The symbol of the NFT contract.
The image of the NFT assets.
The ms timestamp when the token was minted.
The transaction hash when the token was minted.
The token URI of the NFT assets.
The metadata of the NFT assets.
List of traits of the NFT assets.
The rarity score of the NFT assets.
The rarity rank of the NFT assets.