# Token Risk Analyzer for EVM Chains

> Token Risk Analyzer for EVM Chains is a paid API for AI agents from ai-policy-kit.moneymaker-ai.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Analyzes a smart contract token address on a specified EVM chain and returns a detailed risk score, risk flags, ownership info, and privileged function inventory.

## Facts

- Endpoint: GET https://ai-policy-kit.moneymaker-ai.workers.dev/api/token-risk?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-risk-analyzer-for-evm-chains-5912b986
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bKK-T3jP6EmqOjjUnZSLG

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-analyzer-for-evm-chains-5912b986
```

Example prompt: Can you check the risk level of the USDC token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on the Base chain — I want to know if it has any blacklist, mint, or upgrade risks before I interact with it?

## When to prefer this

Use this endpoint when you need a fast, structured risk breakdown of a specific EVM token contract — especially when you want actionable flags like blacklist functions, upgradeable proxies, mint permissions, and owner renouncement status. It is best suited for pre-trade safety checks, DeFi due diligence, and scam detection workflows on Base, Ethereum, BSC, Arbitrum, Optimism, Polygon, Gnosis, or Celo. Prefer this over a generic blockchain explorer when you need a machine-readable risk score rather than raw contract data.

## Known failure modes

- Invalid or non-existent token contract address returns an error or empty response
- Unsupported chain name returns a validation error
- Token with no on-chain data (e.g. undeployed address) may return incomplete flags
- Honeypot simulation is explicitly listed as not checked, so sell-side risk may be incomplete
- Rate limiting or payment failure may result in 402 response

## How this service works

Generate an AI_POLICY.md and a pull request template with an AI-disclosure section for your open-source repo. Free, runs in your browser.

## Output

Returns a JSON object with the block number checked, chain ID and name, token symbol, owner address, owner balance percentage, whether the owner has renounced control, an integer risk score (0-100), a categorical risk level (e.g. 'high'), a list of risk flags with severity and explanation (e.g. upgradeable_proxy, blacklist), a map of privileged functions found (mint, pause, blacklist), burned token percentage, and a list of checks that could not be performed (e.g. honeypot simulation).

## 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": [
      "chain",
      "token"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "bsc",
        "arbitrum",
        "optimism",
        "polygon",
        "gnosis",
        "celo"
       ],
       "type": "string"
      },
      "token": {
       "type": "string",
       "description": "0x token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": 52787572,
  "chain": "base",
  "flags": [
   {
    "id": "upgradeable_proxy",
    "why": "OpenZeppelin legacy (zos) slot proxy: the admin 0x4fc7850364958d97B4d3f5A08f79db2493f8cA44 can replace the code at any time.",
    "severity": "high"
   },
   {
    "id": "blacklist",
    "why": "blacklist/bot-list function present: specific holders can be blocked from transferring.",
    "severity": "high"
   }
  ],
  "owner": "0x3ABd6f64A422225E61E435baE41db12096106df7",
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "symbol": "USDC",
  "chainId": 8453,
  "burned_pct": 0.0006,
  "risk_level": "high",
  "risk_score": 87,
  "not_checked": [
   "sell/honeypot simulation on a DEX"
  ],
  "owner_renounced": false,
  "owner_balance_pct": 0,
  "privileged_functions_found": {
   "mint": [
    "mint(address,uint256)",
    "configureMinter(address,uint256)"
   ],
   "pause": [
    "pause()",
    "unpause()"
   ],
   "blacklist": [
    "blacklist(address)"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-risk-analyzer-for-evm-chains-5912b986/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-policy-kit.moneymaker-ai.workers.dev](https://www.zero.xyz/host/ai-policy-kit.moneymaker-ai.workers.dev/llms.txt)
