# Token Risk ERC-20 Structural Safety Scanner

> Token Risk ERC-20 Structural Safety Scanner is a paid API for AI agents from token-risk.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns a deterministic on-chain structural risk score (0-100) and report for an ERC-20 token on Base, flagging centralized-control powers like mint, pause, and blacklist capabilities

## Facts

- Endpoint: POST https://token-risk.com/v1/scan
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-risk-erc-20-structural-safety-scanner-b5ec2d83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MFFaKr2pKur1VtbUouy_D

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-erc-20-structural-safety-scanner-b5ec2d83 -d '<json body>'
```

Example prompt: Can you run a structural risk scan on the ERC-20 token at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base (chainId 8453) and tell me its safety score and whether it has mint, pause, or blacklist powers?

## When to prefer this

Use this endpoint when you need a fast, objective, deterministic structural analysis of an ERC-20 token contract specifically on Base — particularly to detect hidden owner privileges like mint, pause, or blacklist before interacting with or recommending the token. Prefer this over reputation-based services when you want on-chain code-level facts rather than community sentiment. Best suited for pre-investment due diligence, DeFi wallet integrations, or automated token screening pipelines.

## Known failure modes

- Invalid or malformed contract address returns a validation error
- Non-ERC-20 contract address returns an unsupported contract type error
- Unverified contract source code may limit analysis depth
- Unsupported chainId (non-Base) returns an error
- Payment failure via x402 results in 402 response with no report
- Network issues reaching Base RPC may cause timeouts

## How this service works

Deterministic on-chain structural risk report for an ERC-20 token on Base. Keyless x402-native payment — no signup, no API key. Reports STRUCTURAL risk, not reputation: centralized-control powers (mint/pause/blacklist) are flagged regardless of issuer. Score 0-100, higher = structurally safer. See free real samples before paying: GET /samples/index.json

## Output

A structural risk report including a 0-100 safety score (higher = safer), and flags for centralized-control capabilities such as owner-controlled minting, pausing, or blacklisting present in the token contract on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "chainId": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cache": {
   "hit": false,
   "ageSeconds": 0
  },
  "score": 100,
  "checks": [
   {
    "id": "contract_exists",
    "status": "pass",
    "summary": "contract code present"
   }
  ],
  "engine": {
   "version": "0.3.0"
  },
  "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "chainId": 8453,
  "context": {
   "knownAsset": true
  },
  "scoring": {
   "penalties": [],
   "configVersion": "1.0.0"
  },
  "verdict": "low_risk",
  "requestId": "018f2c6e-example",
  "generatedAt": "2026-01-01T00:00:00.000Z",
  "schemaVersion": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-risk-erc-20-structural-safety-scanner-b5ec2d83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-risk.com](https://www.zero.xyz/host/token-risk.com/llms.txt)
