GETGet NFT items

TON Mainnethttps://ton-mainnet.nodit.io/api/v3/nft/items
CU150

Query NFT items that match the specified filters.

Query Parameters
addressstring[]

NFT item address in any form. Maximum: 1000 addresses.

owner_addressstring[]

Address of the NFT item owner in any form. Maximum: 1000 addresses.

collection_addressstring[]

Collection address in any form.

indexstring[]

Item index for the specified collection. Maximum: 1000 indexes.

include_on_saleboolean

Include NFT items listed in sales or auctions. Applies only when owner_address is provided.

sort_by_last_transaction_ltboolean

Sort NFT items by last_transaction_lt in descending order. Results may be inconsistent while paginating with limit and offset.

limitinteger (int32)

Limit the number of rows to return. Use with offset to batch requests.

offsetinteger (int32)

Skip the first N rows. Use with limit to batch requests.

Responses
{address}object

Address book entry. The key is an address that appears in the response, in raw format workchain:hex.

domainstring

TON DNS domain linked to the address. null when no domain is associated.

interfacesstring[]

Contract interfaces detected for the address, for example wallet_v4r2. Can be null or empty when none are detected.

user_friendlystring

Address in user-friendly base64url format.

{address}object

Metadata entry. The key is the address of the token contract, in raw format workchain:hex.

is_indexedboolean

Whether the metadata for this address has been indexed. When false, token_info may not be available yet.

token_infoobject[]

List of token metadata entries (Jetton, NFT collection, or NFT item) associated with the address.

descriptionstring

Description of the token from its metadata.

extraobject

Additional metadata fields that are not covered by the other properties, for example decimals, uri, and resized image URLs.

imagestring

URL of the token image from its metadata.

is_nsfwboolean

Whether the token is flagged as NSFW (not safe for work) content.

is_scamboolean

Whether the token is flagged as a scam.

namestring

Name of the token from its metadata.

nft_indexstring

Index of the NFT item within its collection, as a decimal string. Present only for NFT items.

symbolstring

Ticker symbol of the token from its metadata. Present for Jettons.

typestring

Kind of token contract the metadata belongs to, for example jetton_masters, nft_collections, or nft_items.

validboolean

Whether the token metadata was retrieved and parsed successfully.

addressstring

Address of the NFT item contract in raw format workchain:hex.

auction_contract_addressstring

Address of the GetGems auction contract that currently holds the NFT item, in raw format workchain:hex. Present only when the item is listed in an auction.

code_hashstring

Hash of the NFT item contract code cell, base64 encoded.

collectionobject

NFT collection that the item belongs to. null when the item has no indexed collection.

addressstring

Address of the NFT collection contract in raw format workchain:hex.

code_hashstring

Hash of the NFT collection contract code cell, base64 encoded.

collection_contentobject

Content data stored in the collection contract, such as the metadata uri or on-chain metadata attributes.

data_hashstring

Hash of the NFT collection contract data cell, base64 encoded.

last_transaction_ltstring

Logical time (lt) of the last transaction of the NFT collection contract, as a decimal string.

Example: 0

next_item_indexstring

Index that the collection assigns to the next minted NFT item, as a decimal string. It also equals the number of minted items when items are minted sequentially, and is -1 for collections with non-sequential indexes.

owner_addressstring

Address of the collection owner in raw format workchain:hex. null when the collection has no owner.

collection_addressstring

Address of the NFT collection that the item belongs to, in raw format workchain:hex. null for a standalone NFT item.

contentobject

Content data stored in the NFT item contract, such as the metadata uri or on-chain metadata attributes.

data_hashstring

Hash of the NFT item contract data cell, base64 encoded.

indexstring

Index of the NFT item within its collection, as a decimal string.

initboolean

Whether the NFT item is initialized.

last_transaction_ltstring

Logical time (lt) of the last transaction of the NFT item contract, as a decimal string.

Example: 0

on_saleboolean

Whether the NFT item is currently listed in a GetGems sale or auction, that is, the item is owned by a sale or auction contract.

owner_addressstring

