# Onchain Risk Checks – Pre-Trade Safety Verdict

> Onchain Risk Checks – Pre-Trade Safety Verdict is a paid API for AI agents from agent-data.centorprat.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Returns a go/caution/avoid safety verdict with reasons for up to 10 Solana or EVM tokens, covering honeypot simulation, liquidity, holder concentration, and more.

## Facts

- Endpoint: GET https://agent-data.centorprat.workers.dev/crypto/pretrade?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onchain-risk-checks-pre-trade-safety-verdict-bdc26652
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XFoei2cYKpY-xKUTWype_

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 onchain-risk-checks-pre-trade-safety-verdict-bdc26652
```

Example prompt: Before I buy this Solana token CA 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU, run a pre-trade safety check and tell me if it's a go, caution, or avoid — include reasons like honeypot risk, liquidity, and holder concentration.

## When to prefer this

Choose this endpoint when building trading bots, DeFi agents, or sniper tools that need a fast, multi-signal safety verdict before executing a trade on Solana (including pump.fun, Meteora, Token-2022) or EVM chains (Ethereum, BSC, Base). It is the right choice when you need batch evaluation of up to 10 tokens in a single sub-second call with cached results, and want a unified go/caution/avoid signal rather than raw on-chain data you'd have to interpret yourself.

## Known failure modes

- Invalid or unrecognized token address returns an error or unknown verdict
- More than 10 tokens submitted in a single call exceeds the batch limit
- Unsupported chain identifier causes a validation error
- Very new tokens with no on-chain history may return incomplete data
- Network latency or Cloudflare Worker timeout on slow RPC nodes
- Token on a chain not matching the declared chain parameter causes mismatch errors

## How this service works

Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.

## Output

A per-token safety verdict of go, caution, or avoid, accompanied by structured reasons covering: authority risks (freeze/mint), honeypot simulation result, buy/sell tax rates, liquidity depth, holder concentration (excluding pools), buy vs sell volume ratio, recent price movements, and token age. Results are cached for 120 seconds and returned within ~0.3–1 second.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "tokens"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "solana | ethereum | bsc | base (Solana mints are auto-detected)"
      },
      "tokens": {
       "type": "string",
       "description": "1-10 token addresses, comma separated (Solana mints or EVM 0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "score": 100,
    "token": "Dez...",
    "symbol": "BONK",
    "reasons": [],
    "verdict": "go",
    "latencyMs": 283,
    "liquidityUsd": 1298370
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-risk-checks-pre-trade-safety-verdict-bdc26652/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data.centorprat.workers.dev](https://www.zero.xyz/host/agent-data.centorprat.workers.dev/llms.txt)
