Catalog/quant-indicators

Quant

Technical indicators (RSI, MACD, …) API

Compute technical indicators over a price/OHLC series using the canonical conventions (Wilder's RSI/ATR, standard EMA/MACD) so values match TradingView/TA-Lib: SMA, EMA, RSI, MACD, Bollinger Bands, ATR, Stochastic. Answers 'RSI of these prices', 'MACD', 'bollinger bands', 'ATR'.

Price$0.03per request
MethodPOST
Route/v1/quant/indicators
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
quantindicatorsrsimacdbollingeratrtechnical-analysistrading
API URLhttps://x402.hexl.dev/v1/quant/indicators
Integration docs
Example request
{
  "indicator": "rsi",
  "prices": [
    44,
    44.3,
    44.1,
    43.6,
    44.3,
    44.8,
    45.1,
    45.4,
    45.1,
    45.5,
    45.8,
    46.1,
    45.9,
    46.2,
    46.5
  ],
  "period": 14
}
Example response
{
  "indicator": "rsi",
  "period": 14,
  "values": [
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    70.5
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "indicator"
  ],
  "properties": {
    "indicator": {
      "type": "string",
      "enum": [
        "sma",
        "ema",
        "rsi",
        "macd",
        "bollinger",
        "atr",
        "stochastic"
      ]
    },
    "prices": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "high": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "low": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "close": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "period": {
      "type": "number"
    },
    "fast": {
      "type": "number"
    },
    "slow": {
      "type": "number"
    },
    "signal": {
      "type": "number"
    },
    "stdDev": {
      "type": "number"
    },
    "kPeriod": {
      "type": "number"
    },
    "dPeriod": {
      "type": "number"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}