# Token Safety Bundle — Unified Risk Score

> Token Safety Bundle — Unified Risk Score is a paid API for AI agents from x402.onchainexpat.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Aggregates risk signals from multiple sources to produce a unified token safety score for a given cryptocurrency token

## Facts

- Endpoint: POST https://x402.onchainexpat.com/api/x402-crypto/token-safety
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-onchainexpat-com-e10d7aa6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O_zrTBSAFZqLR4cDkXeZo

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 x402-onchainexpat-com-e10d7aa6 -d '<json body>'
```

Example prompt: Can you check the safety of the token at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I want a unified risk score aggregated from multiple sources before I swap into it.

## When to prefer this

Choose this endpoint when you need a consolidated, multi-source token safety score rather than relying on a single provider's opinion. Especially useful for DeFi agents evaluating token trustworthiness before executing swaps, purchasing tokens, or recommending assets to users. Prefer this over single-source token metadata endpoints when risk aggregation across providers is the priority.

## Known failure modes

- Token address not found or unsupported chain — returns error or empty result
- Unsupported token format — malformed address returns validation error
- Upstream risk source unavailable — partial or degraded score returned
- Payment not confirmed — 402 payment required error if USDC payment not attached
- Rate limiting or timeout from underlying data providers

## How this service works

Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol

## Output

A unified token safety bundle that aggregates risk signals from multiple data sources into a single risk score, indicating how safe or risky a given token is. May include sub-scores or flags from individual risk providers, rug pull indicators, and an overall safety rating.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "chain": {
   "type": "string",
   "description": "Blockchain (default: base)"
  },
  "address": {
   "type": "string",
   "description": "Token contract address (0x + 40 hex chars)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "chain": {
     "type": "string"
    },
    "flags": {
     "type": "array",
     "description": "List of risk flags detected"
    },
    "address": {
     "type": "string"
    },
    "price_data": {
     "type": "object",
     "description": "Price and market data (if available)"
    },
    "risk_level": {
     "type": "string",
     "description": "Risk level: low, medium, high, critical"
    },
    "safety_score": {
     "type": "integer",
     "description": "Unified safety score 0-100 (higher = safer)"
    },
    "recommendation": {
     "type": "string",
     "description": "Actionable recommendation"
    },
    "token_metadata": {
     "type": "object",
     "description": "Full token metadata with security analysis"
    },
    "holder_analysis": {
     "type": "object",
     "description": "Holder concentration data (if available)"
    },
    "contract_analysis": {
     "type": "object",
     "description": "AI contract analysis (if available)"
    },
    "sources_available": {
     "type": "object",
     "description": "Which data sources returned successfully"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-onchainexpat-com-e10d7aa6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.onchainexpat.com](https://www.zero.xyz/host/x402.onchainexpat.com/llms.txt)
