{"uid":"cap_QwH8E6qpzPpGToHSURqU1","slug":"rsi-relative-strength-index-calculator-503f8dd2","name":"RSI (Relative Strength Index) Calculator","description":"Compute the relative strength index (Wilder's smoothing, default period 14) over a price series you supply, such as daily closes. Returns one value per input position (null until the first full period), the latest value, and a reading: overbought at 70 or above, oversold at 30 or below, else neutral. No market data is fetched: pass your own closes.","url":"https://agent402.tools/api/rsi?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"period":{"type":"number","description":"Look-back period, 2 to 200 (default 14)"},"values":{"type":"array","description":"Price series, oldest first (closes), at least period + 1 values, max 10000"}}},"responseSchema":{"type":"json","example":{"rsi":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,70.4641,66.2496,66.4809,69.3469,66.2947,57.915],"count":20,"latest":57.915,"period":14,"reading":"neutral"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TmqWUnDJNkGqsTq1C5khc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Relative Strength Index (RSI) using Wilder's smoothing over a supplied price series, returning one value per input position (null until the first full period).","exampleAgentPrompt":"Calculate the RSI with a 14-period look-back on these daily closing prices (oldest first): [44.34, 44.09, 44.15, 43.61, 44.33, 44.83, 45.10, 45.15, 43.61, 44.33, 44.83, 45.10, 45.15, 43.61, 44.33] and tell me if the asset looks overbought or oversold.","exampleUseCases":[{"title":"Overbought/oversold stock screening","prompt":"I have 30 days of closing prices for AAPL — can you calculate the RSI using the default 14-period Wilder smoothing and tell me whether it's currently overbought (above 70) or oversold (below 30)?"},{"title":"Crypto momentum signal for trading bot","prompt":"Run RSI with a 21-period look-back on this array of Bitcoin hourly closes and return all the RSI values so my bot can decide when to enter a long position."},{"title":"Custom period RSI for swing trading strategy","prompt":"I'm backtesting a swing trading strategy and need RSI computed with a 9-period look-back over these 60 daily closes for ETH — give me the full array of RSI values, nulls included for the warm-up period."}],"resultDescription":"An array of RSI values (one per input price), where the first (period - 1) entries are null (warm-up period), followed by floating-point RSI values between 0 and 100 computed using Wilder's exponential smoothing method.","failureModes":["Fewer than period+1 values supplied — returns error or all nulls","Period outside the allowed range of 2–200 — validation error","More than 10,000 values submitted — request rejected","Non-numeric values in the price series — parsing or validation error","Payment not provided or invalid — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a standards-compliant RSI using Wilder's smoothing (not simple moving average) and want to supply your own price series rather than fetching it from a data provider. Ideal for backtesting pipelines, trading signal generation, or on-the-fly technical analysis where you already have the price data in hand. Prefer this over bundled research skills when you only need the RSI computation itself without additional API calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:30:03.536Z","isFirstParty":false,"canonicalSlug":"rsi-relative-strength-index-calculator-503f8dd2"}