Get NFT of collection
Get NFT of collection
Path Parameters
collection_data_id_hash string required
The collection data id hash of the collection
Example: 24a96a93ebc97746f7001326cf7c5747d5bd61c78813e154371e8d6ca1c881e3
Query Parameters
cursor string
The cursor returned in the previous response (used for getting the next page).
limit number
Number of items returned, default: 20
Responses
- 200
200 Successful
application/json
Schema
Example (from schema)
Schema
cursor string
The cursor returned in the previous response (used for getting the next page)
page number required
Page of results
limit number required
Limit of results
total_items number required
Total returned result items
data object[] required
{
"cursor": "string",
"page": 0,
"limit": 0,
"total_items": 0,
"data": [
{
"collection_data_id_hash": "24a96a93ebc97746f7001326cf7c5747d5bd61c78813e154371e8d6ca1c881e3",
"collection_name": "Aptos Mice Club",
"creator_address": "0x9954a427a8eef9a11d3ec578c29e9592ee7e0d1147e9b58297b130b21cc17424",
"name": "Aptos Mice Club - #1050",
"property_version": "0",
"token_data_id_hash": "29389de555c39b96dbaa83cbd4f53156969ea74a02ec9eaa2f5723d435b59949",
"token_properties": {
"EYES": 1399682407,
"HEAD": 285387749230,
"MOUTH": 5464420,
"SHIRT": 8.268578594926225e+25,
"HELMET": 5578108813654980000,
"TATTOO": 1416585572,
"EARINGS": 310939249016,
"BACKGROUND": 1.3869243956110336e+33,
"BACK OBJECT": 91759383307631
},
"transaction_version": "9023902",
"transaction_timestamp": "1666503854414696",
"block_height": "2522147"
}
]
}
GET /v1/nfts/collection/:collection_data_id_hash
Authorization
name: X-API-KEYtype: apiKeyin: header
Request
Request
curl / cURL
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
go / native
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
csharp / httpclient
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
java / unirest
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/nfts/collection/:collection_data_id_hash' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'