Rug pull detection and token security risk analysis with AI insights, paid per request via x402.
What it does
The Rug Pull Scanner endpoint from Einstein AI analyzes token security risks and detects potential rug pulls across multiple EVM chains. It accepts a token contract address and an optional chain parameter (supporting Ethereum, Base, BSC, Arbitrum, and Polygon, defaulting to Base) and returns holder concentration metrics, liquidity lock data, risk scoring, and an AI-generated analysis narrative. The endpoint is powered by Bitquery on-chain data with an AI analysis layer on top.
Payment is handled via the x402 protocol — no API keys are needed. Each request costs $1.15, payable in USDC on Base (to 0xc936…4775), USDC on Solana, or 1,506 sats via Lightning Network. The endpoint returns a standard 402 challenge when called without payment, advertising accepted payment schemes. Responses include a status field, raw query result data, AI-powered analysis and insights, and a payment receipt with on-chain transaction hash.
This endpoint is part of a broader Einstein AI x402 API suite offering 20+ blockchain intelligence endpoints covering market data, whale tracking, launchpad monitoring (Pump.fun, Zora), MEV detection, arbitrage scanning, and investment reports. Prices across the suite range from $0.25 to $1.15 per call. The provider also supports A2A, MCP, and CDP Bazaar discovery protocols for agent-to-agent commerce.
Capabilities
Use cases
- —Automated token due diligence before purchasing a new token
- —Agent-driven portfolio risk monitoring scanning held tokens for rug pull indicators
- —Screening newly launched tokens on Base or BSC for concentrated holder risk
- —Integrating security checks into a trading bot pipeline via x402 micropayments
- —Generating security reports for DAO governance proposals involving new token listings
Fit
Best for
- —AI agents needing pay-per-call token security analysis without API key management
- —DeFi traders screening tokens for rug pull risk across multiple EVM chains
- —Automated trading systems that need programmatic holder concentration and liquidity data
Not for
- —Smart contract source code auditing or formal verification
- —Non-EVM chains beyond Solana (e.g., Cosmos, Cardano)
- —Free or high-volume bulk scanning (each call costs $1.15)
Quick start
curl -X POST https://emc2ai.io/x402/bitquery/rug-pull-scanner \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-encoded-signed-USDC-authorization>" \
-d '{"tokenAddress": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed", "chain": "base"}'Example
Request
{
"chain": "base",
"tokenAddress": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
}Response
{
"data": {
"chain": "base",
"token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
"riskScore": 35,
"liquidityLocks": {
"locked": true,
"lockDuration": "180d"
},
"holderConcentration": {
"top10HoldersPct": 42.5,
"top50HoldersPct": 68.3
}
},
"status": "completed",
"payment": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1150000",
"scheme": "exact",
"txHash": "0xabc123...",
"network": "base",
"x402Version": 1
},
"analysis": {
"summary": "Moderate risk. Top 10 holders control 42.5% of supply. Liquidity is locked for 180 days.",
"riskLevel": "medium"
}
}Endpoint
Quality
Full OpenAPI 3.0 schema with detailed request/response models, live 402 challenge confirming the endpoint is operational with clear pricing on three payment networks. The response body schema is somewhat generic (result is typed as 'object') and no real example response was captured, so the example_response_json is inferred from the schema descriptions. Documentation pages are available but thin on endpoint-specific details.
Warnings
- —The /api route returned a 522 (origin timeout) during crawl, suggesting occasional backend instability.
- —Example response JSON is inferred from schema descriptions — no actual 200 response was captured.
- —This endpoint provides risk analysis, not financial advice; outputs should not be the sole basis for investment decisions.
Citations
- —Rug Pull Scanner costs $1.15 per request (1,150,000 atomic USDC units, 6 decimals)https://emc2ai.io
- —Supports chains: ethereum, base, bsc, arbitrum, polygon; default chain is base; required param is tokenAddresshttps://emc2ai.io
- —Accepts payment on Base (USDC), Solana (USDC), and Lightning Network (sats)https://emc2ai.io
- —x402 challenge is live with x402Version 1 and scheme 'exact'https://emc2ai.io/x402/bitquery/rug-pull-scanner
- —Einstein AI supports CDP Bazaar discovery and x402 v2 protocolhttps://emc2ai.io/docs
- —Paid features range from $0.20 to $1.00 per invocation with holdings-based discounts up to 60%https://emc2ai.io/docs