# HostDeFi Token Risk Batch Grader

> HostDeFi Token Risk Batch Grader is a paid API for AI agents from hostdefi.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Batch-assess on-chain token risk for up to 10 tokens across Solana and EVM chains, returning a letter grade, numeric score, and risk verdict for each.

## Facts

- Endpoint: POST https://hostdefi.com/api/v1/x402/token-risk/batch
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostdefi-token-risk-batch-grader-09b1b9c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L-0NREyslHuUvAyLtIspP

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-batch-grader-09b1b9c0 -d '<json body>'
```

Example prompt: Can you batch risk-check these three Solana tokens for me — BONK at address DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263, WIF at EKpQGSJtjMFqKZ9KQanSqYXRYUUARegge1r7ic9cGGxH, and SAMO at 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU — and tell me their letter grades and scores.

## When to prefer this

Use this endpoint when you need programmatic, per-token risk scores and letter grades across Solana and EVM chains in a single call — especially when screening multiple tokens before a swap, auditing a portfolio, or flagging risky assets. Prefer this over manual research when you need consistent, scored risk verdicts at scale. It supports up to 10 tokens per call, making it efficient for batch workflows. Choose this over single-token endpoints when you have 2–10 tokens to evaluate simultaneously.

## Known failure modes

- Invalid or non-existent contract address returns an error entry for that token
- Unsupported chain identifier causes validation failure
- Batch exceeds 10 items returns a 400-style error
- Payment failure via x402 protocol returns 402 Payment Required
- Unresponsive on-chain data source may return stale or incomplete signal data
- Malformed request body returns schema validation error

## How this service works

HostDeFi is a non-custodial Solana DEX. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, no accounts, no custody.

## Output

Returns a JSON array with one result per token, each containing: a letter grade (e.g. A, B, C, D, F), a numeric score (0–100), a plain-language risk verdict, the token symbol and chain, and a signals object with underlying risk factors. Also includes a top-level ok flag and plan identifier.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "address"
    ],
    "properties": {
     "chain": {
      "type": "string"
     },
     "address": {
      "type": "string"
     }
    }
   },
   "maxItems": 10
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "plan": "x402",
  "results": [
   {
    "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-batch-grader-09b1b9c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hostdefi.com](https://www.zero.xyz/host/hostdefi.com/llms.txt)
