# VerdictSwarm Pre-Trade Risk Gate

> VerdictSwarm Pre-Trade Risk Gate is a paid API for AI agents from api.vswarm.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns an avoid, caution, or clear risk verdict for a token contract address on Solana or Base before an agent executes a trade

## Facts

- Endpoint: POST https://api.vswarm.io/v2/verdict?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/verdictswarm-pre-trade-risk-gate-cc57c4ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_89YHFcmPT24I26BzO0w_Q

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 verdictswarm-pre-trade-risk-gate-cc57c4ce -d '<json body>'
```

Example prompt: Before you swap into that token, run a VerdictSwarm risk check on Base contract address 0xAbCd...1234 and tell me the verdict and confidence score — use the fast level and include honeypot and LP lock signals.

## When to prefer this

Use VerdictSwarm when your agent needs a fast, structured, multi-signal token risk verdict with a clear pass/caution/fail label before executing any on-chain trade on Solana or Base. Prefer this over general on-chain data APIs when you need an opinionated, pre-classified verdict (not raw data) that combines honeypot detection, LP lock status, and mint authority checks into a single confidence-weighted decision, charged per-call at $0.01 USDC with x402.

## Known failure modes

- Invalid or unsupported chain value — only 'solana' and 'base' are accepted
- Token address not found on specified chain — returns error or low-confidence verdict
- Payment failure via x402 — call rejected if USDC balance is insufficient
- Stale data exceeding max_staleness_seconds — service may return error or refresh live
- High network latency causing timeout for live (non-cached) lookups
- Malformed contract address format triggering validation error

## How this service works

Call VerdictSwarm before your agent moves money. Get avoid, caution, or clear token-risk verdicts through API, ACP, MCP, or the web scanner.

## Output

A JSON object containing the verdict (avoid, caution, or clear), a numeric risk score (0-100), a confidence value (0-1), boolean signals for honeypot detection, LP lock status, and mint authority revocation, plus billing confirmation of $0.01 USDC charged via x402 and a flag indicating whether the result was served from cache.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "chain",
  "address"
 ],
 "properties": {
  "chain": {
   "type": "string",
   "description": "solana | base"
  },
  "level": {
   "enum": [
    "triage",
    "fast",
    "deep"
   ],
   "type": "string"
  },
  "address": {
   "type": "string",
   "description": "Token contract/mint address"
  },
  "context": {
   "type": "string"
  },
  "include": {
   "type": "array",
   "description": "Optional additive response blocks: lifecycle, timing, exit_sim, safe_swap, market_state."
  },
  "trade_intent": {
   "type": "string"
  },
  "max_staleness_seconds": {
   "type": "string",
   "description": "Caller's cache tolerance in seconds. None = use service default."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "chain": "base",
 "level": "fast",
 "score": 55,
 "cached": false,
 "address": "0x…",
 "billing": {
  "rail": "x402",
  "amount_usdc": "0.01"
 },
 "signals": {
  "honeypot": false,
  "lp_locked": true,
  "mint_authority": "revoked"
 },
 "verdict": "caution",
 "confidence": 0.72
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/verdictswarm-pre-trade-risk-gate-cc57c4ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vswarm.io](https://www.zero.xyz/host/api.vswarm.io/llms.txt)
