# TrustDex Token Risk Score History

> TrustDex Token Risk Score History is a paid API for AI agents from trustdex.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns a daily time-series of token risk grades, scores, price, volume, and liquidity for a given token address across Solana and EVM chains.

## Facts

- Endpoint: GET https://trustdex.app/api/v1/x402/token-risk/history/%7Bchain%7D/%7Baddress%7D
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trustdex-token-risk-score-history-e9149416
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tmoLZtWMexKC2pvZFkhlo

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-token-risk-score-history-e9149416
```

Example prompt: Can you pull the last 60 days of TrustDex risk grade history for the Solana token at address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v so I can see how its safety score and liquidity have trended?

## When to prefer this

Use this endpoint when you need a time-series view of token safety over multiple days — for trend analysis, alerting on grade changes, or auditing a token's historical risk profile. Prefer this over the single-verdict endpoint when you need more than one day's snapshot, especially for building charts, detecting deterioration, or conducting due diligence over a custom window of up to 365 days.

## Known failure modes

- Invalid or unsupported chain ID returns an error or empty result
- Malformed token address (wrong format for the chain) returns a validation error
- Token address not indexed by TrustDex returns empty rows or 404
- Limit parameter out of range (0 or >365) returns a validation error
- Payment not settled results in 402 response before data is returned

## 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 array of daily rows ordered oldest-first, each containing a UTC timestamp, letter grade (A+–F), numeric risk score (0–100), USD price, 24-hour trading volume, and liquidity in USD, along with the chain and token address echoed back for confirmation.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "rows": [
   {
    "ts": "2026-08-16T00:00:00.000Z",
    "grade": "B",
    "score": 78,
    "priceUsd": 0.00001,
    "volume24h": 5000,
    "liquidityUsd": 100000
   }
  ],
  "chain": "solana",
  "count": 1,
  "address": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustdex-token-risk-score-history-e9149416/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)
