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
Fields
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
address | string | Yes | — | TRON Base58Check address. type=0 supports regular accounts only. type=1 and type=2 also support contract addresses. |
type | integer | No | 0 | 0 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
Fields
Full tags (type=0, default)
| Field | Type | Required | Description |
|---|---|---|---|
blueTag | string | Optional | Project tag that identifies the project the account belongs to. For example, JustLend identifies an account belonging to the JustLend project. |
greyTag | string | Optional | Attribute tag typically used to identify the account type. For example, Exchange identifies an exchange account. This tag is uncommon. |
redTag | string | Optional | Risk tag indicating that the account may pose a risk. An empty string ("") indicates that the account currently has no risk flag. |
publicTag | string | Optional | Public tag that identifies the account’s public identity or purpose. For example, Binance Hot Wallet identifies a Binance hot wallet. |
chainTags | object | Required | On-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 []. |
refreshTimeInfo | object | Optional | Data 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
| Category | Type | Required | Description |
|---|---|---|---|
Assets | array | Required | Asset tags (e.g. High Balance / Whale) |
Activity | array | Required | Activity tags (e.g. High Activity / Large Trader) |
DeFi | array | Required | DeFi tags (e.g. Lender on JustLend) |
NFT | array | Required | NFT tags (e.g. NFT Collector) |
Governance | array | Required | Governance tags |
Tag elements in chainTags for type=0
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
tagName | string | Required | Tag name | — |
tagNameKey | string | Required | Tag name key | — |
tagDesc | string | Required | Tag description | — |
tagDescKey | string | Required | Tag description key | — |
refreshTimeInfo object for type=0
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
type | string | Required | Refresh type (e.g. realtime) | — |
lastUpdateTime | integer | Required | Last update time | seconds timestamp |
Basic tags (type=1)
| Field | Type | Required | Description |
|---|---|---|---|
blueTag | string | Required | Project tag that identifies the project the account belongs to. For example, JustLend identifies an account belonging to the JustLend project. |
greyTag | string | Required | Attribute tag typically used to identify the account type. For example, Exchange identifies an exchange account. This tag is uncommon. |
redTag | string | Required | Risk tag indicating that the account may pose a risk. An empty string ("") indicates that the account currently has no risk flag. |
publicTag | string | Optional | Public 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)
| Field | Type | Required | Description |
|---|---|---|---|
isScam | boolean | Required | true 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
401if not provided. - Returns HTTP
400ifaddressis missing or invalid, or iftypeparses as an integer outside0–2. - Returns business error code
1000with the messageContracts are not supported yet.for contract addresses queried withtype=0. - Returns HTTP
500if the tag lookup fails.