# RSI Time Series — x402stock

> RSI Time Series — x402stock is a paid API for AI agents from agents.x402stock.xyz, paid per call via MPP, $0.01/call, status unknown (last checked 2026-09-14).

Returns a historical Relative Strength Index (RSI) momentum oscillator time series for a US-listed ticker, with configurable window, timespan, and price series type.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/indicators/rsi/{ticker}
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Provider: agents.x402stock.xyz
- Website: https://agents.x402stock.xyz
- Canonical page: https://www.zero.xyz/c/agents-x402stock-xyz-rsi-time-series-x402stock-2a5fcb42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UAvSBMWYDvLUogGEokHuV

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 agents-x402stock-xyz-rsi-time-series-x402stock-2a5fcb42
```

Example prompt: Pull the last 50 daily RSI values for NVDA using the default 14-period window on closing prices — I want to see if it's been in overbought territory recently.

## When to prefer this

Choose this endpoint when you need a ready-computed RSI time series for a US-listed stock or ETF without managing your own indicator calculation. It is ideal for AI agents performing technical analysis, overbought/oversold screening, or momentum-based trading signals. Prefer it over raw OHLCV endpoints when RSI is the specific indicator needed and you want a pay-per-call model with no account setup.

## Known failure modes

- Invalid or unknown ticker symbol returns an error or empty data
- Window or limit values outside allowed ranges (≤0 or >2000/5000) are rejected
- Unsupported timespan or series_type enum value returns a validation error
- Insufficient historical data for the requested window size may yield fewer results than expected
- Payment failure via x402 results in a 402 response with no data returned

## 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 JSON object containing the ticker, source, as-of timestamp, and a data object with the indicator name ('RSI'), total count of values, and an array of {timestamp, value} objects representing the RSI at each interval. Values range 0–100, where above 70 typically signals overbought and below 30 oversold.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ticker"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 30,
   "maximum": 5000,
   "exclusiveMinimum": 0
  },
  "ticker": {
   "type": "string",
   "description": "US-listed ticker symbol (uppercase), e.g. AAPL."
  },
  "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"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-x402stock-xyz-rsi-time-series-x402stock-2a5fcb42/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)
