# Token Risk Scan

> Token Risk Scan is a paid API for AI agents from token-risk-scan.biv-ai-lab.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-29).

Returns automated risk intelligence for a Base mainnet ERC-20 token, including a risk band/score, contract safety flags, liquidity, and holder concentration metrics.

## Facts

- Endpoint: GET https://token-risk-scan.biv-ai-lab.workers.dev/v1/token/risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-risk-scan-4fc516d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rPM-tC5tKRIIs29sEtgEy

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-scan-4fc516d0
```

Example prompt: Can you run a risk scan on the Base token at 0x4200000000000000000000000000000000000006 and tell me if it's a honeypot, what the risk score is, and how concentrated the top holders are?

## When to prefer this

Use this endpoint when you need automated, on-chain risk signals for a specific Base mainnet ERC-20 token before trading, listing, or interacting with it. It is particularly valuable for DeFi agents, trading bots, and portfolio tools that need fast honeypot detection, holder concentration analysis, and contract safety flags without manual research. Prefer this over generic blockchain explorers when you need a structured risk score and band in a single call at low cost ($0.01 USDC).

## Known failure modes

- Invalid address format (not matching ^0x[a-fA-F0-9]{40}$) returns a validation error
- Address is not a Base mainnet ERC-20 contract — may return empty or error response
- Payment not provided or insufficient USDC — returns HTTP 402
- Token too new or illiquid — liquidity_usd may be zero or data incomplete
- Contract is unverified — open_source may be false with limited analysis possible

## How this service works

Paid Base ERC-20 risk intelligence. Automated indicators only; not investment advice.

## Output

A JSON object containing: a risk object with band (e.g. 'low', 'medium', 'high'), numeric score (0-100), and an array of reason strings; contract flags (is_proxy, is_honeypot, open_source); market data including liquidity_usd; holder_concentration with top1_eoa_pct and top10_eoa_pct; the queried address; and chain identifier ('base').

## 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",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "ERC-20 token contract address on Base mainnet"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": {
   "band": "low",
   "score": 8,
   "reasons": []
  },
  "chain": "base",
  "market": {
   "liquidity_usd": 1000000
  },
  "address": "0x4200000000000000000000000000000000000006",
  "service": "Token Risk Scan",
  "contract": {
   "is_proxy": false,
   "is_honeypot": false,
   "open_source": true
  },
  "holder_concentration": {
   "top1_eoa_pct": 2.1,
   "top10_eoa_pct": 14.5
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-risk-scan-4fc516d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-risk-scan.biv-ai-lab.workers.dev](https://www.zero.xyz/host/token-risk-scan.biv-ai-lab.workers.dev/llms.txt)
