# HostDeFi Token Risk Report

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

Returns a graded risk report (A–F score) for a token on Solana or EVM chains, including rug-pull signals, radar mentions, and historical risk data.

## Facts

- Endpoint: GET https://hostdefi.com/api/v1/x402/token-risk/report/%7Bchain%7D/%7Baddress%7D
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostdefi-token-risk-report-f973364f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DuVEolAv2H8B1jMGd6cqP

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-report-f973364f
```

Example prompt: Can you pull a HostDeFi risk report for the BONK token on Solana — I want to see its risk grade and whether it's flagged in any rug-pull ledgers, using the last 90 days of history?

## When to prefer this

Choose this endpoint when you need a structured, graded risk assessment for a specific token before executing a swap, making an investment decision, or auditing a DeFi portfolio position — especially when you need cross-chain coverage across Solana and 7 EVM chains in a single API call. Prefer this over generic on-chain data tools when you want an opinionated risk grade, rug-pull ledger matching, and historical risk trend data without setting up your own analysis pipeline.

## Known failure modes

- Invalid or unsupported chain ID returns an error
- Unrecognized or malformed token contract address returns a 400 or empty result
- Token with no on-chain history returns empty history rows
- Payment failure (insufficient USDC) blocks the request under x402 protocol
- historyLimit out of range (below 1 or above 365) returns a 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

A JSON object containing: a letter risk grade (A–F) and numeric score (0–100), the token's chain and symbol, a natural-language risk summary, a rug ledger match flag, radar/social mentions, detailed risk signals, and paginated historical risk rows for up to the requested number of days.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "chain",
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain id: solana, ethereum, bsc, base, arbitrum, optimism, polygon, avalanche"
      },
      "address": {
       "type": "string",
       "description": "Token contract address (base58 mint on Solana, 0x… on EVM)"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "historyLimit": {
       "type": "integer",
       "maximum": 365,
       "minimum": 1,
       "description": "History rows included (most recent N days, default 90)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "meta": {
   "plan": "x402"
  },
  "risk": {
   "grade": "B",
   "score": 78
  },
  "token": {
   "chain": "solana",
   "symbol": "BONK"
  },
  "history": {
   "rows": [],
   "count": 1
  },
  "signals": {},
  "summary": "…",
  "rugLedger": {
   "matched": false
  },
  "radarMentions": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hostdefi-token-risk-report-f973364f/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)
