# Token Risk Check

> Token Risk Check is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-30).

Performs a heuristic rug-pull and honeypot risk analysis of an ERC-20 token contract, returning a 0-100 risk score with detailed flags for dangerous contract features.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/evm/token-risk?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-risk-check-a20cf44c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0f7rjAfxlIqa020XdQLZZ

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 token-risk-check-a20cf44c
```

Example prompt: Before I buy this token, can you run a rug and honeypot risk check on contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum and tell me the risk score and any dangerous flags like mint, blacklist, or hidden fees?

## When to prefer this

Choose this endpoint when you need a fast, automated pre-buy safety check on an ERC-20 token across Ethereum, Base, Arbitrum, Optimism, or Polygon. It is ideal for DeFi agents that need to gate token purchases on a risk threshold, scan for honeypots, or surface dangerous contract features (mint, pause, blacklist, fee switches) without manual contract auditing. Prefer it over full audit services when speed and cost matter most and a heuristic bytecode scan is sufficient.

## Known failure modes

- Invalid or non-existent contract address returns an error
- Unsupported chain name returns a validation error
- Unverified or obfuscated bytecode may produce incomplete flag detection
- Network-specific RPC unavailability may cause timeouts
- Token on a chain where it is not deployed returns an error

## How this service works

Heuristic rug and honeypot risk check of an ERC-20 before buying: owner and renouncement, upgradeable proxy, mint, pause, blacklist, fee and trading switches found in the bytecode, readable buy/sell tax, and a 0-100 risk score with flags. Ethereum, Base, Arbitrum, Optimism, Polygon.

## Output

Returns a 0-100 risk score along with boolean flags for dangerous contract features detected in bytecode: owner renouncement status, upgradeable proxy presence, mint function, pause function, blacklist function, fee switches, and trading switches. Also includes readable buy and sell tax percentages.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "ethereum, base, arbitrum, optimism or polygon"
      },
      "token": {
       "type": "string",
       "description": "Token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-risk-check-a20cf44c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
