# HostDeFi Portfolio Risk Audit

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

Audits a Solana wallet's token holdings and returns risk grades, scores, and signals for each token in the portfolio

## Facts

- Endpoint: POST https://hostdefi.com/api/v1/x402/portfolio
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostdefi-portfolio-risk-audit-fdfcc50f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e9vxSj6n1QunilPLyaex8

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-portfolio-risk-audit-fdfcc50f -d '<json body>'
```

Example prompt: Can you audit my Solana wallet at address 7xKX...abc and give me a risk grade for each token I'm holding? I want to know which ones are sketchy.

## When to prefer this

Choose this endpoint when you need per-token risk grades and scores for a Solana wallet without requiring KYC or account creation. It is especially useful for agents that need to screen DeFi portfolios for scam tokens, rug-pull candidates, or low-liquidity assets before executing swaps or reporting holdings. Prefer this over generic blockchain explorers when you need an interpretable risk verdict rather than raw on-chain data.

## Known failure modes

- Invalid or malformed Solana wallet address returns an error or empty results
- Wallet with no token holdings returns an empty results array
- Payment failure or insufficient USDC balance blocks the call
- Rate limiting or service unavailability returns a non-ok response
- Tokens with insufficient on-chain data may return incomplete signal sets

## 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 containing the wallet address, a count of audited tokens, and an array of results for each token. Each result includes a risk grade (letter, e.g. A–F), a numeric risk score (0–100), a human-readable verdict, the token's symbol and chain, the plan used, and raw signals. The 'ok' field indicates whether the audit succeeded.

## 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-portfolio-risk-audit-fdfcc50f/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)
