{"uid":"cap_I0c9Hn3M8L8JSd-dtfhOR","slug":"x402stock-rsi-indicator-4e9f7983","name":"x402stock RSI Indicator","description":"Pay-per-call market and economic data API for AI agents: US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities, US and global macro (Fed, CPI, jobs, GDP, Treasury, World Bank), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 on Base.","url":"https://x402stock.xyz/api/v1/indicators/rsi/%7Bticker%7D","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":{"type":"json","example":{"data":{"count":2,"values":[{"value":61.42,"timestamp":"2026-05-28T12:00:00.000Z"},{"value":58.9,"timestamp":"2026-05-27T12:00:00.000Z"}],"indicator":"rsi"},"as_of":"2026-05-28T12:00:00.000Z","source":"x402stock","ticker":"AAPL"}},"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{"ticker":"AAPL"},"queryParams":{"limit":30,"window":14,"adjusted":true,"timespan":"day","series_type":"close"}}},"response":{"data":{"count":30,"values":[{"value":50.929923386430396,"timestamp":"2026-06-18T04:00:00.000Z"},{"value":48.878506773076346,"timestamp":"2026-06-17T04:00:00.000Z"},{"value":52.10919850152174,"timestamp":"2026-06-16T04:00:00.000Z"},{"value":49.44989323212468,"timestamp":"2026-06-15T04:00:00.000Z"},{"value":44.03686897286101,"timestamp":"2026-06-12T04:00:00.000Z"},{"value":48.10587336162025,"timestamp":"2026-06-11T04:00:00.000Z"},{"value":43.76327599307833,"timestamp":"2026-06-10T04:00:00.000Z"},{"value":42.629525956510406,"timestamp":"2026-06-09T04:00:00.000Z"},{"value":53.26984095283243,"timestamp":"2026-06-08T04:00:00.000Z"},{"value":60.69376808228144,"timestamp":"2026-06-05T04:00:00.000Z"},{"value":66.46228968919127,"timestamp":"2026-06-04T04:00:00.000Z"},{"value":65.7076225003202,"timestamp":"2026-06-03T04:00:00.000Z"},{"value":73.53238658020211,"timestamp":"2026-06-02T04:00:00.000Z"},{"value":66.95692804166646,"timestamp":"2026-06-01T04:00:00.000Z"},{"value":78.69954462485333,"timestamp":"2026-05-29T04:00:00.000Z"},{"value":79.71549404836455,"timestamp":"2026-05-28T04:00:00.000Z"},{"value":78.77703162787996,"timestamp":"2026-05-27T04:00:00.000Z"},{"value":77.29637109296068,"timestamp":"2026-05-26T04:00:00.000Z"},{"value":78.28247982553776,"timestamp":"2026-05-22T04:00:00.000Z"},{"value":76.06636435570304,"timestamp":"2026-05-21T04:00:00.000Z"},{"value":74.32598876236288,"timestamp":"2026-05-20T04:00:00.000Z"},{"value":72.06826491155621,"timestamp":"2026-05-19T04:00:00.000Z"},{"value":71.25975092354435,"timestamp":"2026-05-18T04:00:00.000Z"},{"value":75.55499218182067,"timestamp":"2026-05-15T04:00:00.000Z"},{"value":74.3411881083647,"timestamp":"2026-05-14T04:00:00.000Z"},{"value":75.47826066122045,"timestamp":"2026-05-13T04:00:00.000Z"},{"value":73.12438879073973,"timestamp":"2026-05-12T04:00:00.000Z"},{"value":71.81582896973276,"timestamp":"2026-05-11T04:00:00.000Z"},{"value":72.80959297981066,"timestamp":"2026-05-08T04:00:00.000Z"},{"value":69.1700336257934,"timestamp":"2026-05-07T04:00:00.000Z"}],"indicator":"rsi"},"as_of":"2026-06-18T04: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__G57cPZBkFcz6rKHwZucX","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 Relative Strength Index (RSI) values for a given ticker symbol over a configurable time window and series type","exampleAgentPrompt":"What's the current 14-day daily RSI for AAPL based on closing prices — give me the last 30 values so I can see if it's overbought or oversold?","exampleUseCases":[{"title":"Crypto overbought/oversold RSI check","prompt":"Can you pull the 14-day RSI for Bitcoin over the last 30 days and tell me whether it's currently in overbought or oversold territory?"},{"title":"ETF momentum analysis before rebalancing","prompt":"I'm thinking about rebalancing my portfolio — can you grab the weekly RSI for SPY over the past 20 periods so I can see where momentum stands before I make any moves?"},{"title":"Multi-ticker RSI momentum comparison","prompt":"I want to compare RSI momentum across NVDA, AMD, and TSLA — can you fetch the 14-day daily RSI for each of them so I can see which one looks the most oversold right now?"}],"resultDescription":"A JSON object containing the ticker symbol, indicator name ('rsi'), an array of timestamped RSI values (each with a numeric value and optional signal/histogram fields), total count of values returned, data source identifier, and an as_of timestamp indicating data freshness.","failureModes":["Invalid or unknown ticker returns an error or empty data array","Window parameter too large (above 2000) returns a validation error","Limit exceeding 5000 causes a bad request error","Payment not provided or insufficient USDC causes a 402 Payment Required response","Unsupported timespan enum value returns a validation error","Unsupported series_type enum value returns a validation error"],"whenToPreferThis":"Use this endpoint when you need RSI momentum indicator data for US stocks, ETFs, forex, or crypto tickers and want pay-per-call pricing with no account or API key setup. Prefer this over general market data endpoints when specifically performing technical analysis or checking overbought/oversold conditions. Ideal for AI agents making autonomous trading analysis calls where per-request USDC micropayments via x402 on Base are acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:45.140Z","isFirstParty":false}