# HostDeFi Safety Snapshot Dataset

> HostDeFi Safety Snapshot Dataset is a paid API for AI agents from hostdefi.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-11).

Returns a point-in-time safety snapshot with token risk grade counts across the HostDeFi platform

## Facts

- Endpoint: GET https://hostdefi.com/api/v1/x402/datasets/safety-snapshot?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostdefi-safety-snapshot-dataset-fa7c7eb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mXkM1z0QupawjgPD1rS5E

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-safety-snapshot-dataset-fa7c7eb3
```

Example prompt: Pull the latest safety snapshot from HostDeFi so I can see how many tokens are currently rated high, medium, and low risk across their platform.

## When to prefer this

Choose this endpoint when you need a quick, aggregated, platform-wide view of token risk grades on HostDeFi without needing per-token detail. It is ideal for dashboards, trend monitoring, and research summaries. Prefer per-token endpoints (if available) when you need individual token risk scores rather than aggregate counts.

## Known failure modes

- Payment not completed — endpoint requires $0.25 USDC per call via x402 protocol
- Invalid or malformed 'properties' query parameter returns unexpected results
- Snapshot data may be stale if the underlying risk grading pipeline is delayed
- Service unavailable or 5xx error if HostDeFi backend is down
- Empty counts object if no tokens have been graded yet

## 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 with an 'ok' boolean confirming success, an 'asOf' timestamp indicating when the snapshot was taken, and a 'counts' object containing aggregated token risk grade counts broken down by category (e.g. high/medium/low risk).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "asOf": "…",
  "counts": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hostdefi-safety-snapshot-dataset-fa7c7eb3/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)
