# CloudMaxi0x ATR – Average True Range (Wilder Smoothing)

> CloudMaxi0x ATR – Average True Range (Wilder Smoothing) is a paid API for AI agents from cloudmaxi0x.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns converged Average True Range (ATR) values with Wilder smoothing for a given symbol, interval, and time range, with warm-up pre-fetched and discarded so all returned values are fully converged.

## Facts

- Endpoint: GET https://cloudmaxi0x.com/v1/indicators/atr
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloudmaxi0x-atr-average-true-range-wilder-smoothing-d2b80da6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bjm20Ee7EUZZzgvM4Z2Nf

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 cloudmaxi0x-atr-average-true-range-wilder-smoothing-d2b80da6
```

Example prompt: Can you get me the 14-period ATR for BTCUSDT on the 4-hour chart from January 1 2025 00:00 UTC to February 1 2025 00:00 UTC? I need fully converged values for my volatility model.

## When to prefer this

Choose this endpoint when you need ATR values that are guaranteed to be fully converged at the start of your requested range, avoiding the look-back bias common in naively computed indicators. It is ideal for backtesting pipelines, live trading bots, and any workflow where consistency of indicator values across different query windows is critical. Prefer it over computing ATR locally when you want to avoid managing warm-up history yourself.

## Known failure modes

- start_ms or end_ms not an exact multiple of the interval — request rejected
- symbol not supported or unavailable — error returned
- end_ms not strictly greater than start_ms — invalid range error
- period value out of acceptable bounds — validation error
- Requested range extends into unclosed candles — only closed candles are included or range rejected

## How this service works

Deterministic, verifiable crypto market data and honest backtest audits. Use GET /v1/data/ohlcv for exact OHLCV over a half-open range with a SHA-256 Merkle manifest - only closed candles are returned, exchange decimal strings are preserved byte for byte, so the same query always yields the same root. Use GET /v1/data/proof to verify one candle against a root you already hold. Use POST /v1/validate/trades to find out whether a list of trade returns can be distinguished from luck, and POST /v1/validate/filter to test a trade filter against a permutation null. GET /, /v1/schema and /v1/data/sources are free.

## Output

An ordered list of ATR values keyed to timestamps within the requested half-open range [start_ms, end_ms). All values are fully converged because the API internally fetches and discards warm-up history before the requested window. Values are returned at the precision that accurately reproduces the indicator.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol",
      "interval",
      "start_ms",
      "end_ms"
     ],
     "properties": {
      "end_ms": {
       "type": "integer",
       "description": "EXCLUSIVE, epoch ms, exact multiple of the interval"
      },
      "period": {
       "type": "integer",
       "description": "optional; defaults to 14"
      },
      "symbol": {
       "type": "string",
       "description": "e.g. BTCUSDT"
      },
      "interval": {
       "enum": [
        "1m",
        "3m",
        "5m",
        "15m",
        "30m",
        "1h",
        "2h",
        "4h",
        "6h",
        "8h",
        "12h",
        "1d",
        "3d",
        "1w"
       ],
       "type": "string"
      },
      "start_ms": {
       "type": "integer",
       "description": "inclusive, epoch ms, exact multiple of the interval"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloudmaxi0x-atr-average-true-range-wilder-smoothing-d2b80da6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cloudmaxi0x.com](https://www.zero.xyz/host/cloudmaxi0x.com/llms.txt)
