Accounts

GET /v2/accounts/{account_id}/nfts

Get all NFT items by owner address

Request

Path parameters

account_idstring address required
Example:0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621

account ID

Query parameters

collectionstring address
Example:0:06d811f426598591b32b2c49f29f66c821368e4acb1de16762b04e0174532465

nft collection

limitinteger
offsetinteger
indirect_ownershipboolean

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

Example response

{
  "nft_items": [
    {
      "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
      "approved_by": [
        "getgems"
      ],
      "collection": {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "description": "Best collection in TON network",
        "name": "TON Diamonds"
      },
      "dns": "crypto.ton",
      "index": 58,
      "metadata": {},
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      },
      "previews": [
        {
          "resolution": "100x100",
          "url": "https://site.com/pic1.jpg"
        }
      ],
      "sale": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "market": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "icon": "https://ton.org/logo.png",
          "is_scam": true,
          "is_wallet": true,
          "name": "Ton foundation"
        },
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "icon": "https://ton.org/logo.png",
          "is_scam": true,
          "is_wallet": true,
          "name": "Ton foundation"
        },
        "price": {
          "currency_type": "jetton",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "token_name": "Gram",
          "value": "123000000000",
          "verification": "whitelist"
        }
      },
      "trust": "whitelist",
      "verified": true
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.