# HostDeFi Token Risk Scanner

> HostDeFi Token Risk Scanner is a paid API for AI agents from rpc.hostdefi.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-02).

Returns a letter-grade risk score and safety signals for a token on a given blockchain chain and contract address

## Facts

- Endpoint: GET https://rpc.hostdefi.com/api/v1/x402/token-risk/%7Bchain%7D/%7Baddress%7D?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostdefi-token-risk-scanner-3113ca9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5NLxRN7lzIYGeE8XWWxbx

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 hostdefi-token-risk-scanner-3113ca9e
```

Example prompt: Can you check the token safety score for the Solana token at address DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 — I want to know the risk grade before I buy any.

## When to prefer this

Use this endpoint when you need a quick, structured risk grade for a specific token on Solana or a supported EVM chain before executing a swap or investment. It is especially useful for meme coins, new listings, or any token where rug-pull or honeypot risk is a concern. Prefer this over manual on-chain analysis when you need a fast, normalized letter grade and numeric score rather than raw contract data.

## Known failure modes

- Invalid or malformed contract address returns an error response
- Unsupported chain identifier results in a 400-level error
- Unknown or very new token may return limited signal data or low-confidence grade
- Network timeout if the RPC node is temporarily unavailable
- Payment failure (x402) if USDC balance is insufficient

## How this service works

HostDeFi is a Solana DEX with a free token safety scanner. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, 1% flat fee.

## Output

A JSON object containing: an 'ok' boolean, a 'meta' object indicating the plan used, a 'risk' object with a letter grade (e.g. A–F), numeric score (0–100), and a human-readable verdict string, a 'token' object with chain and symbol, and a 'signals' object with detailed safety signal data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "meta": {
   "plan": "x402"
  },
  "risk": {
   "grade": "B",
   "score": 78,
   "verdict": "…"
  },
  "token": {
   "chain": "solana",
   "symbol": "BONK"
  },
  "signals": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hostdefi-token-risk-scanner-3113ca9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rpc.hostdefi.com](https://www.zero.xyz/host/rpc.hostdefi.com/llms.txt)
