# x402stock RSI Indicator

> x402stock RSI Indicator is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Returns a time series of Relative Strength Index (RSI) momentum oscillator values for a given stock ticker, with configurable window, timespan, series type, and limit.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/indicators/rsi/:ticker?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-rsi-indicator-784dbe1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EaDqdMgzZroXpHYdluXsN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402stock-rsi-indicator-784dbe1d
```

Example prompt: What's the RSI for NVDA over the last 30 daily candles using a 14-day window on close prices — is it overbought?

## When to prefer this

Choose this endpoint when you need RSI momentum oscillator data specifically, especially with flexible tuning of the calculation window, timespan granularity, and price series type. Prefer over raw OHLCV endpoints when you want pre-computed RSI rather than calculating it yourself. Ideal for AI agents building trading signals, screening overbought/oversold conditions, or performing technical analysis without requiring an API key — just pay $0.01 USDC per call via x402.

## Known failure modes

- Invalid or unknown ticker symbol returns a 404 or empty result
- Window or limit out of allowed range returns a 400 validation error
- Insufficient price history for the requested window size yields fewer data points than expected
- Timespan enum value not in allowed list returns a 400 error
- Payment not processed via x402 returns a 402 Payment Required response
- Rate limiting or network issues may cause transient failures

## How this service works

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.

## Output

Returns a time series array of RSI values keyed by timestamp, computed using the specified window (default 14), timespan (default daily), and price series type (default close). Each data point includes the timestamp and the RSI value (0–100 scale). Higher values indicate overbought conditions; lower values indicate oversold conditions.

## Request schema (JSON Schema)

```json
{
 "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"
    },
    "pathParams": {
     "type": "object",
     "ticker": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-rsi-indicator-784dbe1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
