{"uid":"cap_p_gASrdvpU46OUBVWPR-i","slug":"agent402-crypto-technical-indicators-6f9eb0ea","name":"Agent402 Crypto Technical Indicators","description":"RSI, MACD, EMA 20/50/200, SMA 20/50, Bollinger bands, ATR and VWAP computed deterministically from live candles for one coin and interval, with the latest series points and a plain-language summary. Use it when an agent needs standard technical indicators without fetching candles and computing them itself.","url":"https://agent402.tools/api/crypto-indicators?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"coin":{"type":"string","description":"Perp ticker, e.g. BTC, ETH, SOL."},"limit":{"type":"number","description":"Candles to compute over (default 200, max 500). EMA200 needs 200, MACD 34, RSI/ATR 15, SMA/Bollinger 20."},"ohlcv":{"type":"number","description":"Also return the last N OHLCV candles, newest last (default 0 = none, max 100)."},"points":{"type":"number","description":"Series points to return per indicator, newest last (default 20, max 100)."},"interval":{"type":"string","description":"Candle interval (default 1h): 1m 3m 5m 15m 30m 1h 2h 4h 8h 12h 1d 3d 1w 1M."},"indicators":{"type":"array","items":{"type":"string"},"description":"Optional subset of: rsi, macd, ema, sma, bollinger, atr, vwap (default all)."}}},"responseSchema":{"type":"json","example":{"coin":"BTC","source":"hyperliquid","window":{"to":"2026-08-22T12:00:00.000Z","from":"2026-08-14T05:00:00.000Z"},"candles":200,"summary":{"text":"BTC 1h: close above EMA50, RSI 56.2 (neutral), MACD histogram positive, no cross on the latest bar.","trend":"above","rsiZone":"neutral","macdCross":"none","macdHistogram":"positive"},"interval":"1h","fetchedAt":"2026-08-22T12:05:00.000Z","lastClose":77244,"indicators":{"atr":{"value":410.2,"period":14,"series":[{"t":"2026-08-22T12:00:00.000Z","v":410.2}],"pctOfClose":0.53},"ema":{"ema20":77100.2,"ema50":76800.4,"ema200":75900.1,"series":[{"t":"2026-08-22T12:00:00.000Z","ema20":77100.2,"ema50":76800.4,"ema200":75900.1}]},"rsi":{"value":56.21,"period":14,"series":[{"t":"2026-08-22T12:00:00.000Z","v":56.21}]},"sma":{"sma20":77050.3,"sma50":76750.9,"series":[{"t":"2026-08-22T12:00:00.000Z","sma20":77050.3,"sma50":76750.9}]},"macd":{"fast":12,"slow":26,"value":120.5,"series":[{"t":"2026-08-22T12:00:00.000Z","macd":120.5,"signal":98.2,"histogram":22.3}],"signal":9,"histogram":22.3,"signalValue":98.2},"vwap":{"value":76990.7,"series":[{"t":"2026-08-22T12:00:00.000Z","v":76990.7}]},"bollinger":{"mult":2,"lower":76200.5,"upper":77900.1,"middle":77050.3,"period":20,"series":[{"t":"2026-08-22T12:00:00.000Z","lower":76200.5,"upper":77900.1,"middle":77050.3}],"percentB":0.61,"bandwidthPct":2.2}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yYgTenzWen8NMhmE6R_WH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes RSI, MACD, EMA, SMA, Bollinger Bands, ATR, and VWAP for any crypto perpetual ticker over a specified interval and window, with a plain-English trend summary.","exampleAgentPrompt":"Pull the full suite of technical indicators — RSI, MACD, EMA, Bollinger Bands, ATR, and VWAP — for BTC on the 4h interval using 200 candles and return the last 20 data points per indicator, with the plain-English trend summary.","exampleUseCases":[{"title":"Crypto momentum check before trade","prompt":"Before I place a BTC long, check RSI, MACD, and EMA on the 1h chart — tell me whether momentum is bullish, the RSI zone, and whether price is above the EMA200."},{"title":"Volatility screening for options sizing","prompt":"I need ATR and Bollinger Band width for ETH on the 4h chart over 200 candles so I can size my position based on current volatility — give me the last 20 series points too."},{"title":"Automated multi-coin TA dashboard","prompt":"Get the full technical indicator set for SOL on the 15-minute interval with 100 candles, and include the trend summary so I can log it to my trading dashboard every 15 minutes."}],"resultDescription":"A JSON object containing the coin ticker, data source (Hyperliquid), candle window timestamps, number of candles fetched, interval, last close price, a plain-English summary with trend direction, RSI zone, and MACD cross/histogram status, plus per-indicator objects each containing current value(s) and a time-series array (newest last) for RSI, MACD (with signal and histogram), EMA (20/50/200), SMA (20/50), Bollinger Bands (upper/middle/lower/percentB/bandwidthPct), ATR (with pctOfClose), and VWAP.","failureModes":["Invalid ticker symbol returns error — only Hyperliquid perpetual tickers are supported","Interval string not in allowed set (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w, 1M) returns validation error","Limit exceeding 500 or points exceeding 100 returns validation error","Insufficient candle history for requested limit on low-liquidity pairs may return partial data or error","Payment failure over x402/USDC results in 402 response before computation","Hyperliquid data source unavailable causes upstream timeout or 503"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive set of standard technical indicators (RSI, MACD, EMA, SMA, Bollinger Bands, ATR, VWAP) for crypto perpetual markets in a single call, especially when no API key is available and payment-per-call via USDC wallet is acceptable. Prefer it over building your own TA pipeline when you want a pre-computed plain-English trend summary alongside raw series data. It is particularly suited for agents automating trading decisions, generating market reports, or screening assets by momentum and volatility signals on Hyperliquid perp markets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:20.494Z","isFirstParty":false,"canonicalSlug":"agent402-crypto-technical-indicators-6f9eb0ea"}