# rugcheck

> rugcheck is a paid API for AI agents from cf-rugcheck.odemakindeezekiel5.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-16).

Scans a Base token contract address and returns a 0-100 safety score, risk band, and red flags using onchain and market data checks

## Facts

- Endpoint: GET https://cf-rugcheck.odemakindeezekiel5.workers.dev/rugcheck?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rugcheck-40626fe6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gyI3UN3ksjIrIr8R9ntJv

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 rugcheck-40626fe6
```

Example prompt: Can you scan the Base token at 0x4200000000000000000000000000000000000042 and tell me if it's safe to buy — give me the safety score, risk level, and any red flags like honeypot signals or low liquidity?

## When to prefer this

Choose this endpoint when you need a fast, low-cost ($0.02 USDC) automated safety scan for a Base network token before trading or listing. Ideal for agents performing pre-trade due diligence, filtering token lists, or flagging risky assets in a DeFi portfolio. Best for Base chain specifically — not applicable to tokens on Ethereum mainnet, Solana, or other chains.

## Known failure modes

- Invalid or non-Base contract address returns an error
- Token not indexed on DexScreener returns incomplete data
- Very new tokens with no pair data may lack market metrics
- RPC timeout for onchain checks may delay or fail the response
- Malformed address (not 0x + 40 hex) rejected at input validation

## How this service works

Token safety scanner for Base: 0-100 safety score, risk band, and red flags (liquidity, honeypot signals, upgradeable proxy, pair age, 24h flow) for any Base token contract.

## Output

A JSON object containing: a numeric safety score (0-100, higher is safer), a risk band string (low/medium/high/extreme), the scanned contract address, and a set of red flags covering liquidity depth, honeypot sell-block signals, upgradeable proxy detection, pair age, and 24-hour buy/sell flow metrics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Base token contract address to scan (0x + 40 hex chars)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": "low",
  "score": 90,
  "address": "0x4200000000000000000000000000000000000042"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rugcheck-40626fe6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cf-rugcheck.odemakindeezekiel5.workers.dev](https://www.zero.xyz/host/cf-rugcheck.odemakindeezekiel5.workers.dev/llms.txt)
