# Token Risk Score

> Token Risk Score is a paid API for AI agents from www.0816.cn, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-20).

Returns an 8-dimension on-chain risk score and safety scan for any crypto token by symbol or contract address, covering concentration, liquidity, valuation, supply integrity, and wash-trading detection.

## Facts

- Endpoint: GET https://www.0816.cn/api/score?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-risk-score-0b31826b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NKpnM4erfGKlR-PxBjK5J

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 token-risk-score-0b31826b
```

Example prompt: Before I buy PENDLE, can you run a full safety scan on it — check holder concentration, liquidity, supply integrity, wash trading, and give me an overall risk score and grade?

## When to prefer this

Choose this endpoint when you need a multi-dimensional, evidence-backed risk score before buying, swapping, or providing liquidity for any crypto token — especially for due diligence on memecoins, unknown ERC-20s, or DeFi tokens where rug pull, honeypot, whale concentration, or wash-trading risk is a concern. It is particularly valuable when you want a single composite grade plus raw evidence per dimension rather than a simple pass/fail honeypot check.

## Known failure modes

- Unknown or misspelled token symbol returns no match or empty result
- Unverified dimensions return null scores with status 'unverified', lowering confidence
- Very new or low-liquidity tokens may have insufficient on-chain data for full scoring
- Invalid or non-existent contract address returns an error or empty response
- Rate limiting or payment failure if USDC payment of $0.02 is not processed

## How this service works

8-dimension on-chain token risk score, pay-per-call via x402 (USDC).

## Output

Returns a JSON object with an overall risk score (0–100), a letter grade, a plain-language verdict, a confidence score and label, a timestamp, and eight dimension sub-scores (liquidity, valuation, clustering, concentration, holder_income, top1_identity, price_position, supply_integrity) each with raw evidence data and, where applicable, an 'unverified' status.

## 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": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "token symbol e.g. PENDLE"
      },
      "address": {
       "type": "string",
       "description": "optional contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dims": {
   "liquidity": {
    "score": 92.5,
    "evidence": {
     "dexLiquidityPctOfMcap": 0.079
    }
   },
   "valuation": {
    "score": 34.5,
    "evidence": {
     "pTvl": 0.552
    }
   },
   "clustering": {
    "score": null,
    "status": "unverified"
   },
   "concentration": {
    "score": 37.3,
    "evidence": {
     "level": "集中",
     "top20Pct": 74.49
    }
   },
   "holder_income": {
    "score": 10,
    "evidence": {
     "revenue30dUsd": 0
    }
   },
   "top1_identity": {
    "score": 60,
    "evidence": {
     "pct": 53.29,
     "isContract": true
    }
   },
   "price_position": {
    "score": 33.9,
    "evidence": {
     "currentPct": 66.1
    }
   },
   "supply_integrity": {
    "score": 55
   }
  },
  "grade": "D",
  "score": 39.5,
  "symbol": "ONDO",
  "verdict": "存在硬伤：协议 30 天收入为 $0，代币本期不捕获协议价值；第一大持有者为合约持 53.29%",
  "confidence": 0.95,
  "fetched_at": "2026-09-18T00:00:00.000Z",
  "confidence_label": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-risk-score-0b31826b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.0816.cn](https://www.zero.xyz/host/www.0816.cn/llms.txt)
