Skip to Content
APIAccountGet Account Tags

Get Account Tags

1. Overview & Typical Use

Look up an account’s project, attribute, risk, public, and on-chain behavior tags. Use type to select full tags, basic tags, or scam status. The default mode supports regular accounts only. Modes type=1 and type=2 also support contract addresses.

  • Typical use: quickly understand the on-chain behavior profile of an account.
  • When not to use: to query account balance, use an account endpoint.

2. Endpoint & Authentication

GET /api/account/tag

For Base URL and authentication, see Common Network & Authentication.

This endpoint requires API Key: calls without a key return 401.

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYes—TRON Base58Check address. type=0 supports regular accounts only. type=1 and type=2 also support contract addresses.
typeintegerNo00 for full tags, 1 for basic tags (blueTag, greyTag, redTag, publicTag), 2 for scam status (isScam only). The default applies when type is omitted, blank, or cannot be parsed as an integer.

4. Response

Full tags (type=0, default)

FieldTypeRequiredDescription
blueTagstringOptionalProject tag that identifies the project the account belongs to. For example, JustLend identifies an account belonging to the JustLend project.
greyTagstringOptionalAttribute tag typically used to identify the account type. For example, Exchange identifies an exchange account. This tag is uncommon.
redTagstringOptionalRisk tag indicating that the account may pose a risk. An empty string ("") indicates that the account currently has no risk flag.
publicTagstringOptionalPublic tag that identifies the account’s public identity or purpose. For example, Binance Hot Wallet identifies a Binance hot wallet.
chainTagsobjectRequiredOn-chain behavior tags grouped by the account’s assets, on-chain activity, participation in DeFi projects, NFT activity, and governance participation. A category with no matching tags contains an empty array [].
refreshTimeInfoobjectOptionalData refresh time information, when available.

The response omits blueTag, greyTag, redTag, and publicTag when the address has no record. It also omits publicTag when the public tag value is null for a recorded address.

When an account has no matching on-chain behavior tags, chainTags still contains all five categories below, each with an empty array [].

chainTags categories for type=0

CategoryTypeRequiredDescription
AssetsarrayRequiredAsset tags (e.g. High Balance / Whale)
ActivityarrayRequiredActivity tags (e.g. High Activity / Large Trader)
DeFiarrayRequiredDeFi tags (e.g. Lender on JustLend)
NFTarrayRequiredNFT tags (e.g. NFT Collector)
GovernancearrayRequiredGovernance tags

Tag elements in chainTags for type=0

FieldTypeRequiredDescriptionUnit/Precision
tagNamestringRequiredTag name—
tagNameKeystringRequiredTag name key—
tagDescstringRequiredTag description—
tagDescKeystringRequiredTag description key—

refreshTimeInfo object for type=0

FieldTypeRequiredDescriptionUnit/Precision
typestringRequiredRefresh type (e.g. realtime)—
lastUpdateTimeintegerRequiredLast update timeseconds timestamp

Basic tags (type=1)

FieldTypeRequiredDescription
blueTagstringRequiredProject tag that identifies the project the account belongs to. For example, JustLend identifies an account belonging to the JustLend project.
greyTagstringRequiredAttribute tag typically used to identify the account type. For example, Exchange identifies an exchange account. This tag is uncommon.
redTagstringRequiredRisk tag indicating that the account may pose a risk. An empty string ("") indicates that the account currently has no risk flag.
publicTagstringOptionalPublic tag that identifies the account’s public identity or purpose. For example, Binance Hot Wallet identifies a Binance hot wallet. The response omits this field when its value is null.

All four fields contain empty strings when the address has no record.

Scam status (type=2)

FieldTypeRequiredDescription
isScambooleanRequiredtrue when the risk tag includes Suspicious or a user report has been reviewed and confirmed. Otherwise false, including for unrecorded addresses.

5. Errors

For HTTP status codes, see Common Errors. Key points for this endpoint:

  • API Key required: returns 401 if not provided.
  • Returns HTTP 400 if address is missing or invalid, or if type parses as an integer outside 0–2.
  • Returns business error code 1000 with the message Contracts are not supported yet. for contract addresses queried with type=0.
  • Returns HTTP 500 if the tag lookup fails.