Token Security
Check token security flags and risk indicators.
| Property | Value |
|---|---|
| Endpoint | /api/token/security |
| Method | POST |
| Credits | 2 |
Request Body
chainstring, requiredChain name or ID
tokenAddressstring, requiredToken contract address
Example
curl -X POST https://kittyhome.pages.dev/api/token/security \
-H "Authorization: Bearer kk_your_key" \
-H "Content-Type: application/json" \
-d '{"chain": "bsc", "tokenAddress": "0x..."}'
Response Data
{
"isMalicious": false,
"positiveFlags": [],
"positiveFlagDetails": [],
"details": {
"is_open_source": "1",
"is_honeypot": "0",
"is_mintable": "0",
"buy_tax": "0",
"sell_tax": "0"
},
"holders": [...],
"lpHolders": [...],
"dex": [...]
}
If isMalicious is true, the positiveFlagDetails array contains the specific risk flags detected (e.g. honeypot, mintable, hidden owner).