curl --request GET \
--url https://tonapi.io/v2/accounts/{account_id}/nfts{
"nft_items": [
{
"address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
"index": 58,
"verified": true,
"metadata": {},
"approved_by": [
"getgems"
],
"trust": "whitelist",
"previews": [
{
"resolution": "100x100",
"url": "https://site.com/pic1.jpg"
}
],
"dns": "crypto.ton",
"include_cnft": false,
"code_hash": "<string>",
"data_hash": "<string>"
}
]
}Get all NFT items by owner address
curl --request GET \
--url https://tonapi.io/v2/accounts/{account_id}/nfts{
"nft_items": [
{
"address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
"index": 58,
"verified": true,
"metadata": {},
"approved_by": [
"getgems"
],
"trust": "whitelist",
"previews": [
{
"resolution": "100x100",
"url": "https://site.com/pic1.jpg"
}
],
"dns": "crypto.ton",
"include_cnft": false,
"code_hash": "<string>",
"data_hash": "<string>"
}
]
}account ID
"0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
nft collection
"0:06d811f426598591b32b2c49f29f66c821368e4acb1de16762b04e0174532465"
1 <= x <= 1000x >= 0Selling nft items in ton implemented usually via transfer items to special selling account. This option enables including items which owned not directly.
account nft items
Show child attributes
Was this page helpful?