Security Service API
Check account security
https://apilist.tronscanapi.com/api/security/account/data?address=TT2T17KZhoDu47i2E4FWxfG79zdkEWkU9N
Try this endpoint in your browse
Query Parameter
Parameter | Description |
---|---|
address | Account address |
Sample response
{
"send_ad_by_memo": false, // account sent advertising frequently or not
"has_fraud_transaction": false, // account has fraud transactions or not
"fraud_token_creator": false, // account is the creator of fraud tokens or not
"is_black_list": false // account is in black list of stable coin
}
Check token security
https://apilist.tronscanapi.com/api/security/token/data?address=TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn
Try this endpoint in your browse
Query Parameter
Parameter | Description |
---|---|
address | Token ID for TRC10 or token address for TRC20/TRC721/TRC1155 |
Sample response
{
"is_vip": true, // token is issued by a well-known institution or not(it is in vip token list or not)
"black_list_type": 2, // token's contract has blacklist or not (0-not recognized, 1-has black list, 2-do not have backlist)
"increase_total_supply": 1, // can increase token's total supply (0-not recognized, 1-increase allowed, 2-increase not allowed)
"token_level": "2", // token level. 0: Unknown. 1: Neutral. 2: OK. 3: Suspicious. 4: Unsafe
"has_url": false, // name or symbol contains url or not
"swap_token": true, // is token on sun.io
"sun_liquidity": "46004551.623228", // token liquidity,unit is dollor
"open_source": false, // token's contract is open source or not
"is_proxy": false // token's contract has proxy contract or not
}
Check url security
https://apilist.tronscanapi.com/api/security/url/data?url=www.google.com.hk
Try this endpoint in your browser 🔗
Query Parameter
Parameter | Description |
---|---|
url | Target URL |
Sample response
{
"cheat_url": false // Whether it is a risk URL
}
Check transactions security
https://apilist.tronscanapi.com/api/security/transaction/data?hashes=573fbca36c91193ef2385ff34ab96264f5ce84dd1a8aeef50e21cf46d9178945,fc72dedf9de595db345664a84cb5b9b07017c75989ec71bd0cc45da44bbd2e1a,7413fb017be53822a47d086a45632636e83f0c0bc1fe34f88f9328f167883e3e
Try this endpoint in your browser 🔗
Query Parameter
Parameter | Description |
---|---|
hashes | Transaction hashes, separated with commas |
Sample response
{
"573fbca36c91193ef2385ff34ab96264f5ce84dd1a8aeef50e21cf46d9178945": {
"riskToken": false, // Whether it is a risk token
"zeroTransfer": false, // Whether the transfer amount is 0
"riskAddress": false, // Whether it is a risk address
"sameTailAttach": true, // Whether it is an attack from an address with the same ending characters as that of the user's address
"riskTransaction": true // Whether it is a risk transaction
},
"7413fb017be53822a47d086a45632636e83f0c0bc1fe34f88f9328f167883e3e": {
"riskToken": false,
"zeroTransfer": true,
"riskAddress": false,
"sameTailAttach": false,
"riskTransaction": true
},
"fc72dedf9de595db345664a84cb5b9b07017c75989ec71bd0cc45da44bbd2e1a": {
"riskToken": false,
"zeroTransfer": false,
"riskAddress": true,
"sameTailAttach": false,
"riskTransaction": true
}
}
Check multi sign security
https://apilist.tronscanapi.com/api/security/sign/data?address=THSiB9MT2sCnAUgnYs9euMCY9aiZCD4HB5
Try this endpoint in your browse
Query Parameter
Parameter | Description |
---|---|
address | Account address |
Sample response
{
"multiSignOwnerPermissionAddress": [
"TKNAHSPfXULFvhYz5YdYcXYitE9xhSkbyY" // Account, which owner permissions are granted
],
"multiSignActivePermissionAddress": [
"TKNAHSPfXULFvhYz5YdYcXYitE9xhSkbyY" // Account, which active permissions are granted
],
"multiSign": true,
"ownerPermission": { // owner permission detail
"keys": [
{
"address": "THSiB9MT2sCnAUgnYs9euMCY9aiZCD4HB5",
"weight": 1
},
{
"address": "TKNAHSPfXULFvhYz5YdYcXYitE9xhSkbyY",
"weight": 1
}
],
"threshold": 1,
"permission_name": "owner"
},
"activePermissions": [ // active permission detail
{
"operations": "7fff1fc0033efb07000000000000000000000000000000000000000000000000",
"keys": [
{
"address": "THSiB9MT2sCnAUgnYs9euMCY9aiZCD4HB5",
"weight": 1
},
{
"address": "TKNAHSPfXULFvhYz5YdYcXYitE9xhSkbyY",
"weight": 1
}
],
"threshold": 1,
"id": 2,
"type": "Active",
"permission_name": "active"
}
],
"multiSignWitnessPermissionAddress": [] // Account, which witness permissions are granted
}
Check account authorization security
https://apilist.tronscanapi.com/api/security/auth/data?address=THSiB9MT2sCnAUgnYs9euMCY9aiZCD4HB5
Try this endpoint in your browse
Query Parameter
Parameter | Description |
---|---|
address | Account address |
Sample response
{
"approveProjectCount": 1, // Number of Authorized Items
"approveTokenCount": 1, // Number of Authorized Tokens
"approveAddressCount": 1, // Number of Authorized Address
"approveRiskContractCount": 0, // Number of authorized risk contracts
"approveRiskAccountCount": 1, // Number of authorized risk accounts
"approveRiskAddressCount": 1 // Number of authorized risk addresses(approveRiskContractCount + approveRiskAccountCount)
"riskApprove": [ // Risk Authorization List
{
"amount": "1",
"unlimited": false,
"to_address": "TKNAHSPfXULFvhYz5YdYcXYitE9xhSkbyY",
"contract_address": "TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf",
"from_address": "THSiB9MT2sCnAUgnYs9euMCY9aiZCD4HB5",
"tokenInfo": {
"tokenId": "TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf",
"tokenAbbr": "USDT",
"tokenName": "Tether USD",
"tokenDecimal": 6,
"tokenCanShow": 1,
"tokenType": "trc20",
"tokenLogo": "https://static.tronscan.org/production/logo/usdtlogo.png",
"tokenLevel": "1",
"issuerAddr": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC",
"vip": false
},
"project": {
"id": "TKNAHSPfXULFvhYz5YdYcXYitE9xhSkbyY"
},
"project_id": "TKNAHSPfXULFvhYz5YdYcXYitE9xhSkbyY",
"project_sort": 2147483647,
"operate_time": 1689221733000
}
]
}
Get all tokens in TronScan
https://apilist.tronscan.org/api/token/all?start=0&limit=50
Try this endpoint in your browse
Query Parameter
Parameter | Description |
---|---|
start | Start index |
limit | Token count per page |
{
"total": 96396, //total count
"page_size": 2, //page size
"data": [
{
"type": "trc20", // token type
"contract": "TKU5qFEKRRjx86dWKRYHkZgvxrSoHAbPVX", //token address
"project": "", // token's project
"symbol": "PKER", // token symbol
"name": "PKER", // token name
"logo": "", // token logo
"decimals": 18, // token decimals
"reputation": "1", // token level
"price": "", // token price($)
"total supply": 100000000000, // token's total supply
"token holders": 3, // token holder count
"total transfers": 8, // token total transfer count
"24h transfers": 0, // token transfer count in 24 hours
"occurrences": 2, // count of token's platforms(count of aggregators)
"aggregators": [ // token belongs to platforms(TronScan、Sunswap、Coingecko、Coinmarketcap)
"TronScan",
"Sunswap"
]
},
{
"type": "trc20",
"contract": "TTe98BF3yQV4fmvGY7fAkfazTNr2dhFUTZ",
"project": "SunSwap",
"symbol": "S-TONK-TRX",
"name": "SUNSWAP-TONK-TRX",
"logo": "",
"decimals": 6,
"reputation": "1",
"price": "",
"total supply": 3000,
"token holders": 1,
"total transfers": 2,
"24h transfers": 0,
"occurrences": 1,
"aggregators": [
"TronScan"
]
}
]
}
Last updated