{"uid":"cap_NWgiv2SiEf_2ZS0rJHOFm","slug":"x402stock-xyz-ba03825b","name":"x402stock.xyz RSI Indicator","description":"Relative Strength Index time series (momentum oscillator). Tune with `?window=` (default 14), `?timespan=`, `?series_type=`, `?limit=`. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.","url":"https://x402stock.xyz/api/v1/indicators/rsi/AAPL","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","$schema":"https://json-schema.org/draft/2020-12/schema","required":["timespan","window","series_type","adjusted","limit"],"properties":{"limit":{"type":"integer","default":30,"maximum":5000,"exclusiveMinimum":0},"window":{"type":"integer","default":14,"maximum":2000,"exclusiveMinimum":0},"adjusted":{"type":"boolean","default":true},"timespan":{"enum":["minute","hour","day","week","month","quarter","year"],"type":"string","default":"day"},"series_type":{"enum":["open","high","low","close"],"type":"string","default":"close"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ticker","data","source","as_of"],"properties":{"data":{"type":"object","required":["indicator","count","values"],"properties":{"count":{"type":"number"},"values":{"type":"array","items":{"type":"object","required":["timestamp","value"],"properties":{"value":{"type":"number"},"signal":{"type":"number"},"histogram":{"type":"number"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"indicator":{"type":"string"}},"additionalProperties":false},"as_of":{"type":"string"},"source":{"type":"string","const":"x402stock"},"ticker":{"type":"string"},"feedback":{"type":"object","required":["endpoint","method","free","note"],"properties":{"free":{"type":"boolean"},"note":{"type":"string"},"method":{"type":"string","const":"POST"},"endpoint":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"limit":30,"window":14,"adjusted":true,"timespan":"day","series_type":"close"}}},"response":{"data":{"count":30,"values":[{"value":48.145391109776696,"timestamp":"2026-06-11T04:00:00.000Z"},{"value":43.80498277935721,"timestamp":"2026-06-10T04:00:00.000Z"},{"value":42.6717758210242,"timestamp":"2026-06-09T04:00:00.000Z"},{"value":53.326134463502264,"timestamp":"2026-06-08T04:00:00.000Z"},{"value":60.760688045865116,"timestamp":"2026-06-05T04:00:00.000Z"},{"value":66.53793650008056,"timestamp":"2026-06-04T04:00:00.000Z"},{"value":65.78465600513564,"timestamp":"2026-06-03T04:00:00.000Z"},{"value":73.62226733141512,"timestamp":"2026-06-02T04:00:00.000Z"},{"value":67.06530122156013,"timestamp":"2026-06-01T04:00:00.000Z"},{"value":78.83501913688067,"timestamp":"2026-05-29T04:00:00.000Z"},{"value":79.85342694222072,"timestamp":"2026-05-28T04:00:00.000Z"},{"value":78.92066607748882,"timestamp":"2026-05-27T04:00:00.000Z"},{"value":77.44887880975062,"timestamp":"2026-05-26T04:00:00.000Z"},{"value":78.43771406531056,"timestamp":"2026-05-22T04:00:00.000Z"},{"value":76.2355225398313,"timestamp":"2026-05-21T04:00:00.000Z"},{"value":74.50583274819537,"timestamp":"2026-05-20T04:00:00.000Z"},{"value":72.2616446322456,"timestamp":"2026-05-19T04:00:00.000Z"},{"value":71.45788822766065,"timestamp":"2026-05-18T04:00:00.000Z"},{"value":75.76985040398164,"timestamp":"2026-05-15T04:00:00.000Z"},{"value":74.56531399761626,"timestamp":"2026-05-14T04:00:00.000Z"},{"value":75.7071630355232,"timestamp":"2026-05-13T04:00:00.000Z"},{"value":73.37224180484489,"timestamp":"2026-05-12T04:00:00.000Z"},{"value":72.07398773937827,"timestamp":"2026-05-11T04:00:00.000Z"},{"value":73.07269834360648,"timestamp":"2026-05-08T04:00:00.000Z"},{"value":69.46272440212613,"timestamp":"2026-05-07T04:00:00.000Z"},{"value":69.56582072488877,"timestamp":"2026-05-06T04:00:00.000Z"},{"value":67.4304955345819,"timestamp":"2026-05-05T04:00:00.000Z"},{"value":61.960372324081696,"timestamp":"2026-05-04T04:00:00.000Z"},{"value":66.64076050017233,"timestamp":"2026-05-01T04:00:00.000Z"},{"value":59.004510696395336,"timestamp":"2026-04-30T04:00:00.000Z"}],"indicator":"rsi"},"as_of":"2026-06-11T04:00:00.000Z","source":"x402stock","ticker":"AAPL"}},"exampleRequest":{"limit":30,"window":14,"adjusted":true,"timespan":"day","series_type":"close"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9ZRzWGHTCe245X_kkPyvC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns RSI (Relative Strength Index) time-series values for a given stock ticker with configurable window, timespan, and price series type.","exampleAgentPrompt":"Can you pull the 14-period daily RSI values for AAPL using closing prices, going back 30 bars, so I can see if it's overbought or oversold?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the ticker symbol, the indicator name ('RSI'), the count of returned values, an array of timestamped RSI values (with optional signal and histogram fields), the data source ('massive'), and the as-of date of the computation.","failureModes":["Invalid ticker symbol returns error or empty data","Window or limit out of allowed range (window 1-2000, limit 1-5000) returns validation error","Unsupported timespan or series_type enum value returns 400-level error","Payment not fulfilled (x402) results in 402 Payment Required response","Ticker with insufficient history for the requested window returns partial or empty values array"],"whenToPreferThis":"Use this endpoint when you need RSI momentum indicator data for a US-listed equity for technical analysis, trading signals, or overbought/oversold detection. Prefer this over generic market data endpoints when RSI specifically is required. It supports fine-grained control over window size, timespan granularity (minute to year), price series type, and adjustment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:01.921Z","isFirstParty":false}