# HostDeFi Safety Snapshot Dataset

> HostDeFi Safety Snapshot Dataset 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-01).

Returns a live safety snapshot dataset with aggregated token risk counts and grades across Solana and EVM chains

## Facts

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

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-8c487cf2
```

Example prompt: Pull me the latest token safety snapshot from HostDeFi — I want to see the current risk grade counts and how fresh the data is.

## When to prefer this

Use this endpoint when you need an aggregate, dataset-level view of token safety across Solana and EVM chains rather than a per-token lookup. It is ideal for dashboards, monitoring pipelines, or pre-session risk assessments where you want a rolled-up count of tokens by risk grade without querying individual tokens one by one.

## Known failure modes

- Payment not provided or insufficient USDC — HTTP 402 returned
- Invalid or malformed properties filter parameter — malformed request error
- Service temporarily unavailable — HTTP 503 or timeout
- Stale data if snapshot has not been recently refreshed — 'asOf' timestamp may be outdated
- Rate limiting if called too frequently

## 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' status boolean, an 'asOf' timestamp indicating data freshness, and a 'counts' object containing aggregated token safety statistics broken down by risk grade or category across tracked chains.

## 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-8c487cf2/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)
