# HostDeFi Token Risk Deep Scanner

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

Returns a full historical risk-grade timeline and current safety verdict for a token on Solana or 7 EVM chains, including trend, liquidity changes, and drawdown metrics.

## Facts

- Endpoint: GET https://rpc.hostdefi.com/api/v1/x402/token-risk/deep/%7Bchain%7D/%7Baddress%7D?utm_source=zero.xyz
- Price: $0.25/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-deep-scanner-53eb6bba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KMUXDwDASdEsIJddPkxdr

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-deep-scanner-53eb6bba
```

Example prompt: Can you pull the deep risk scan on the Solana token at address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v and show me the last 90 days of grade history including any liquidity drops or drawdowns?

## When to prefer this

Choose this endpoint when you need deep historical token safety data — not just a snapshot — including grade trends over time, liquidity trajectory, and drawdown history across Solana or 7 EVM chains. It is especially valuable for agents performing due diligence before a swap, monitoring a portfolio token's risk over time, or flagging degrading token health. Prefer it over basic token scanners when grade history and trend analysis matter, not just the current score.

## Known failure modes

- Invalid or unsupported chain ID returns an error response
- Unrecognized or untracked token address returns available:false or empty history
- Token not yet graded returns everUngraded:true with limited data
- Exceeding limit parameter maximum (365) results in a validation error
- Network or RPC timeout may return a non-ok response
- Payment not completed (x402 flow) blocks access to the response

## 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

Returns a JSON object with: ok status, chain name, token address, current risk grade (A–F) and numeric score, a safety verdict string, token symbol, a trend object showing grade change direction, max drawdown %, and liquidity change %, plus a paginated array of daily historical rows (timestamp, grade, score, liquidityUsd) up to the requested limit.

## 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": {
      "limit": {
       "type": "integer",
       "maximum": 365,
       "minimum": 1,
       "description": "Daily history rows returned, oldest first (default 365 — depth is the point of this product)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "chain": "solana",
  "trend": {
   "days": 2,
   "tracked": true,
   "gradeFirst": "B",
   "gradeLatest": "C",
   "everUngraded": false,
   "gradeChanged": true,
   "maxDrawdownPct": 44,
   "liquidityChangePct": -42.1
  },
  "address": "…",
  "history": {
   "rows": [
    {
     "ts": "2026-08-16T00:00:00.000Z",
     "grade": "B",
     "score": 78,
     "liquidityUsd": 100000
    }
   ],
   "count": 2,
   "epoch": "2026-08-16",
   "available": true
  },
  "verdict": {
   "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-deep-scanner-53eb6bba/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)
