# TradePerpetua Crypto Risk Signal

> TradePerpetua Crypto Risk Signal is a paid API for AI agents from api.tradeperpetua.xyz, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Returns a 0-100 risk score, trend direction (up/down/flat), on-chain anomaly flag, and plain-language rationale for a given crypto asset

## Facts

- Endpoint: GET https://api.tradeperpetua.xyz/signal
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tradeperpetua-crypto-risk-signal-e00666e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n7riU497Qu-1V4bWstFmb

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 tradeperpetua-crypto-risk-signal-e00666e2
```

Example prompt: What's the current risk score and trend for ETH — is there any on-chain anomaly I should know about?

## When to prefer this

Use this endpoint when you need a quick, single-number risk signal with directional bias and anomaly detection for a specific crypto asset. Prefer this over the sibling enriched report endpoint when you need low-latency, lightweight signals for real-time trading decisions or monitoring workflows rather than a deep factor-by-factor breakdown.

## Known failure modes

- Unsupported asset symbol returns an error — only the 24 listed symbols (ETH, BTC, SOL, etc.) are accepted
- Missing asset parameter defaults to ETH
- Payment failure (x402) if USDC balance is insufficient for the $0.005 per-call fee
- Network timeout if on-chain data sources are temporarily unavailable

## How this service works

Crypto risk signal for an asset, a 0 to 100 risk score plus a trend call and an on chain anomaly flag with a short plain language rationale.

## Output

A JSON object containing the asset symbol, current price, a numeric risk score from 0 to 100 (higher = riskier), a trend call of 'up', 'down', or 'flat', a boolean anomaly flag indicating unusual on-chain activity, and a short plain-language rationale explaining the signal.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "asset": {
       "enum": [
        "ETH",
        "BTC",
        "SOL",
        "BNB",
        "XRP",
        "ADA",
        "DOGE",
        "AVAX",
        "LINK",
        "DOT",
        "TRX",
        "TON",
        "LTC",
        "UNI",
        "ATOM",
        "NEAR",
        "APT",
        "ARB",
        "OP",
        "SUI",
        "AAVE",
        "INJ",
        "POL",
        "XLM"
       ],
       "type": "string",
       "default": "ETH",
       "description": "Asset symbol, one of ETH, BTC, SOL, BNB, XRP, ADA, DOGE, AVAX, LINK, DOT, TRX, TON, LTC, UNI, ATOM, NEAR, APT, ARB, OP, SUI, AAVE, INJ, POL, XLM"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asset": {
       "type": "string"
      },
      "price": {
       "type": "number"
      },
      "score": {
       "type": "number",
       "description": "Risk score 0 to 100"
      },
      "trend": {
       "enum": [
        "up",
        "down",
        "flat"
       ],
       "type": "string"
      },
      "anomaly": {
       "type": "boolean"
      },
      "rationale": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tradeperpetua-crypto-risk-signal-e00666e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeperpetua.xyz](https://www.zero.xyz/host/api.tradeperpetua.xyz/llms.txt)
