# x402 Agent Tools – Base Token Risk Scanner

> x402 Agent Tools – Base Token Risk Scanner is a paid API for AI agents from x402-agent-tools.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-01).

Analyzes an ERC-20 token contract on Base mainnet for security risks, honeypot detection, sell taxes, and liquidity metrics, returning a risk score and verdict.

## Facts

- Endpoint: GET https://x402-agent-tools.vercel.app/v1/base/token-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-tools-base-token-risk-scanner-390f29f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7nuorAXQNcfh7HPxd8xVP

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-agent-tools-base-token-risk-scanner-390f29f3
```

Example prompt: Before I swap into this token, can you run a risk check on the Base contract 0x8335...2913 and tell me if it's a honeypot, what the sell tax is, and what the overall risk verdict is?

## When to prefer this

Use this endpoint when an agent needs a quick, pay-per-call token safety assessment on Base mainnet without setting up API keys or accounts. Ideal for DeFi trading bots, portfolio monitors, or user-facing agents that need to vet tokens before swaps. Prefer over self-hosted GoPlus integrations when simplicity and per-call USDC micropayment billing are priorities.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or empty findings
- Token not indexed by GoPlus returns limited or no security data
- Non-Base-mainnet addresses may return incorrect or no results
- Payment failure via x402 results in 402 response with no data
- Rate limiting or Vercel cold start may cause latency spikes

## How this service works

Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.

## Output

Returns a JSON object with the chain name, contract address, a summary object (numeric risk score 0–100, verdict string like 'Low risk', and an array of findings with text and severity level), a security object (symbol, sell tax percentage, honeypot boolean), and a liquidity object (total liquidity in USD).

## 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",
       "description": "ERC-20 contract address on Base mainnet (0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "address": "0x8335...2913",
  "summary": {
   "score": 0,
   "verdict": "Low risk",
   "findings": [
    {
     "text": "Token is on GoPlus trust list.",
     "level": "ok"
    }
   ]
  },
  "security": {
   "symbol": "USDC",
   "sellTax": 0,
   "isHoneypot": false
  },
  "liquidity": {
   "totalLiquidityUsd": 47586896
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-tools-base-token-risk-scanner-390f29f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-tools.vercel.app](https://www.zero.xyz/host/x402-agent-tools.vercel.app/llms.txt)
