# Base Token Exit Risk Evaluator

> Base Token Exit Risk Evaluator is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Evaluates the exit risk of a Base ERC-20 token address, returning a risk score, risk level, and flags for agent purchase governance preflight checks.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-exit-risk
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-exit-risk-evaluator-9683ebe6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AH02ca-aL1LWqQ-d-IHok

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 base-token-exit-risk-evaluator-9683ebe6
```

Example prompt: Before you buy anything using that Base token, check the exit risk for the ERC-20 token at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — I want to see the risk score and any flags before we proceed.

## When to prefer this

Use this endpoint when an AI agent needs a lightweight, fast preflight risk check on a Base ERC-20 token before executing an x402 micropayment or purchase. Prefer it over generic token screeners when operating within the Base/x402 ecosystem and needing a structured risk_level and flags output suitable for automated governance decisions.

## Known failure modes

- Invalid or malformed token address (not matching 0x[40 hex chars] pattern) returns an error
- Token address not found on Base network returns unknown or empty assessment
- Network timeout from Cloudflare Workers returns a 5xx error
- Token with no on-chain history may return empty flags but indeterminate risk level

## How this service works

Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.

## Output

Returns a JSON object with the Base network identifier (eip155:8453), the product name, and an assessment object containing a risk_level string (e.g. 'low', 'medium', 'high'), a numeric risk_score, and an array of flags describing any detected risk signals. May also include activity, identity, and provenance objects with additional context about the token.

## 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": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "Base ERC-20 token address to evaluate for exit risk."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "network": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "activity": {
       "type": "object"
      },
      "identity": {
       "type": "object"
      },
      "assessment": {
       "type": "object"
      },
      "provenance": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "eip155:8453",
  "product": "base-token-exit-risk",
  "assessment": {
   "flags": [],
   "risk_level": "low",
   "risk_score": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-exit-risk-evaluator-9683ebe6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-agent-preflight.bytoken2023.workers.dev](https://www.zero.xyz/host/base-agent-preflight.bytoken2023.workers.dev/llms.txt)
