{"uid":"cap_x6wmLDNwdbLvR0EbSW3nS","slug":"rsi-technical-indicators-endpoint-crypto-microdata-x402-f2a5bea3","name":"RSI & Technical Indicators Endpoint (Crypto Microdata x402)","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/v1/indicators/rsi?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","properties":{"limit":{"type":"integer","maximum":500,"minimum":10,"description":"Number of candles (default 100)"},"symbol":{"type":"string","examples":["BTC","ETH","SOLUSDT"],"description":"Base asset or pair (default BTC); quote is USDT"},"interval":{"enum":["1m","5m","15m","1h","4h","1d"],"type":"string","description":"Candle size (default 1h)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"n":100,"last":80436.6,"source":"binance","symbol":"BTCUSDT","candles":[{"c":80305.21,"h":80418.67,"l":79916,"o":80058.01,"t":"2026-10-29T13:00:00Z","v":792.98}],"interval":"1h","change_pct":1.8,"indicators":{"zone":{"low":79900.9,"high":80519.9,"in_zone":true},"atr14":412.7,"ema20":80210.4,"ema50":79880.1,"rsi14":58.3,"trend":"up","atr14_pct":0.51},"updated_at":"2026-10-29T14:20:00Z"}},"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_W4COmwroq_HH9XkPsCVyJ","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":"Returns RSI, EMA, ATR, trend zone, and OHLCV candles for a crypto pair, paid per-call via x402 micropayments (USDC on Base)","exampleAgentPrompt":"What is the current RSI14 and trend for BTC on the 1-hour chart? Pull the last 100 candles and tell me if it's in overbought or oversold territory.","exampleUseCases":[{"title":"Momentum check for trading bot","prompt":"Check the RSI14 and EMA trend for ETH on the 4-hour chart using 100 candles — I want to know if ETH is overbought and whether the trend is up or down before I place a trade."},{"title":"Support zone detection for BTC","prompt":"Is Bitcoin currently inside a support or resistance zone right now? Use the 1-hour interval and give me the zone boundaries, ATR, and whether we're in the zone."},{"title":"Daily chart scan for SOL","prompt":"Pull the daily candles for SOLUSDT with RSI14, EMA20, and EMA50 — I need to see the overall trend and momentum for Solana before deciding to hold or sell."}],"resultDescription":"Returns a JSON object with OHLCV candle array, RSI14, EMA20, EMA50, ATR14 (absolute and percentage), trend direction (up/down/sideways), price zone (low/high bounds and whether price is in zone), percent change, data source, symbol, interval, candle count, and last price timestamp.","failureModes":["Unknown symbol returns an error or empty candles","Interval not in allowed enum values (1m, 5m, 15m, 1h, 4h, 1d) returns 400","Payment failure via x402 (insufficient USDC balance or unsupported wallet) returns 402","Limit outside 10-500 range returns validation error","Upstream Binance data unavailability causes delayed or failed response"],"whenToPreferThis":"Choose this endpoint when an AI trading agent needs pre-computed technical indicators (RSI, EMA, ATR, trend zone) alongside raw OHLCV candles in a single call, without managing API keys — especially when operating with a USDC wallet on Base via x402 micropayments. Prefer over raw exchange APIs when you want aggregated indicator computation rather than raw tick data, and over premium data providers when cost-per-call economics matter for high-frequency agent loops.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:23.949Z","isFirstParty":false,"canonicalSlug":"rsi-technical-indicators-endpoint-crypto-microdata-x402-f2a5bea3"}