Address of the current owner of the NFT item, in raw format workchain:hex. When the item is on sale, this is the address of the sale or auction contract, and real_owner holds the seller.

real_ownerstring

Address of the account that put the NFT item on sale or auction, in raw format workchain:hex. Present only when on_sale is true.

sale_contract_addressstring

Address of the GetGems sale contract that currently holds the NFT item, in raw format workchain:hex. Present only when the item is listed in a fixed-price sale.

X-API-KEY
Request
cURL
curl -X GET "https://ton-mainnet.nodit.io/api/v3/nft/items?include_on_sale=false&limit=1&offset=0" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "nft_items": [
    {
      "address": "0:000000F6FCDC61D96265CA6B31BD98505AC3823B77FA8346264A5EBD7D1AB446",
      "init": true,
      "index": "4723",
      "collection_address": "0:4357CFBB796F7E1CD0FF86111FEA43EAFF16A6184265FAA6A7BBC085CB550F2D",
      "owner_address": "0:BFC8EC1A8F60A38B598DC404B3039B6A51452837DB30ABA5C09C5EEA7ED79013",
      "content": {
        "uri": "https://aquabreezewave.com/nft/guzlik0new.json"
      },
      "last_transaction_lt": "46816713000001",
      "code_hash": "Bn/BKm/wQyuuG8RfXTYvb+AegQqlOYtL2Er3eSUWWrI=",
      "data_hash": "S3LHQHsX63JZ8VBxtz7vcFFe2YDhycGxxwrSapmQaYg=",
      "collection": {
        "address": "0:4357CFBB796F7E1CD0FF86111FEA43EAFF16A6184265FAA6A7BBC085CB550F2D",
        "owner_address": "0:C71674D0FF9987A1CD71554D1C37B029E124214060B84CCADA068338B42627E9",
        "last_transaction_lt": "46816814000001",
        "next_item_index": "4897",
        "collection_content": {
          "uri": "https://aquabreezewave.com/colnew.json"
        },
        "data_hash": "OoNgxCTmdeSxHdQzKmDE40D7m3+mBgrn9HxTvfNQ3Mk=",
        "code_hash": "OshXvoj/zX5LKjBX5ydHu1G6QrsDn98PWZhU0sXLXT0="
      },
      "on_sale": false,
      "real_owner": "0:BFC8EC1A8F60A38B598DC404B3039B6A51452837DB30ABA5C09C5EEA7ED79013"
    }
  ],
  "address_book": {
    "0:000000F6FCDC61D96265CA6B31BD98505AC3823B77FA8346264A5EBD7D1AB446": {
      "user_friendly": "EQAAAAD2_Nxh2WJlymsxvZhQWsOCO3f6g0YmSl69fRq0RjKj",
      "domain": null,
      "interfaces": [
        "nft_item"
      ]
    },
    "0:4357CFBB796F7E1CD0FF86111FEA43EAFF16A6184265FAA6A7BBC085CB550F2D": {
      "user_friendly": "EQBDV8-7eW9-HND_hhEf6kPq_xamGEJl-qanu8CFy1UPLQDG",
      "domain": null,
      "interfaces": [
        "nft_collection"
      ]
    },
    "0:BFC8EC1A8F60A38B598DC404B3039B6A51452837DB30ABA5C09C5EEA7ED79013": {
      "user_friendly": "UQC_yOwaj2Cji1mNxASzA5tqUUUoN9swq6XAnF7qfteQE4j7",
      "domain": null,
      "interfaces": [
        "wallet_v4r2"
      ]
    }
  },
  "metadata": {
    "0:000000F6FCDC61D96265CA6B31BD98505AC3823B77FA8346264A5EBD7D1AB446": {
      "is_indexed": true,
      "token_info": [
        {
          "valid": false,
          "type": "nft_items",
          "nft_index": "4723"
        }
      ]
    },
    "0:4357CFBB796F7E1CD0FF86111FEA43EAFF16A6184265FAA6A7BBC085CB550F2D": {
      "is_indexed": true,
      "token_info": [
        {
          "valid": false,
          "type": "nft_collections"
        }
      ]
    }
  }
}