Skip to main content
GET
/
api
/
v2
/
getTokenData
Get token data
curl --request GET \
  --url https://toncenter.com/api/v2/getTokenData \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "result": {
    "@type": "ext.tokens.jettonMasterData",
    "address": "<string>",
    "contract_type": "jetton_master",
    "total_supply": "<string>",
    "mintable": true,
    "jetton_content": {
      "type": "onchain",
      "data": "<string>"
    },
    "jetton_wallet_code": "<string>",
    "admin_address": "<string>"
  },
  "@extra": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

address
string
required

The account address to query. You can use any format: raw (0:abcd), base64 (EQ), or base64url (UQ). The API automatically detects and converts the format. A TON account address. Accepts raw format (workchain:hex like 0:abc...), base64 bounceable (EQ...), base64 non-bounceable (UQ...), or base64url. All formats are automatically detected.

Response

OK

Response containing Jetton or NFT token metadata.

ok
boolean
default:true
required

Indicates if the request succeeded. If false, check the error field for details.

result
object
required

The response data. Only present when ok is true.

  • Option 1
  • Option 2
  • Option 3
  • Option 4
@extra
string

Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.