DRAINBRAIN API

Rug Pull Detection
as a Service

Protect your users and agents with the same risk engine that powers RugSlayer, calibrated on the real outcomes of tokens we scanned. One API call, results in about 2 seconds. Built for trading bots, AI agents, and autonomous systems.

100/day
Free API Scans
~2s
Median Scan Time
17K+
Tokens Scanned
5-Stage
Rug Tracking
NVIDIA NIM POWEREDRequest Guardrail

QUICK START

Scan a token in 3 lines

curl -X POST https://rugslayer.com/api/drainbrain/v1/scan \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mint": "TOKEN_MINT_ADDRESS"}'

GET YOUR KEY

Free API key - instant access

PRICING

From free scans to enterprise scale.

Starter

$0
  • +100 scans/day
  • +Score + risk level + isRug
  • +5-min cache
  • +Self-service key management
Get Free Key

Builder

$49/mo
  • +10,000 scans/month
  • +Full response (breakdown, flags, temporal)
  • +Batch endpoint (10 tokens/call)
  • +Priority queue
  • +Email support
Get Started

Scale

$199/mo
  • +100,000 scans/month
  • +Everything in Builder
  • +99.9% uptime SLA
  • +Dedicated support channel
Contact Us

Zero Core Intel

x402 MICROPAYMENTS

AI agents pay per call with USDC via MCP. No API key needed.

scan_token$0.01
claude mcp add zero-core-intel \
  --transport http \
  https://agents.rugslayer.com
View Agent Docs

RESPONSE FORMAT

What you get back

FREE TIER RESPONSE

{
  "mint": "So11111111111111111111111111111112",
  "score": 23,
  "riskLevel": "LOW",
  "isRug": false,
  "cached": false,
  "timestamp": "2026-02-18T15:30:00.000Z"
}

FULL RESPONSE (paid plans / x402)

{
  ...free fields...,
  "rugStage": 3,
  "rugStageName": "Promotion",
  "honeypot": { "isHoneypot": false, "reason": null },
  "confidence": 0.97,
  "inferenceMs": 0.06,
  "breakdown": {
    "authority": 15,
    "liquidity": 30,
    "holders": 20,
    "behavior": 25,
    "wallet": 10
  },
  "riskFlags": ["MINT_AUTHORITY_ENABLED", "LP_NOT_LOCKED"],
  "temporalScore": 85,
  "temporalStage": 3,
  "estimatedPullHours": 2.5,
  "scoreMethod": "rules",
  "responseTimeMs": 1842
}

ENDPOINTS

API reference

POST/api/drainbrain/v1/scan

Scan a single Solana token for rug pull risk

Auth: Bearer API keyBody: { "mint": "TOKEN_ADDRESS" }
POST/api/drainbrain/v1/scan/batch

Scan up to 10 tokens in parallel (paid plans / x402 only)

Auth: Bearer API keyBody: { "mints": ["MINT_1", "MINT_2", ...] }
GET/api/drainbrain/v1/health

Check model availability and API version

Auth: None
POST/api/drainbrain/v1/keys

Generate a free API key

Auth: NoneBody: { "name": "My Bot", "email": "me@example.com" }
GET/api/drainbrain/v1/keys

List all your API keys (with usage stats)

Auth: Bearer API key
POST/api/drainbrain/v1/keys/:id/rotate

Rotate a key (deactivates old, returns new)

Auth: Bearer API key
DELETE/api/drainbrain/v1/keys/:id

Revoke an API key

Auth: Bearer API key

BUILT FOR AGENTS

Autonomous trading bots welcome

DrainBrain is designed for machine-to-machine use. Trading bots, AI agents, and autonomous systems can integrate in minutes. Batch scan your whole portfolio in a single call with the batch endpoint.

// Batch scan - check 10 tokens in parallel (paid plans / x402)
POST /api/drainbrain/v1/scan/batch
{
  "mints": ["MINT_1", "MINT_2", "MINT_3", ...]
}

// Response:
{
  "results": [
    { "mint": "MINT_1", "score": 23, "riskLevel": "LOW", "isRug": false, ... },
    { "mint": "MINT_2", "score": 91, "riskLevel": "CRITICAL", "isRug": true, ... }
  ],
  "errors": [],
  "totalMs": 3200,
  "count": 2
}

// Key management - rotate keys programmatically
POST /api/drainbrain/v1/keys/:id/rotate
// Returns new key, old key deactivated instantly

// List all your keys + usage stats
GET /api/drainbrain/v1/keys

Not building a bot? Install the Chrome extension for automatic pre-swap warnings on Jupiter, Raydium, Pump.fun, and 8 more DEXs.

Trading Bots

Pre-scan every token before buying. Reject high-risk tokens before committing capital. About 2 seconds per scan.

AI Agents

Autonomous agents can generate keys, scan tokens, and manage their own API lifecycle programmatically.

Portfolio Scanners

Batch-scan all holdings in one call. Know which tokens are safe and which to dump. 10 tokens per request.

ERROR CODES

HTTP status codes

CodeMeaning
200Scan completed successfully
400Invalid mint address or malformed request
401Missing or invalid API key
403Request blocked by safety guardrail
429Rate limit or daily limit exceeded
504Scan timed out (token may have too many txs)
500Internal server error

TRACK RECORD

Scored on real outcomes

Every token we scan is re-checked 1 hour, 1 day and 7 days later. The score is the share of similar tokens that died soon after a scan.

How the Score Is Measured

Ready to protect your users?

Free tier. No credit card. Start scanning in 30 seconds.

Get Your API Key