{"uid":"cap_bjm20Ee7EUZZzgvM4Z2Nf","slug":"cloudmaxi0x-atr-average-true-range-wilder-smoothing-d2b80da6","name":"CloudMaxi0x ATR – Average True Range (Wilder Smoothing)","description":"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.","url":"https://cloudmaxi0x.com/v1/indicators/atr","method":"GET","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Fw6rMyC3pI2ron0KMnBZs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Volatility-based position sizing for a trading bot","prompt":"Fetch the 14-period ATR for ETHUSDT on the 1-hour interval from March 1 2025 00:00 UTC to March 15 2025 00:00 UTC — I need converged values so I can size my positions correctly based on current volatility."},{"title":"Stop-loss distance calibration for a strategy","prompt":"Get me the daily ATR for SOLUSDT from January 1 2025 to April 1 2025, 14-period Wilder smoothed — I want to set my stop-loss distances as a multiple of ATR across that period."},{"title":"Backtesting volatility filter across crypto pairs","prompt":"Pull the 4-hour ATR values for BNBUSDT with a 14-period lookback from February 1 2025 00:00 UTC to March 1 2025 00:00 UTC. I'm running a backtest and need the values to already be warmed up so the early candles aren't biased."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:49.639Z","isFirstParty":false}