Query Token Audit Skill
Overview
| API |
Function |
Use Case |
| Token Security Audit |
Token security scan |
Detect honeypot, rug pull, scam, malicious functions |
Use Cases
- Pre-Trade Safety Check: Verify token security before buying or swapping
- Scam Detection: Identify honeypots, fake tokens, and malicious contracts
- Contract Analysis: Check for dangerous ownership functions and hidden risks
- Tax Verification: Detect unusual buy/sell taxes before trading
Supported Chains
| Chain Name |
chainId |
| BSC |
56 |
| Base |
8453 |
| Solana |
CT_501 |
| Ethereum |
1 |
API: Token Security Audit
Method: POST
URL:
https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit
Request Parameters:
| Parameter |
Type |
Required |
Description |
| binanceChainId |
string |
Yes |
Chain ID: CT_501 (Solana), 56 (BSC), 8453 (Base), 1 (Ethereum) |
| contractAddress |
string |
Yes |
Token contract address |
| requestId |
string |
Yes |
Unique request ID (UUID v4 format) |
Request Headers:
Content-Type: application/json
Accept-Encoding: identity
Example Request:
curl --location 'https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit' \
--header 'Content-Type: application/json' \
--header 'source: agent' \
--header 'Accept-Encoding: identity' \
--data '{
"binanceChainId": "56",
"contractAddress": "0x55d398326f99059ff775485246999027b3197955",
"requestId": "'$(uuidgen)'"
}'
Response Example:
{
"code": "000000",
"data": {
"requestId": "d6727c70-de6c-4fad-b1d7-c05422d5f26b",
"hasResult": true,
"isSupported": true,
"riskLevelEnum": "LOW",
"riskLevel": 1,
"extraInfo": {
"buyTax": "0",
"sellTax": "0",
"isVerified": true
},
"riskItems": [
{
"id": "CONTRACT_RISK",
"name": "Contract Risk",
"details": [
{
"title": "Honeypot Risk Not Found",
"description": "A honeypot is a token that can be bought but not sold",
"isHit": false,
"riskType": "RISK"
}
]
}
]
},
"success": true
}
Response Fields:
| Field |
Type |
Description |
| hasResult |
boolean |
Whether audit data is available |
| isSupported |
boolean |
Whether the token is supported for audit |
| riskLevelEnum |
string |
Risk level: LOW, MEDIUM, HIGH |
| riskLevel |
number |
Risk level number (1-5) |
| extraInfo.buyTax |
string |
Buy tax percentage (null if unknown) |
| extraInfo.sellTax |
string |
Sell tax percentage (null if unknown) |
| extraInfo.isVerified |
boolean |
Whether contract code is verified |
| riskItems[].id |
string |
Risk category: CONTRACT_RISK, TRADE_RISK, SCAM_RISK |
| riskItems[].details[].title |
string |
Risk check title |
| riskItems[].details[].description |
string |
Risk check description |
| riskItems[].details[].isHit |
boolean |
true = risk detected |
| riskItems[].details[].riskType |
string |
RISK (critical) or CAUTION (warning) |
Risk Level Reference:
| riskLevel |
riskLevelEnum |
Action |
Description |
| 0-1 |
LOW |
Proceed with caution |
Lower risk detected, but not guaranteed safe. DYOR. |
| 2-3 |
MEDIUM |
Exercise caution |
Moderate risks detected, review risk items carefully |
| 4 |
HIGH |
Avoid trading |
Critical risks detected, high probability of loss |
| 5 |
HIGH |
Block transaction |
Severe risks confirmed, do not proceed |
IMPORTANT: LOW risk does not mean "safe." Audit results are point-in-time snapshots. Project teams can modify contracts or restrict liquidity after purchase. These risks cannot be predicted in advance.
Result Validity:
Audit results are valid only when both conditions are met:
hasResult: true - Audit data is available
isSupported: true - Token is supported for audit
When invalid, do not display risk level or security checks.
Notes
- All numeric fields may be returned in string format; convert when needed
- Audit results are valid only when
hasResult: true and isSupported: true
riskLevel: 5 means transaction should be blocked; riskLevel: 4 is high risk
- Tax thresholds: above 10% is critical, 5-10% is warning, below 5% is acceptable
- Generate a unique UUID v4 for each audit request
- Output only security check risk flags; do not provide investment advice
- Always end with this disclaimer:
This audit result is for reference only and does not constitute investment advice. Always conduct your own research.
1---2name: query-token-audit3description: Use this skill when checking token security before swaps or trades, including honeypot risk, scam indicators, malicious contract functions, dangerous ownership settings, unusual taxes, and supported-chain audit data.4---56# Query Token Audit Skill78## Overview910| API | Function | Use Case |11|-----|----------|----------|12| Token Security Audit | Token security scan | Detect honeypot, rug pull, scam, malicious functions |1314## Use Cases15161. **Pre-Trade Safety Check**: Verify token security before buying or swapping172. **Scam Detection**: Identify honeypots, fake tokens, and malicious contracts183. **Contract Analysis**: Check for dangerous ownership functions and hidden risks194. **Tax Verification**: Detect unusual buy/sell taxes before trading2021## Supported Chains2223| Chain Name | chainId |24|------------|---------|25| BSC | 56 |26| Base | 8453 |27| Solana | CT_501 |28| Ethereum | 1 |2930---3132## API: Token Security Audit3334### Method: POST3536**URL**:37`https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit`3839**Request Parameters**:4041| Parameter | Type | Required | Description |42|-----------|------|----------|-------------|43| binanceChainId | string | Yes | Chain ID: `CT_501` (Solana), `56` (BSC), `8453` (Base), `1` (Ethereum) |44| contractAddress | string | Yes | Token contract address |45| requestId | string | Yes | Unique request ID (UUID v4 format) |4647**Request Headers**:48```text49Content-Type: application/json50Accept-Encoding: identity51```5253**Example Request**:54```bash55curl --location 'https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit' \56--header 'Content-Type: application/json' \57--header 'source: agent' \58--header 'Accept-Encoding: identity' \59--data '{60 "binanceChainId": "56",61 "contractAddress": "0x55d398326f99059ff775485246999027b3197955",62 "requestId": "'$(uuidgen)'"63}'64```6566**Response Example**:67```json68{69 "code": "000000",70 "data": {71 "requestId": "d6727c70-de6c-4fad-b1d7-c05422d5f26b",72 "hasResult": true,73 "isSupported": true,74 "riskLevelEnum": "LOW",75 "riskLevel": 1,76 "extraInfo": {77 "buyTax": "0",78 "sellTax": "0",79 "isVerified": true80 },81 "riskItems": [82 {83 "id": "CONTRACT_RISK",84 "name": "Contract Risk",85 "details": [86 {87 "title": "Honeypot Risk Not Found",88 "description": "A honeypot is a token that can be bought but not sold",89 "isHit": false,90 "riskType": "RISK"91 }92 ]93 }94 ]95 },96 "success": true97}98```99100**Response Fields**:101102| Field | Type | Description |103|-------|------|-------------|104| hasResult | boolean | Whether audit data is available |105| isSupported | boolean | Whether the token is supported for audit |106| riskLevelEnum | string | Risk level: `LOW`, `MEDIUM`, `HIGH` |107| riskLevel | number | Risk level number (1-5) |108| extraInfo.buyTax | string | Buy tax percentage (null if unknown) |109| extraInfo.sellTax | string | Sell tax percentage (null if unknown) |110| extraInfo.isVerified | boolean | Whether contract code is verified |111| riskItems[].id | string | Risk category: `CONTRACT_RISK`, `TRADE_RISK`, `SCAM_RISK` |112| riskItems[].details[].title | string | Risk check title |113| riskItems[].details[].description | string | Risk check description |114| riskItems[].details[].isHit | boolean | true = risk detected |115| riskItems[].details[].riskType | string | `RISK` (critical) or `CAUTION` (warning) |116117**Risk Level Reference**:118119| riskLevel | riskLevelEnum | Action | Description |120|-----------|---------------|--------|-------------|121| 0-1 | LOW | Proceed with caution | Lower risk detected, but not guaranteed safe. DYOR. |122| 2-3 | MEDIUM | Exercise caution | Moderate risks detected, review risk items carefully |123| 4 | HIGH | Avoid trading | Critical risks detected, high probability of loss |124| 5 | HIGH | Block transaction | Severe risks confirmed, do not proceed |125126**IMPORTANT**: LOW risk does not mean "safe." Audit results are point-in-time snapshots. Project teams can modify contracts or restrict liquidity after purchase. These risks cannot be predicted in advance.127128**Result Validity**:129130Audit results are valid only when both conditions are met:131- `hasResult: true` - Audit data is available132- `isSupported: true` - Token is supported for audit133134When invalid, do not display risk level or security checks.135136---137138## Notes1391401. All numeric fields may be returned in string format; convert when needed1412. Audit results are valid only when `hasResult: true` and `isSupported: true`1423. `riskLevel: 5` means transaction should be blocked; `riskLevel: 4` is high risk1434. Tax thresholds: above 10% is critical, 5-10% is warning, below 5% is acceptable1445. Generate a unique UUID v4 for each audit request1456. Output only security check risk flags; do not provide investment advice1467. Always end with this disclaimer: `This audit result is for reference only and does not constitute investment advice. Always conduct your own research.`