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 ONLY valid 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 are string format, convert when using
- Audit results are ONLY valid when
hasResult: true AND isSupported: true
riskLevel: 5 means transaction should be blocked; riskLevel: 4 is high risk
- Tax thresholds: >10% is critical, 5-10% is warning, <5% is acceptable
- Generate unique UUID v4 for each audit request
- Only output security check risk flags, do NOT provide any investment advice
- Always end with disclaimer:
⚠️ This audit result is for reference only and does not constitute investment advice. Always conduct your own research.
1---2name: binance-token-audit3description: Query token security audit via Binance Web3 API to detect scams, honeypots, and malicious contracts before trading. Returns comprehensive security analysis including contract risks, trading risks, and scam detection across BSC, Base, Solana, and Ethereum.4license: MIT5---67# Query Token Audit Skill89## Overview1011| API | Function | Use Case |12|-----|---------------------|----------|13| Token Security Audit | Token security scan | Detect honeypot, rug pull, scam, malicious functions |1415## Use Cases16171. **Pre-Trade Safety Check**: Verify token security before buying or swapping182. **Scam Detection**: Identify honeypots, fake tokens, and malicious contracts193. **Contract Analysis**: Check for dangerous ownership functions and hidden risks204. **Tax Verification**: Detect unusual buy/sell taxes before trading2122## Supported Chains2324| Chain Name | chainId |25|------------|---------|26| BSC | 56 |27| Base | 8453 |28| Solana | CT_501 |29| Ethereum | 1 |3031---3233## API: Token Security Audit3435### Method: POST3637**URL**: 38```39https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit40```4142**Request Parameters**:4344| Parameter | Type | Required | Description |45|-----------|------|----------|-------------|46| binanceChainId | string | Yes | Chain ID: `CT_501` (Solana), `56` (BSC), `8453` (Base), `1` (Ethereum) |47| contractAddress | string | Yes | Token contract address |48| requestId | string | Yes | Unique request ID (UUID v4 format) |4950**Request Headers**:51```52Content-Type: application/json53Accept-Encoding: identity54```5556**Example Request**:57```bash58curl --location 'https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit' \59--header 'Content-Type: application/json' \60--header 'source: agent' \61--header 'Accept-Encoding: identity' \62--data '{63 "binanceChainId": "56",64 "contractAddress": "0x55d398326f99059ff775485246999027b3197955",65 "requestId": "'$(uuidgen)'"66}'67```6869**Response Example**:70```json71{72 "code": "000000",73 "data": {74 "requestId": "d6727c70-de6c-4fad-b1d7-c05422d5f26b",75 "hasResult": true,76 "isSupported": true,77 "riskLevelEnum": "LOW",78 "riskLevel": 1,79 "extraInfo": {80 "buyTax": "0",81 "sellTax": "0",82 "isVerified": true83 },84 "riskItems": [85 {86 "id": "CONTRACT_RISK",87 "name": "Contract Risk",88 "details": [89 {90 "title": "Honeypot Risk Not Found",91 "description": "A honeypot is a token that can be bought but not sold",92 "isHit": false,93 "riskType": "RISK"94 }95 ]96 }97 ]98 },99 "success": true100}101```102103**Response Fields**:104105| Field | Type | Description |106|-----------------------------------|------|-----------------------------------------------------------|107| hasResult | boolean | Whether audit data is available |108| isSupported | boolean | Whether the token is supported for audit |109| riskLevelEnum | string | Risk level: `LOW`, `MEDIUM`, `HIGH` |110| riskLevel | number | Risk level number (1-5) |111| extraInfo.buyTax | string | Buy tax percentage (null if unknown) |112| extraInfo.sellTax | string | Sell tax percentage (null if unknown) |113| extraInfo.isVerified | boolean | Whether contract code is verified |114| riskItems[].id | string | Risk category: `CONTRACT_RISK`, `TRADE_RISK`, `SCAM_RISK` |115| riskItems[].details[].title | string | Risk check title |116| riskItems[].details[].description | string | Risk check description |117| riskItems[].details[].isHit | boolean | true = risk detected |118| riskItems[].details[].riskType | string | `RISK` (critical) or `CAUTION` (warning) |119120**Risk Level Reference**:121122| riskLevel | riskLevelEnum | Action | Description |123|-----------|---------------|--------|-------------|124| 0-1 | LOW | Proceed with caution | Lower risk detected, but NOT guaranteed safe. DYOR. |125| 2-3 | MEDIUM | Exercise caution | Moderate risks detected, review risk items carefully |126| 4 | HIGH | Avoid trading | Critical risks detected, high probability of loss |127| 5 | HIGH | Block transaction | Severe risks confirmed, do NOT proceed |128129**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.130131**Result Validity**:132133Audit results are ONLY valid when both conditions are met:134- `hasResult: true` — Audit data is available135- `isSupported: true` — Token is supported for audit136137When invalid, do NOT display risk level or security checks.138139---140141## Notes1421431. All numeric fields are string format, convert when using1442. Audit results are ONLY valid when `hasResult: true` AND `isSupported: true`1453. `riskLevel: 5` means transaction should be blocked; `riskLevel: 4` is high risk1464. Tax thresholds: >10% is critical, 5-10% is warning, <5% is acceptable1475. Generate unique UUID v4 for each audit request1486. Only output security check risk flags, do NOT provide any investment advice 1497. Always end with disclaimer: `⚠️ This audit result is for reference only and does not constitute investment advice. Always conduct your own research.`