DEV Community

TateLyman
TateLyman

Posted on

I Built a Solana Token Risk API — Scan Any Token in 2 Seconds

If you build anything on Solana that touches tokens — a trading bot, a portfolio tracker, a DEX aggregator — you need a way to check if a token is safe before your users interact with it.

I built an API that scores any Solana token from 0-100 based on on-chain signals. One endpoint, JSON response, under 2 seconds.

What It Checks

  • Mint authority: Can the creator mint unlimited tokens? (-30 points)
  • Freeze authority: Can wallets be frozen? (-20 points)
  • Top holder concentration: Does one wallet hold 50%+? (-30 points)
  • Holder count: Fewer than 10 holders? (-10 points)
  • Jupiter verification: Listed and verified? (+0 to -15 points)

The API

GET https://devtools-site-delta.vercel.app/api/scan?mint=TOKEN_ADDRESS&key=YOUR_API_KEY
Enter fullscreen mode Exit fullscreen mode

Response:

{
  "score": 72,
  "verdict": "RELATIVELY_SAFE",
  "flags": {
    "mintAuthority": false,
    "freezeAuthority": false,
    "topHolderPct": 15.2,
    "holderCount": 847,
    "jupiterVerified": true
  }
}
Enter fullscreen mode Exit fullscreen mode

Pricing

  • Free tier: 10 scans/minute (no key needed)
  • Pro: 0.08 SOL (~) for 1,000 scans/day
  • Unlimited: 0.4 SOL (~) for 100K scans/day

Pay once in SOL, get an API key instantly. No KYC, no credit card, no monthly billing.

Who Uses This

  • Trading bot developers who need to filter tokens before auto-buying
  • Portfolio trackers that want to warn users about risky holdings
  • DEX frontends that want to show safety scores next to token listings
  • Anyone building on Solana who wants to protect their users from rugs

Get Started

Register for a key: devtools-site-delta.vercel.app/api-access

Free tier works without a key — just hit the endpoint. Pro and Unlimited keys are issued instantly after SOL payment is confirmed on-chain.

Built this as part of a larger Solana trading toolkit. The same scanner runs inside @solscanitbot on Telegram where it has processed thousands of scans.

Top comments (0)