# HostDeFi Token Risk Deep History

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

Returns up to 365 days of daily token risk grades, scores, and liquidity history for a token on Solana or EVM chains, including trend analysis and grade changes.

## Facts

- Endpoint: GET https://hostdefi.com/api/v1/x402/token-risk/deep/%7Bchain%7D/%7Baddress%7D
- Price: $0.25/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-deep-history-4ae54b23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VtKvdLZWrOPzNTapbe-ZN

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-history-4ae54b23
```

Example prompt: Can you pull up the full risk grade history for BONK on Solana — I want to see how the grade and liquidity have changed over the last 365 days and whether the risk score has been trending up or down?

## When to prefer this

Choose this endpoint when you need deep longitudinal risk history (up to 365 daily snapshots) for a specific token, including grade trends, liquidity changes, and drawdown metrics across Solana or 7 EVM chains. Prefer it over simpler risk checks when you need to understand how a token's risk profile has evolved over time, detect downgrades, or perform due diligence before a significant trade or investment.

## Known failure modes

- Invalid chain identifier returns an error or empty response
- Malformed token address (wrong format for chain) causes a lookup failure
- Token not yet indexed returns available:false with empty history rows
- Requesting limit above 365 is rejected by schema validation
- Payment of 0.25 USDC not completed results in HTTP 402 rejection

## 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 object with the token's current risk grade and score, a trend summary (days tracked, first/latest grade, whether grade changed, max drawdown %, liquidity change %), and an array of daily history rows (timestamp, grade, score, liquidity in USD), plus a verdict with token metadata and risk signals.

## 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-history-4ae54b23/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)
