NFTs
Get NFT tokens by address
NFTs
Get NFT tokens by address
Lists non-fungible tokens for a particular contract address.
GET
/
apechain
/
v1
/
nft
/
collections
/
{address}
/
tokens
curl --request GET \
--url https://data-api.cloud.ormi.dev/apechain/v1/nft/collections/{address}/tokens
{
"resultCount": 2,
"tokens": [
{
"address": "0xcf9a9600d50874244ed6085773379a75cd60d72c",
"ercType": "ERC-721",
"metadata": {
"attributes": "[{\"trait_type\":\"Background\",\"value\":\"1\"},{\"trait_type\":\"Fur\",\"value\":\"10\"},{\"trait_type\":\"Earring\",\"value\":\"0\"},{\"trait_type\":\"Hat\",\"value\":\"0\"},{\"trait_type\":\"Eyes\",\"value\":\"0\"},{\"trait_type\":\"Clothes\",\"value\":\"33\"},{\"trait_type\":\"Mouth\",\"value\":\"0\"}]",
"imageUri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy...C9zdmc+",
"mintedBlockNumber": 915726,
"mintedTimestamp": "2024-10-22T22:58:26Z",
"name": "OnChain Monkey #1",
"symbol": "OCAPE"
},
"tokenId": "1",
"tokenUri": "data:application/json;base64,eyJuYW1lIjogIk9uQ2h...EM5emRtYysifQ=="
},
{
"address": "0xcf9a9600d50874244ed6085773379a75cd60d72c",
"ercType": "ERC-721",
"metadata": {
"attributes": "[{\"trait_type\":\"Background\",\"value\":\"7\"},{\"trait_type\":\"Fur\",\"value\":\"12\"},{\"trait_type\":\"Earring\",\"value\":\"0\"},{\"trait_type\":\"Hat\",\"value\":\"12\"},{\"trait_type\":\"Eyes\",\"value\":\"6\"},{\"trait_type\":\"Clothes\",\"value\":\"24\"},{\"trait_type\":\"Mouth\",\"value\":\"21\"}]",
"imageUri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy...IjQzMCIgc3R5bGU9ImZpbGw6IzkwZiIvPjwvc3ZnPg==",
"mintedBlockNumber": 915988,
"mintedTimestamp": "2024-10-22T22:59:38Z",
"name": "OnChain Monkey #2",
"symbol": "OCAPE"
},
"tokenId": "2",
"tokenUri": "data:application/json;base64,eyJuYW1lIjogIk9uQ2h...Ul2UGp3dmMzWm5QZz09In0="
},
"..."
]
}
Path Parameters
Contract address.
Query Parameters
Page number
Required range:
x >= 0
Page size
Required range:
1 <= x <= 100
Response
200 - application/json
A list of NFT tokens for an address.
amount of nfts equal to page size.
Contract address of the ERC-721 token.
ERC standard type.
Additional attributes of the token.
Description of the token.
External URL related to the token.
URI for the token image.
Minted block number of the token.
Name of the token.
Symbol of the token.
Decimals of the token.
Minted timestamp of the token.
Unique identifier of the token.
URI pointing to the token metadata.
balance of NFT
curl --request GET \
--url https://data-api.cloud.ormi.dev/apechain/v1/nft/collections/{address}/tokens
{
"resultCount": 2,
"tokens": [
{
"address": "0xcf9a9600d50874244ed6085773379a75cd60d72c",
"ercType": "ERC-721",
"metadata": {
"attributes": "[{\"trait_type\":\"Background\",\"value\":\"1\"},{\"trait_type\":\"Fur\",\"value\":\"10\"},{\"trait_type\":\"Earring\",\"value\":\"0\"},{\"trait_type\":\"Hat\",\"value\":\"0\"},{\"trait_type\":\"Eyes\",\"value\":\"0\"},{\"trait_type\":\"Clothes\",\"value\":\"33\"},{\"trait_type\":\"Mouth\",\"value\":\"0\"}]",
"imageUri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy...C9zdmc+",
"mintedBlockNumber": 915726,
"mintedTimestamp": "2024-10-22T22:58:26Z",
"name": "OnChain Monkey #1",
"symbol": "OCAPE"
},
"tokenId": "1",
"tokenUri": "data:application/json;base64,eyJuYW1lIjogIk9uQ2h...EM5emRtYysifQ=="
},
{
"address": "0xcf9a9600d50874244ed6085773379a75cd60d72c",
"ercType": "ERC-721",
"metadata": {
"attributes": "[{\"trait_type\":\"Background\",\"value\":\"7\"},{\"trait_type\":\"Fur\",\"value\":\"12\"},{\"trait_type\":\"Earring\",\"value\":\"0\"},{\"trait_type\":\"Hat\",\"value\":\"12\"},{\"trait_type\":\"Eyes\",\"value\":\"6\"},{\"trait_type\":\"Clothes\",\"value\":\"24\"},{\"trait_type\":\"Mouth\",\"value\":\"21\"}]",
"imageUri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy...IjQzMCIgc3R5bGU9ImZpbGw6IzkwZiIvPjwvc3ZnPg==",
"mintedBlockNumber": 915988,
"mintedTimestamp": "2024-10-22T22:59:38Z",
"name": "OnChain Monkey #2",
"symbol": "OCAPE"
},
"tokenId": "2",
"tokenUri": "data:application/json;base64,eyJuYW1lIjogIk9uQ2h...Ul2UGp3dmMzWm5QZz09In0="
},
"..."
]
}