# Trading Zones XRP/4H Signal Package

> Trading Zones XRP/4H Signal Package is a paid API for AI agents from api.tradingzones.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-28).

Returns a closed-candle 4-hour trading decision package for XRP including directional signal, entry reference price, stop-loss, take-profit levels, and indicator states.

## Facts

- Endpoint: GET https://api.tradingzones.app/v1/signals/XRP/4h?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trading-zones-xrp-4h-signal-package-9c00e557
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ncu5IVo-xwpKIbrOnXnur

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 trading-zones-xrp-4h-signal-package-9c00e557
```

Example prompt: Pull the latest 4-hour Trading Zones decision package for XRP — I want to know if it's signaling long or short, what the confidence score is, and what entry, stop-loss, and take-profit levels it's recommending.

## When to prefer this

Choose this endpoint when you need a pre-computed, closed-candle 4H trading decision for XRP specifically — including risk levels (stop-loss, take-profit) and multi-indicator consensus — rather than raw OHLCV data or a generic price feed. Ideal for autonomous agents that need a single actionable decision package with confidence scoring rather than performing their own technical analysis. Best suited for agents operating on 4-hour trading cycles that require x402 micropayment-compatible APIs.

## Known failure modes

- Stale data if requested before next candle closes — valid_until indicates expiry
- 402 Payment Required if x402 micropayment header is missing or insufficient
- 500 or timeout if upstream market data feed is unavailable
- Symbol or interval mismatch if endpoint path is incorrect (endpoint is XRP/4h specific)
- Empty or null liquidity guard fields when no liquidity zones are detected near entry

## How this service works

Trading Zones x402 API: closed-candle 4H decision packages for autonomous agents.

## Output

A structured JSON decision package including: directional decision (LONG/SHORT), entry reference price with venue (Binance) and pricing policy, stop-loss and take-profit price levels, RSI value and state, MACD bullish/bearish state, channel direction, a composite confidence/trade-probability score (0-100), candle close timestamp, validity window (valid_until), and a unique package_id for auditability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "entry": {
   "note": "Read the live market price immediately before execution.",
   "venue": "Binance",
   "policy": "client_market_price",
   "symbol": "XRPUSDT",
   "public_endpoint": "https://api.binance.com/api/v3/ticker/price?symbol=XRPUSDT",
   "b2b_reference_price": 1.3225
  },
  "levels": {
   "rr_filter": 1.27,
   "stop_loss": 1.3384,
   "take_profit": 1.3001,
   "rr_execution": 0.96,
   "entry_reference": 1.3225,
   "stop_loss_liquidity_pct": 1.2,
   "stop_loss_liquidity_guard": 1.3384,
   "take_profit_liquidity_pct": -1.69,
   "take_profit_liquidity_guard": 1.3001
  },
  "symbol": "XRP",
  "decision": "SHORT",
  "interval": "4h",
  "direction": "SHORT",
  "tz_select": null,
  "indicators": {
   "ch": {
    "state": "down",
    "value": "SHORT",
    "details": {}
   },
   "adx": {
    "state": "down",
    "value": 21.2,
    "details": {
     "dmn": 25.1,
     "dmp": 20.3
    }
   },
   "rsi": {
    "state": "neutral",
    "value": 44.4,
    "details": {}
   },
   "macd": {
    "state": "down",
    "value": -0.42,
    "details": {
     "signal": -0.18,
     "bullish": false
    }
   },
   "vwap": {
    "state": "neutral",
    "value": 0.03,
    "details": {}
   },
   "bolli": {
    "state": "neutral",
    "value": "middle",
    "details": {
     "width": 4.95
    }
   },
   "stoch": {
    "state": "neutral",
    "value": 20,
    "details": {
     "d": 18
    }
   },
   "super": {
    "state": "down",
    "value": "down",
    "details": {
     "flip_recent": false
    }
   },
   "taker": {
    "state": "neutral",
    "value": 0.91,
    "details": {
     "buy_pct": 47.5,
     "sell_pct": 52.5
    }
   }
  },
  "package_id": "example-package-id",
  "attribution": "Trading Zones derived decision package",
  "valid_until": "2026-10-22T11:59:00Z",
  "generated_at": "2026-10-22T08:02:30Z",
  "schema_version": "1.1",
  "candle_closed_at": "2026-10-22T08:00:00Z",
  "confidence_score": 65.62,
  "selection_context": "This is one complete symbol package. Agents may buy other supported symbol packages and apply their own comparison and selection policy; each symbol is a separate paid call.",
  "performance_evidence": {
   "url": "https://api.tradingzones.app/v1/performance/summary",
   "wins": null,
   "losses": null,
   "updated_at": null,
   "history_url": "https://api.tradingzones.app/v1/performance/history?limit=100",
   "methodology": "live_simulation",
   "sample_size": null,
   "verification": "Fetch the free summary 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trading-zones-xrp-4h-signal-package-9c00e557/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradingzones.app](https://www.zero.xyz/host/api.tradingzones.app/llms.txt)
