# Einstein AI Rug Pull Scanner

> Einstein AI Rug Pull Scanner is a paid API for AI agents from api.relai.fi, paid per call via x402, $1.15/call, status unknown (last checked 2026-09-14).

Analyzes a token contract address for security risks and potential rug pull indicators across major EVM-compatible blockchains

## Facts

- Endpoint: POST https://api.relai.fi/relay/1769629274857/x402/bitquery/rug-pull-scanner
- Price: $1.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/einstein-ai-rug-pull-scanner-95c5ef05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s1RvK6nZZ6xBqJGsM4vXS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability einstein-ai-rug-pull-scanner-95c5ef05 -d '<json body>'
```

Example prompt: Can you scan this token on Base for rug pull risks? The contract address is 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed — I want to know if it looks safe before I buy.

## When to prefer this

Use this endpoint when you need on-chain token security analysis powered by BitQuery data across Ethereum, Base, BSC, Arbitrum, or Polygon — especially for DeFi due diligence before investing or listing a token.

## Known failure modes

- Missing tokenAddress parameter returns validation error
- Unsupported chain value returns enum validation error
- Invalid or non-existent contract address returns not-found or empty result
- Network timeout or BitQuery upstream outage returns 5xx error
- Payment failure via x402 protocol returns 402 Payment Required

## How this service works

Analyze token security risks and detect potential rug pulls. Supported chains: ethereum, base, bsc, arbitrum, polygon. Default chain: base. Required params: tokenAddress.

## Output

Returns a security risk assessment for the specified token contract, including rug pull indicators, risk scores, and red flags such as liquidity issues, ownership concentration, or suspicious contract behaviors on the specified blockchain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "bsc",
    "arbitrum",
    "polygon",
    "optimism",
    "solana"
   ],
   "type": "string",
   "description": "Blockchain to query (e.g., base, ethereum, bsc, solana)"
  },
  "tokenAddress": {
   "type": "string",
   "description": "Token contract address (for token-specific queries)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/einstein-ai-rug-pull-scanner-95c5ef05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
