Treasureland
Search…
⌃K

Request NFT Collections

To retrieve all collections of a specific blockchain with the desired filter parameters.
Description: Return specific blockchain all collections on Treasureland.
Request URL: /v1/account/collects
Request Method: GET
Request Parameters:
Name
Type
Mandatory
Description
address
STRING
YES
User wallet address
chain_id
STRING
YES
Current blockchain ID
Request Example:
https://api.treasureland.market/v1/account/collects?address=0xef5236aaa9c5ac41db844fade25f7a6b5a3b80fb&chain_id=56
Response Demo
{
"code": 0,
"message": "Success",
"data": {
"items": [
{
"id": 153,
"chain_id": 1,
"cat_id": 21,
"cat_slug": "",
"title": "ETHLazymint721", // NFT project name
"name": "",
"symbol": "",
"address": "0xef5236aaa9c5ac41db844fade25f7a6b5a3b80fb", // Contract address
"erc_type": "", // erc721 || erc1155
"logo": "images/official/dc20bb9789933f80a88aeeb4b2428729.png",
"is_show": 0,
"nft_count": 1, // NFT amount
},
]
}
}