# Base Alpha Risk Scorer — Wallet & Token Risk Assessment

> Base Alpha Risk Scorer — Wallet & Token Risk Assessment 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).

Scores a Base network wallet or ERC-20 token address for risk level, alpha potential, and trade bias using on-chain analysis

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/alpha-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-alpha-risk-scorer-wallet-token-risk-assessment-d02b84eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t4YjA04IRkwuoUzkH6_A3

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-alpha-risk-scorer-wallet-token-risk-assessment-d02b84eb
```

Example prompt: Before my agent sends any USDC, can you run an alpha risk score on this Base address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — auto-detect whether it's a wallet or token and tell me the risk level, alpha score, and what action to take next?

## When to prefer this

Use this endpoint when an AI agent needs to pre-screen a Base network wallet or ERC-20 token address for risk before executing an autonomous payment or DeFi interaction. Prefer this over generic blockchain explorers when you need a structured risk score, alpha signal, and actionable trade bias in a single call scoped specifically to the Base L2 network.

## Known failure modes

- Invalid or malformed address (not matching 0x[40 hex chars] pattern) returns a 400 validation error
- Address not found or insufficient on-chain data may return incomplete scores or an error
- Rate limiting or budget exhaustion may return 402 Payment Required
- Cloudflare Worker timeout if upstream data sources are slow
- Token with very low liquidity may produce unreliable alpha_score

## 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 detected address kind (wallet or token), a numeric risk_score (0-100), a risk_level label (e.g. 'low'), an alpha_score indicating opportunity, a trade_bias recommendation (e.g. 'watch'), a next_action guidance string, machine-readable tags, and for tokens: symbol, 24h volume, and liquidity in USD — all scoped to the Base (EIP-155:8453) network.

## 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": [
      "subject"
     ],
     "properties": {
      "kind": {
       "enum": [
        "auto",
        "wallet",
        "token"
       ],
       "type": "string",
       "description": "Optional interpretation hint. Defaults to auto detection."
      },
      "subject": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "Base wallet, contract, or ERC-20 token address to score."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "detected_kind",
      "assessment"
     ],
     "properties": {
      "token": {
       "type": "object"
      },
      "wallet": {
       "type": "object"
      },
      "product": {
       "type": "string"
      },
      "assessment": {
       "type": "object"
      },
      "machine_tags": {
       "type": "array"
      },
      "detected_kind": {
       "enum": [
        "wallet",
        "token"
       ],
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "token": {
   "symbol": "USDC",
   "liquidity_usd": 1000000,
   "volume_24h_usd": 250000
  },
  "network": "eip155:8453",
  "product": "base-alpha-risk-context",
  "assessment": {
   "flags": [],
   "risk_level": "low",
   "risk_score": 12,
   "trade_bias": "watch",
   "alpha_score": 74,
   "next_action": "Add to a short-lived watchlist and recheck before execution."
  },
  "machine_tags": [
   "kind:token",
   "risk:low",
   "bias:watch"
  ],
  "detected_kind": "token"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-alpha-risk-scorer-wallet-token-risk-assessment-d02b84eb/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)
