Skip to main content
GET
/
v2
/
accounts
/
{account_id}
/
nfts
cURL
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>"
    }
  ]
}

Path Parameters

account_id
string<address>
required

account ID

Example:

"0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"

Query Parameters

collection
string<address>

nft collection

Example:

"0:06d811f426598591b32b2c49f29f66c821368e4acb1de16762b04e0174532465"

limit
integer
default:1000
Required range: 1 <= x <= 1000
offset
integer
default:0
Required range: x >= 0
indirect_ownership
boolean
default:false

Selling nft items in ton implemented usually via transfer items to special selling account. This option enables including items which owned not directly.

Response

account nft items

nft_items
object[]
required