# x402 Token Safety Check

> x402 Token Safety Check is a paid API for AI agents from call402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Analyzes a token contract address for honeypot risk, liquidity, ownership, and overall safety flags on Base, Ethereum, or BSC.

## Facts

- Endpoint: POST https://call402.com/api/token-safety?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-token-safety-check-03ed4177
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8eZ6oNr4Kk8feW_aC7j4-

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 x402-token-safety-check-03ed4177 -d '<json body>'
```

Example prompt: Can you check if the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base is safe to trade — I want to know if it's a honeypot, what the liquidity looks like, and what the overall risk level is?

## When to prefer this

Use this endpoint when an AI agent needs to quickly assess whether a token contract is safe before executing a trade or recommending it to a user. It is especially valuable for DeFi workflows where honeypot detection, sell-tax verification, liquidity depth, and owner renouncement status all need to be checked in a single call. Prefer this over general blockchain explorers when you need a structured risk verdict rather than raw on-chain data, and when you need coverage across Base, Ethereum, and BSC in one unified API.

## Known failure modes

- Invalid or malformed contract address returns a validation error
- Unsupported chain name or chain ID returns an error
- Token not yet indexed by any data source may return null liquidity or price fields
- Very new tokens with no pair data may have null pair_age_days
- Payment not provided or invalid PAYMENT-SIGNATURE header returns HTTP 402 with payment requirements

## How this service works

USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.

## Output

Returns a JSON object with the token's name, symbol, decimals, and total supply; honeypot verdict with buy/sell tax percentages; USD price; USD liquidity; pair age in days; contract owner address; a list of risk flags; an overall risk_level string (e.g. 'low', 'medium', 'high'); the data sources consulted (e.g. honeypot.is, dexscreener, rpc); and elapsed processing time in milliseconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Chain name base, ethereum or bsc (chainId 8453, 1 or 56 also accepted). Optional, default base"
  },
  "address": {
   "type": "string",
   "description": "Token contract address, required (0x + 40 hex chars)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "chain",
   "address",
   "token",
   "honeypot",
   "liquidity_usd",
   "pair_age_days",
   "price_usd",
   "owner",
   "flags",
   "risk_level",
   "sources",
   "elapsed_ms"
  ],
  "properties": {
   "chain": {
    "type": "string"
   },
   "flags": {
    "type": "array",
    "items": {
     "type": "string"
    }
   },
   "owner": {
    "type": [
     "string",
     "null"
    ]
   },
   "token": {
    "type": "object"
   },
   "address": {
    "type": "string"
   },
   "sources": {
    "type": "array",
    "items": {
     "type": "string"
    }
   },
   "honeypot": {
    "type": [
     "object",
     "null"
    ]
   },
   "price_usd": {
    "type": [
     "number",
     "null"
    ]
   },
   "elapsed_ms": {
    "type": "integer"
   },
   "risk_level": {
    "type": "string"
   },
   "liquidity_usd": {
    "type": [
     "number",
     "null"
    ]
   },
   "pair_age_days": {
    "type": [
     "number",
     "null"
    ]
   }
  }
 },
 "example": {
  "chain": "base",
  "flags": [],
  "owner": "0x0000000000000000000000000000000000000000",
  "token": {
   "name": "USD Coin",
   "symbol": "USDC",
   "decimals": 6,
   "total_supply": "10000000000000000"
  },
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "sources": [
   "honeypot.is",
   "dexscreener",
   "rpc"
  ],
  "honeypot": {
   "buy_tax": 0,
   "sell_tax": 0,
   "is_honeypot": false
  },
  "price_usd": 1,
  "elapsed_ms": 900,
  "risk_level": "low",
  "liquidity_usd": 5410289.37,
  "pair_age_days": 700
 }
}
```

## More

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