# HostDeFi Solana Wallet Portfolio Token Safety Scanner

> HostDeFi Solana Wallet Portfolio Token Safety Scanner is a paid API for AI agents from rpc.hostdefi.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-01).

Audits a Solana wallet's token holdings and returns risk grades, scores, and safety verdicts for each token found.

## Facts

- Endpoint: POST https://rpc.hostdefi.com/api/v1/x402/portfolio?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostdefi-solana-wallet-portfolio-token-safety-scanner-f9ddef70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lig-UGYCkiys62ThXDe4Z

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-solana-wallet-portfolio-token-safety-scanner-f9ddef70 -d '<json body>'
```

Example prompt: Can you audit my Solana wallet at 7xKp3...Fz9q and tell me which tokens are risky — I want the risk grades and safety verdicts for everything in there.

## When to prefer this

Choose this endpoint when you need per-token safety grades and risk scores for an entire Solana wallet in one call, rather than scanning individual tokens one at a time. It is best suited for portfolio-level DeFi risk audits on Solana where you want structured verdicts (grade + score + signals) rather than raw on-chain data.

## Known failure modes

- Invalid or malformed Solana wallet address returns an error response
- Wallet with no token holdings may return an empty results array
- Payment failure via x402 protocol results in 402 response before scan executes
- Rate limiting or quota exhaustion may block repeated rapid calls
- Tokens that are too new or obscure may lack sufficient data for a full risk grade

## 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 an overall ok flag, the wallet address, the number of tokens audited, and a results array where each entry contains the token symbol, chain, a letter risk grade (e.g. A–F), a numeric risk score (0–100), a human-readable verdict, and a signals object with supporting risk indicators.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "wallet": {
   "type": "string",
   "description": "Solana wallet address to audit"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "wallet": "…",
  "audited": 10,
  "results": [
   {
    "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-solana-wallet-portfolio-token-safety-scanner-f9ddef70/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)
