DEX Ranger Token Checker
Check any token on ETH, SOL, BSC, or TON for rug pull risk via dexranger.com. No API key required.
Usage
Run the bundled script:
python3 scripts/dexranger_check.py <CHAIN> <TOKEN_ADDRESS>
python3 scripts/dexranger_check.py <CHAIN> <TOKEN_ADDRESS> --json
python3 scripts/dexranger_check.py <CHAIN> <TOKEN_ADDRESS> --raw
- Default output: human-readable summary
--json: structured JSON (excludes bulky trade_activity)
--raw: full JSON including trade_activity
Chain Detection
If the user provides only a token address, infer the chain:
- Starts with
0x → try ETH, then BSC
- Base58 string (32-44 chars) →
SOL
- Starts with
EQ or UQ → TON
When unsure, try chains in order: SOL → ETH → BSC → TON.
Trust Score
| Score |
Rating |
Meaning |
| 80-100 |
GOOD |
Low risk |
| 50-79 |
WARNING |
Moderate risk, warning factors |
| 0-49 |
DANGER |
High risk, red flags |
Key Response Fields
score: Trust score 0-100
warnings: Moderate risk factors (e.g., "Pause/Unpause function present")
red_flags: High risk factors
price, market_cap, total_liquidity: Market data
verified: Contract verified (ETH/BSC only)
- ETH/BSC flags:
mint, burn, pause, blacklist, setfees, transferownership, emergencywithdraw
- SOL flags:
mint_authority, freeze_authority, mutable, transfer_fee_config
social_links, top5_holders, wp_link, coingecko_id
Presenting Results
When presenting to the user, highlight:
- Token name, symbol, and chain
- Trust score with rating (GOOD/WARNING/DANGER)
- Any warnings or red flags (these are the most important)
- Key market data (price, liquidity, market cap)
- Notable contract flags that are enabled (pause, mint, blacklist, etc.)
- Link to the full report:
https://dexranger.com/{CHAIN}/{ADDRESS}/
1---2name: dexranger3description: Check crypto tokens for rug pull risk and scams using DEX Ranger. Use when the user wants to check a token's trust score, safety, warnings, or red flags on Ethereum (ETH), Solana (SOL), BSC, or TON. Also use when the user provides a token contract address and wants to know if it's safe, a scam, or a rug pull.4---56# DEX Ranger Token Checker78Check any token on ETH, SOL, BSC, or TON for rug pull risk via [dexranger.com](https://dexranger.com). No API key required.910## Usage1112Run the bundled script:1314```bash15python3 scripts/dexranger_check.py <CHAIN> <TOKEN_ADDRESS>16python3 scripts/dexranger_check.py <CHAIN> <TOKEN_ADDRESS> --json17python3 scripts/dexranger_check.py <CHAIN> <TOKEN_ADDRESS> --raw18```1920- Default output: human-readable summary21- `--json`: structured JSON (excludes bulky trade_activity)22- `--raw`: full JSON including trade_activity2324## Chain Detection2526If the user provides only a token address, infer the chain:2728- Starts with `0x` → try `ETH`, then `BSC`29- Base58 string (32-44 chars) → `SOL`30- Starts with `EQ` or `UQ` → `TON`3132When unsure, try chains in order: `SOL` → `ETH` → `BSC` → `TON`.3334## Trust Score3536| Score | Rating | Meaning |37|-------|--------|---------|38| 80-100 | GOOD | Low risk |39| 50-79 | WARNING | Moderate risk, warning factors |40| 0-49 | DANGER | High risk, red flags |4142## Key Response Fields4344- `score`: Trust score 0-10045- `warnings`: Moderate risk factors (e.g., "Pause/Unpause function present")46- `red_flags`: High risk factors47- `price`, `market_cap`, `total_liquidity`: Market data48- `verified`: Contract verified (ETH/BSC only)49- ETH/BSC flags: `mint`, `burn`, `pause`, `blacklist`, `setfees`, `transferownership`, `emergencywithdraw`50- SOL flags: `mint_authority`, `freeze_authority`, `mutable`, `transfer_fee_config`51- `social_links`, `top5_holders`, `wp_link`, `coingecko_id`5253## Presenting Results5455When presenting to the user, highlight:56571. Token name, symbol, and chain582. Trust score with rating (GOOD/WARNING/DANGER)593. Any warnings or red flags (these are the most important)604. Key market data (price, liquidity, market cap)615. Notable contract flags that are enabled (pause, mint, blacklist, etc.)626. Link to the full report: `https://dexranger.com/{CHAIN}/{ADDRESS}/`