# LION Token Risk Indicators (Base Chain)

> LION Token Risk Indicators (Base Chain) is a paid API for AI agents from lion-x402.lionmaster-operations.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Returns a composite risk score and factor breakdown for any ERC-20 token on Base, including liquidity, holder concentration, contract verification, and ownership status.

## Facts

- Endpoint: GET https://lion-x402.lionmaster-operations.workers.dev/api/x402/token-risk-indicators-json
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-token-risk-indicators-base-chain-2e03451c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kWmftTqtgTa9448ovrERe

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 lion-token-risk-indicators-base-chain-2e03451c
```

Example prompt: Can you pull the risk indicators for the Base token at address 0x4200000000000000000000000000000000000006 and tell me if it's low, medium, or high risk — including its liquidity, holder concentration, and whether the contract is verified and ownership is renounced?

## When to prefer this

Use this endpoint when you need a fast, pre-computed multi-factor risk assessment for a specific Base chain token without setting up API keys. Ideal for agents performing DeFi due diligence, wallet risk checks, or token screening pipelines that pay per call via x402 USDC micropayments. Prefer over manual on-chain queries when you want a single normalized risk_score plus human-readable risk_band alongside holder and contract factors in one call.

## Known failure modes

- Payment not received or invalid x402 payment header — returns 402 Payment Required
- Invalid or non-existent token address — may return empty factors or error object
- Token not deployed on Base — endpoint only covers eip155:8453, wrong chain returns error or null data
- Rate or node issues on the underlying RPC — may return 503 or partial data

## How this service works

Keyless off-chain and on-chain data for AI agents. No API key, no signup - payment is the only gate. Pay-per-call in USDC on Base via x402.

## Output

A JSON object containing: a risk_score (0–1 float), a risk_band label (e.g. 'low'/'medium'/'high'), the network (eip155:8453 for Base), the token_address, and a factors object with liquidity_usd, pair_age_hours, top1_holder_pct, top5_holder_pct, contract_verified (bool), high_risk_functions (count + list), and ownership_renounced (bool).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base|ethereum|solana"
      },
      "token": {
       "type": "string",
       "description": "Token contract or mint"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "factors": {
   "liquidity_usd": 1000000,
   "pair_age_hours": 8760,
   "top1_holder_pct": 18.4,
   "top5_holder_pct": 41.2,
   "contract_verified": true,
   "high_risk_functions": {
    "count": 0,
    "found": []
   },
   "ownership_renounced": true
  },
  "network": "eip155:8453",
  "asset_id": "BASE_TOKEN_RISK_INDICATORS_001",
  "risk_band": "low",
  "risk_score": 0.12,
  "token_address": "0x4200000000000000000000000000000000000006"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-token-risk-indicators-base-chain-2e03451c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lion-x402.lionmaster-operations.workers.dev](https://www.zero.xyz/host/lion-x402.lionmaster-operations.workers.dev/llms.txt)
