Endpoint:
GET /token-risks · 5000 credits per request · X-API-KEY auth. See the API reference for the full schema.What “token risk” means
A token risk is a property of the contract that lets the deployer (or the code itself) harm holders — by seizing funds, blocking trades, silently changing balances, or changing the rules later. These are logic-level problems, not price or market problems: a token can have great volume and still be a honeypot.Risk categories
Every finding comes back with atitle, a severity, a value ("true" = the risk is present), a plain-English note, and a technical description. The main categories:
Owner & centralization powers
Owner & centralization powers
The deployer keeps privileged control over the token or its funds.
- Centralized Mint — Dev can print new tokens anytime (dilutes holders to zero).
- Centralized Burn — Dev can delete your tokens.
- Balance Manipulation — Dev can secretly change your balance.
- Unauthorized Token Approvals — Dev can spend your tokens without asking.
- Asset Withdrawal — Dev can drain the contract’s tokens.
- ETH Balance Sweep — Dev can drain the contract’s ETH.
Trading restrictions
Trading restrictions
The contract can stop specific users (or everyone) from selling.
- Blacklist — Dev can block certain wallets from trading.
- Whitelist — Only approved wallets can trade.
- Blockable Transfer — Dev can stop you from sending tokens.
- Pausable — Dev has a freeze button for all trades.
- Cooldown checks — You need to wait before sending again.
Fees & transfer integrity
Fees & transfer integrity
What you send isn’t what arrives, or transfers aren’t recorded faithfully.
- Hidden fees — Surprise taxes on every move.
- Basic Transfer Fee — Hidden fee on each transfer.
- Transfer event amount mismatch — What you see isn’t what was sent.
- No Transfer event emitted — Transfers happen without any record (breaks explorers/indexers).
- Approval event not emitted — Approvals happen invisibly.
Mutability & opacity
Mutability & opacity
The contract can change after you buy, or is deliberately hard to verify.
- Proxy (Upgradeable) / Upgradeable — Rules can change after you buy / code can be swapped anytime.
- Selfdestruct — Token can delete itself and your money.
- External call in transfer — Hidden code executes during transfers.
- Assembly usage in transfer — Code is complex and hard to verify.
- Not fully ERC20 compliant — Token doesn’t follow standard token rules.
How it works
Token Risks is powered by Hexens and its Glider engine. Instead of pattern-matching bytecode, Glider reasons over the contract’s functions, execution paths, and dependencies to find logic-level threats. CoinStats then shapes the result into a stable response:score— overall risk,0–100. Higher means riskier.results[]— individual findings, each withseverity(critical→high→medium→low→minor), a plain-Englishnote, and a technicaldescription.marketEndorsed— whether the token is endorsed by market consensus.ownershipRenounced— whether contract ownership has been renounced (no owner = many owner-powers can’t be used).
results list.
Why it’s better than the alternatives
Most token scanners are heuristic flag-lists: they miss logic-level scams or bury you in false positives. Per the Glider benchmark, Glider caught every critical threat with no false positives, while competing tools missed between 40% and 75% of the same risks. And because Token Risks runs on the same platform as prices, wallets, and portfolios, it’s one API key and one integration — no separate security vendor to bolt on, and the same data that powers risk warnings for 1M+ CoinStats users.Using the API
Query by CoinStatscoinId or a raw contractAddress + chain pair. Optional sortBy=severity orders findings critical → minor.
Token Risks API Reference
Full request/response schema, parameters, and try-it console.
How CoinStats scores token risk
The Hexens Glider approach and the benchmark behind it.