# TrustDex Portfolio Risk Audit

> TrustDex Portfolio Risk Audit is a paid API for AI agents from trustdex.app, paid per call via x402, $0.08/call, status down (last checked 2026-09-15).

Audits a Solana wallet's token holdings and returns risk grades (A+–F), scores, and safety signals for each token

## Facts

- Endpoint: POST https://trustdex.app/api/v1/x402/portfolio
- Price: $0.08/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trustdex-portfolio-risk-audit-ba33266b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VLAeRlw_ch2OAGnZ2WZW0

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

Example prompt: Can you audit my Solana wallet 7xKq9...BONK and give me risk grades for all the tokens I'm holding — I want to know which ones are dangerous?

## When to prefer this

Use this endpoint when you need a comprehensive risk snapshot of an entire Solana wallet's token holdings in a single call, rather than auditing tokens one by one. Prefer this over per-token endpoints when the user wants a portfolio-level view, bulk safety screening, or wants to identify the riskiest positions across all holdings simultaneously.

## 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
- Very large portfolios may time out or return partial results

## How this service works

TrustDex 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 an overall ok status, the audited wallet address, the count of tokens audited, and an array of per-token results each containing: a risk grade (A+–F), a numeric risk score (0–100), a human-readable safety verdict, the token's chain and symbol, and a signals object with detailed risk factors.

## 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/trustdex-portfolio-risk-audit-ba33266b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trustdex.app](https://www.zero.xyz/host/trustdex.app/llms.txt)
