# Token Verdict Pre-Trade Risk Check

> Token Verdict Pre-Trade Risk Check is a paid API for AI agents from token-verdict-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-30).

Returns a combined PROCEED / CAUTION / ABORT go/no-go decision before an agent spends funds, by evaluating token market risk, wallet sanctions, wallet age/poisoning, and ERC-20 approval exposure in a single call.

## Facts

- Endpoint: POST https://token-verdict-production.up.railway.app/v1/pre-trade?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-verdict-pre-trade-risk-check-40489387
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UDGaq7VHkaZzMolImwYnO

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-verdict-pre-trade-risk-check-40489387 -d '<json body>'
```

Example prompt: Before we swap into 0x1234...abcd on Base, run a full pre-trade verdict — also check counterparty wallet 0xaaaa...bbbb for sanctions and poisoning, and include the allowance leg for spender 0xcccc...dddd.

## When to prefer this

Use this endpoint when an AI agent is about to execute any on-chain financial action — swap, payment, fund routing — and needs a single, decisive go/no-go that bundles token market risk, wallet compliance screening, and spender approval exposure. Prefer this over calling individual token-verdict or wallet-screening endpoints separately when you need a combined risk decision with one API call and one flat fee. Especially valuable when counterparty wallet identity or an ERC-20 spender approval is part of the transaction flow.

## Known failure modes

- Token contract address not found on the specified chain — leg returns unknown, verdict capped at CAUTION
- Wallet address supplied with a non-Base chain — rejected, wallet/allowance legs unavailable
- Spender address provided without a wallet address — allowance leg cannot be evaluated
- Token contract is not an ERC-20 — market leg may return unknown
- Rate limit or upstream data provider failure — affected leg returns unknown
- Malformed 0x address input — validation error returned
- x402 payment not included or insufficient — 402 Payment Required response

## How this service works

One combined go/no-go before an agent spends: PROCEED / CAUTION / ABORT from the token's market verdict, the counterparty wallet's sanctions, age and poisoning check, and — with a spender — its ERC-20 approvals. A leg that cannot be evaluated returns unknown and caps the verdict at CAUTION. Mode 'compact' returns the decision, the worst leg, and one summary per leg. Use this when an agent is about to swap, pay, or route funds and needs token + wallet risk in one call.

## Output

A top-level verdict of PROCEED, CAUTION, or ABORT, along with the worst-scoring leg that drove the decision. In full mode, complete signal breakdowns for the token market leg, wallet sanctions/age/poisoning leg, and optionally the ERC-20 allowance leg are included. In compact mode, the decision, worst leg identifier, and a one-line summary with verdict, score, and headline reason per leg are returned. Legs that cannot be evaluated return 'unknown' and cap the overall verdict at CAUTION.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "full",
    "compact"
   ],
   "type": "string",
   "description": "Optional response mode, default 'full'. 'full' returns every leg in full (signals, market data, sanctions and poisoning detail). 'compact' returns the decision, the worst leg, and one summary per leg (verdict, score, headline reason) — the same computation, a smaller response."
  },
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "solana"
   ],
   "type": "string",
   "default": "base",
   "description": "Chain of the token leg. Wallet/allowance legs are Base-only: supplying wallet_address requires chain base."
  },
  "spender": {
   "type": [
    "string",
    "null"
   ],
   "description": "Optional spender contract (Base 0x...); with wallet_address, adds the allowance leg for that spender"
  },
  "token_address": {
   "type": "string",
   "description": "Token contract address (0x...) the trade would buy or receive"
  },
  "wallet_address": {
   "type": [
    "string",
    "null"
   ],
   "description": "Optional counterparty / own wallet (Base 0x...) to check for sanctions, age, activity and poisoning signals"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-verdict-pre-trade-risk-check-40489387/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-verdict-production.up.railway.app](https://www.zero.xyz/host/token-verdict-production.up.railway.app/llms.txt)
