Skip to main content
GET
/
getTokenData
Get NFT or Jetton metadata
curl --request GET \
  --url https://toncenter.com/api/v2/getTokenData
{
  "ok": true,
  "result": {
    "@type": "nft.item",
    "init": true,
    "index": 123,
    "owner_address": "EQ...",
    "collection_address": "EQ...",
    "content": {
      "uri": "ipfs://..."
    },
    "metadata": {
      "name": "Example NFT",
      "image": "ipfs://..."
    }
  }
}

Query Parameters

address
string
required

Address of NFT collection/item or Jetton master/wallet smart contract

Response

Successful Response

ok
boolean
required
result
object

NFT or Jetton information as returned by tonlib; varies by contract type.

error
string
code
integer
I