# Onchain Risk Checks – Token Safety Score

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

Returns a 0-100 safety score and verdict for a crypto token on Solana, Ethereum, BSC, or Base, checking for rug-pull and honeypot risks including LP lock, insider concentration, sell simulation, and token taxes.

## Facts

- Endpoint: GET https://agent-data.centorprat.workers.dev/crypto/token-safety?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onchain-risk-checks-token-safety-score-829d2440
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kmLmHOdCRDwdLYvfd9y7g

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-token-safety-score-829d2440
```

Example prompt: Can you do a pre-trade safety check on the Solana token with mint address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgA2U and give me the 0-100 safety score along with any rug-pull or honeypot flags?

## When to prefer this

Choose this endpoint when you need a fast, pre-trade token safety assessment before buying a crypto asset on Solana (including pump.fun bonding curve tokens), Ethereum, BSC, or Base. It is especially valuable for DeFi traders, bots, and agents that need an automated rug-pull and honeypot screen with a single normalized 0-100 score. Prefer this over manual on-chain inspection or block explorer lookups when you need a quick, structured risk signal with LP lock, tax, and simulation data in one call.

## Known failure modes

- Invalid or malformed token address returns an error (e.g. wrong format for chain)
- Unsupported chain identifier causes a 400 or empty response
- Very new tokens with no on-chain history may return incomplete signals
- Rate limiting or Cloudflare worker errors on high traffic
- Token on wrong chain parameter returns incorrect or no data

## 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

Returns a 0-100 safety score and a pass/caution/fail verdict along with granular risk signals: for Solana — mint and freeze authority status, Token-2022 trap flags, top-holder and insider concentration, LP lock status, liquidity depth, and buy vs. sell ratio; for EVM chains (Ethereum, BSC, Base) — sell simulation outcome, buy/sell tax percentages, LP lock status, and holder concentration. All results are signals for informational purposes, not financial advice.

## 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": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "solana | ethereum | bsc | base (Solana mints are auto-detected)"
      },
      "address": {
       "type": "string",
       "description": "Token address: Solana mint (base58) or EVM contract 0x..."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "ethereum",
  "found": true,
  "address": "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
  "isProxy": false,
  "buyTaxPct": 0,
  "isHoneypot": false,
  "sellTaxPct": 0,
  "tokenSymbol": "PEPE",
  "liquidityUsd": 32584355.86,
  "providerRisk": "low",
  "totalHolders": 597231,
  "contractOpenSource": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-risk-checks-token-safety-score-829d2440/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)
