DRAINBRAIN API

Rug Pull Detection
as a Service

Protect your users and agents with the same 5-model ML ensemble that powers RugSlayer. One API call, sub-second response, battle-tested on 175K+ labeled tokens. Built for trading bots, AI agents, and autonomous systems.

F1 1.000
ML Accuracy
< 1ms
Inference Time
175K+
Tokens Trained On
5-Model
Ensemble
NVIDIA NIM POWEREDContent Safety Reasoning + Request 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
  • +Webhook alerts on risk changes
  • +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
get_trading_signals$0.02
get_market_regime$0.02
get_social_trends$0.02
get_competitor_intel$0.02
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 (Pro / 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,
  "nvidiaSafetyScore": 78,
  "scoreMethod": "ensemble-nvidia",
  "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 (Pro/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 (Pro/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 rugs before committing capital. Sub-second latency.

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

PROOF

See the accuracy yourself

We publish our accuracy metrics publicly. No other scanner does this.

View Live Accuracy Dashboard

Ready to protect your users?

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

Get Your API Key