
I Built a Token Safety API for Solana — Scan Any Token in One HTTP Call
The Problem Before buying any Solana token, you need to check: mint authority, freeze authority, liquidity, volume, and rug pull risk. Doing this manually means checking multiple sites every time. I built an API that does all of it in one call. The API GET /api/scan?mint=TOKEN_ADDRESS&apiKey=YOUR_KEY Returns comprehensive token safety data: { "data" : { "name" : "Bonk" , "symbol" : "BONK" , "mintAuthority" : { "status" : "RENOUNCED" }, "freezeAuthority" : { "status" : "RENOUNCED" }, "price" : { "usd" : 0.00001847 }, "market" : { "liquidityUsd" : 18459233 , "volume24hUsd" : 89234521 }, "risk" : { "score" : 5 , "level" : "LOW" , "reasons" : [ "Moderate volume" ] } } } Risk Scoring (0-100) Check Points Condition Mint Authority +30 Active (can inflate supply) Freeze Authority +25 Active (can freeze tokens) Liquidity +5-25 Low = risky Volume +5-15 Low = risky JavaScript Example const res = await fetch ( `https://devtools-site-delta.vercel.app/api/scan?mint= ${ mint } &apiKey= ${ key } ` );
Continue reading on Dev.to Webdev
Opens in a new tab



