RugGuard
Pre-trade rug check API for AI agents — pay-per-call USDC, no API key, no account.
What it does
Before an AI agent buys a token, it should know: is this contract a rug pull? Is the liquidity locked? Can the creator mint at will? Do the top 10 holders concentrate the supply? Has the deployer rugged before? RugGuard answers in under 300 ms via a single HTTP call, settled in USDC on Base via the Coinbase CDP facilitator.
Designed as a systemic pre-trade check — the same call before every purchase. Not a security guarantee. Heuristics are deterministic, explainable, and improving weekly.
Endpoints
| Endpoint | Price | Status |
|---|---|---|
GET /v1/scan/{chain}/{contract}quick pre-trade scan, <300ms cache hit |
$0.01 | Live (Base + Solana) |
GET /v1/scan/deep/{chain}/{contract}cache-bypass + full per-heuristic audit trail inline |
$0.05 | Live (Base + Solana) |
GET /v1/explain?scan_id=...audit trail, per-heuristic evidence |
$0.005 | Live |
GET /v1/metricsempirical recall + sample counts (free) |
Free | Live |
POST /v1/watch/{chain}/{contract}HMAC-signed webhook on critical changes |
$0.005/check | Phase 1 |
Example
curl https://rugguard.redfleet.fr/v1/scan/base/0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed
{
"scan_id": "01J9...",
"score": 32,
"verdict": "low_risk",
"score_confidence": "medium",
"rug_probability_30d": 0.13,
"flags": [
{"code": "OWNER_NOT_RENOUNCED", "severity": "high"},
{"code": "LP_NOT_LOCKED", "severity": "critical"}
],
"summary": {
"top10_concentration_pct": 22.4,
"buy_tax_pct": 0.0,
"sell_tax_pct": 0.0,
"mintable": false,
"source_verified": true
}
}
Why 2 critical-or-high flags but only score 32? The score is a weighted ratio over the heuristics that decided (SKIP excluded), not a count of flags. Two flags failing while ten others pass yields a low-risk score because the bulk of the catalogue cleared. Severity per flag tells the agent what to dig into; the score tells it whether to act. Verdict bands and the full method are on /validation.html.
How agents pay
- Call the endpoint without payment headers.
- Server returns
402 Payment Requiredwith x402 challenge. - Agent settles in USDC via the Coinbase CDP facilitator on Base.
- Server verifies and returns the scan +
x-payment-response.
No API key. No signup. The wallet that pays is the identity. See the x402 spec.
Resources
- /docs.html — full API reference (ReDoc, auto-updating from OpenAPI)
- /llms.txt — agent-readable capability description
- /openapi.json — machine-readable schema
- /health — liveness
- /v1/metrics — live empirical recall + sample counts (free, JSON)
- /validation.html — validation methodology & bias caveats
- /security.html — security policy & reporting
- /terms.html — terms of service
contact@redfleet.fr— general contact & responsible disclosure