# QuantOracle Technical Indicators

> QuantOracle Technical Indicators is a paid API for AI agents from api.quantoracle.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Computes a suite of technical indicators (RSI, EMA, SMA, ATR, Bollinger Bands, ROC, Stochastic K) and trend signals from a price/volume series

## Facts

- Endpoint: POST https://api.quantoracle.dev/v1/indicators/technical
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-quantoracle-dev-2184804b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q2ZvGKGYbiEUEN1EuMYBY

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 api-quantoracle-dev-2184804b -d '<json body>'
```

Example prompt: Run a full set of technical indicators — RSI, EMA, SMA, ATR, Bollinger Bands, Stochastic K, and trend signal — on these 20 Bitcoin closing prices using a 14-period window: [42100, 42350, 41900, 42200, 41800, 42500, 42300, 41950, 42100, 42400, 42050, 42300, 42150, 41900, 42200, 42100, 42350, 42000, 42250, 42150], and include matching daily volumes.

## When to prefer this

Use this endpoint when you need a comprehensive set of technical indicators computed server-side from raw price/volume arrays in a single call, rather than computing indicators client-side or calling multiple specialized endpoints. Ideal for agents that need trend classification and signal detection (e.g. BELOW_SMA) alongside standard oscillators and moving averages in one response.

## Known failure modes

- Insufficient price data for the requested period (fewer data points than period length)
- Malformed price or volume arrays (non-numeric values, mismatched lengths)
- Period value out of supported range
- Request body missing required fields (prices, period)
- Server-side computation error returning 500

## How this service works

QuantOracle: indicators/technical

## Output

Returns a JSON object containing RSI, EMA, SMA, ATR, ROC, Stochastic K, Bollinger Bands (upper/mid/lower), current price, trend direction (BEARISH/BULLISH), and an array of triggered signals such as BELOW_SMA, with response time in milliseconds.

## Example request

```json
{
 "params": {
  "fast": 5,
  "slow": 10
 },
 "prices": [
  42100,
  42350,
  41900,
  42200,
  41800,
  42500,
  42300,
  41950,
  42100,
  42400,
  42050,
  42300,
  42150,
  41900,
  42200,
  42100,
  42350,
  42000,
  42250,
  42150,
  42300,
  42100,
  42400,
  42050,
  42200,
  42350,
  41950,
  42100,
  42250,
  42150
 ],
 "strategy": "sma_crossover",
 "slippage_bps": 5,
 "commission_bps": 5,
 "initial_capital": 10000
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "period": {
   "type": "integer",
   "title": "Period",
   "default": 14,
   "minimum": 2,
   "description": "Lookback period for indicator calculations"
  },
  "prices": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "title": "Prices",
   "minItems": 5,
   "description": "Array of price data (e.g. closing prices)"
  },
  "volumes": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "number"
     }
    },
    {
     "type": "null"
    }
   ],
   "title": "Volumes",
   "description": "Optional array of volume data (same length as prices)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-quantoracle-dev-2184804b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.quantoracle.dev](https://www.zero.xyz/host/api.quantoracle.dev/llms.txt)
