riskLevel. One call, one decision, one saved bag.
Paid endpoint. Pass your key in the
x-api-key header. See Get an API key.Why agents use this
- Freeze authority = they can seize your tokens. If it’s set, you’re one signature away from being locked out. Auto-reject.
- Mint authority = infinite dilution risk. Legit tokens renounce it. Meme rug tokens keep it.
- Top 10 concentration. If the top 10 wallets hold 90%, that’s a dump waiting to happen.
- Pre-computed
riskLevelfor lazy checks. Agents can just gate onsecurity.riskLevel === "LOW"and move on.
Use cases
- Auto-reject rugs in a Jupiter swap flow. Before executing any quote, call
token-profileon the output mint and abort ifriskLevel: HIGH. - Telegram rug detector bot. Cron this against every token users report holding. DM them the moment freeze authority is added or top-holder concentration spikes.
- Concentration risk score in a portfolio dashboard. Show users a red/yellow/green badge per holding based on the top 10 holder %.
- “Should I ape?” MCP tool. Wire this into Claude Desktop so users typing “check this contract” get a real answer instead of a hallucinated one.
- Snapshot audit trail. Log every mint’s profile at trade time so you have proof of what looked safe when your bot bought.
Recipe: gate every Jupiter swap on token safety
safe-swap.ts