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.
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
- +100 scans/day
- +Score + risk level + isRug
- +5-min cache
- +Self-service key management
Builder
- +10,000 scans/month
- +Full response (breakdown, flags, temporal)
- +Batch endpoint (10 tokens/call)
- +Priority queue
- +Email support
Scale
- +100,000 scans/month
- +Everything in Builder
- +99.9% uptime SLA
- +Dedicated support channel
Zero Core Intel
x402 MICROPAYMENTS
AI agents pay per call with USDC via MCP. No API key needed.
claude mcp add zero-core-intel \ --transport http \ https://agents.rugslayer.com
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
/api/drainbrain/v1/scanScan a single Solana token for rug pull risk
{ "mint": "TOKEN_ADDRESS" }/api/drainbrain/v1/scan/batchScan up to 10 tokens in parallel (paid plans / x402 only)
{ "mints": ["MINT_1", "MINT_2", ...] }/api/drainbrain/v1/healthCheck model availability and API version
/api/drainbrain/v1/keysGenerate a free API key
{ "name": "My Bot", "email": "me@example.com" }/api/drainbrain/v1/keysList all your API keys (with usage stats)
/api/drainbrain/v1/keys/:id/rotateRotate a key (deactivates old, returns new)
/api/drainbrain/v1/keys/:idRevoke an 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/keysNot 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
| Code | Meaning |
|---|---|
| 200 | Scan completed successfully |
| 400 | Invalid mint address or malformed request |
| 401 | Missing or invalid API key |
| 403 | Request blocked by safety guardrail |
| 429 | Rate limit or daily limit exceeded |
| 504 | Scan timed out (token may have too many txs) |
| 500 | Internal 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 MeasuredReady to protect your users?
Free tier. No credit card. Start scanning in 30 seconds.
Get Your API Key