Get NFT items by their addresses
a list of account ids
nft items
const response = await fetch('https://ton-open-api.nownodes.io/v2/nfts/_bulk', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"account_ids": [
"0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
]
}),
});
const data = await response.json();
{
"nft_items": [
{
"address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
"index": 58,
"owner": {
"address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
"name": "Ton foundation",
"is_scam": true,
"icon": "https://ton.org/logo.png",
"is_wallet": true
},
"collection": {
"address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
"name": "TON Diamonds",
"description": "Best collection in TON network"
},
"verified": true,
"metadata": {},
"sale": {
"address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
"market": {
"address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
"name": "Ton foundation",
"is_scam": true,
"icon": "https://ton.org/logo.png",
"is_wallet": true
},
"owner": {
"address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
"name": "Ton foundation",
"is_scam": true,
"icon": "https://ton.org/logo.png",
"is_wallet": true
},
"price": {
"value": 123000000000,
"token_name": "TON"
}
},
"previews": [
{
"resolution": "100x100",
"url": "https://site.com/pic1.jpg"
}
],
"dns": "crypto.ton",
"approved_by": [
"getgems"
]
}
]
}