Treasureland
Search…
Request a Specific NFT
Description:
Return all data of a specific NFT, the query frequency is 60 times per minute
Request URL: /v1/nft/detail
Request Method: GET
Request Parameter
Name
Type
Mandatory
token_id
STRING
YES
contract
STRING
YES
parameter chain_id
STRING
YES
Request Example:
https://api.treasureland.market/v1/nft/detail?chain_id=56&contract=0xdf7952b35f24acf7fc0487d01c8d5690a60dba07&token_id=12934
Response Demo
{
"code": 0,
"message": "Success",
"data": {
"chain_id": 56,
"contract": "0xdf7952b35f24acf7fc0487d01c8d5690a60dba07",
"token_id": "12934",
"collect_name": "Pancake Bunnies",
"erc_type": "erc721",
"description": "Oopsie daisy! Hiccup's had a bit of an accident. Poor little fella.",
"external_url": "",
"thumb": "",
"image": "images/bsc/0xdf7952b35f24acf7fc0487d01c8d5690a60dba07/479a1d1e78430367219240e6802402a4.png",
"image_type": "image",
"name": "Hiccup",
"attributes": [
{
"display_type": "string",
"trait_type": "bunnyId",
"value": "10",
"alias": "bunnyId",
"format": ""
}
]
}
}
Copy link