API reference / Charts & indicators

Charts & indicators

OHLC aggregates and computed technical indicators.

6 endpoints. Pay per call in USDC via x402 with no account, or get unlimited calls for $99/mo. Every response is shaped { ticker, data, source, as_of }.

GET/api/v1/aggregates/{ticker}$0.02

Historical price history: OHLC bars over any timespan and date range

The stock price history endpoint. Returns historical OHLCV bars at the requested multiplier and timespan (minute, hour, day, week, month) between `from` and `to`. Use for price history, charting, backtesting, and trend analysis over any date range.

Example request
GET /api/v1/aggregates/AAPL
Response type (TypeScript)
interface AggregatesResponse {
  ticker: string;
  data: {
    bars: Array<{
      open: number;
      high: number;
      low: number;
      close: number;
      volume: number;
      vwap: number;
      trade_count: number;
      timestamp: string;
    }>;
    count: number;
    adjusted: boolean;
  };
  source: string;
  as_of: string;
}
Example response (click to expand)
{
  "ticker": "AAPL",
  "data": {
    "bars": [
      {
        "open": 278.855,
        "high": 287.22,
        "low": 278.37,
        "close": 280.14,
        "volume": 79915442.436216,
        "vwap": 282.3707,
        "trade_count": 1301741,
        "timestamp": "2026-05-01T04:00:00.000Z"
      },
      {
        "open": 279.655,
        "high": 280.63,
        "low": 274.8601,
        "close": 276.83,
        "volume": 46668430.403132,
        "vwap": 276.913,
        "trade_count": 768697,
        "timestamp": "2026-05-04T04:00:00.000Z"
      },
      {
        "open": 276.925,
        "high": 284.57,
        "low": 276.501,
        "close": 284.18,
        "volume": 49311712.249733,
        "vwap": 282.4091,
        "trade_count": 779580,
        "timestamp": "2026-05-05T04:00:00.000Z"
      },
      {
        "open": 281.915,
        "high": 288.02,
        "low": 281.07,
        "close": 287.51,
        "volume": 58321656.83813,
        "vwap": 286.3088,
        "trade_count": 839415,
        "timestamp": "2026-05-06T04:00:00.000Z"
      },
      {
        "open": 289.27,
        "high": 292.13,
        "low": 285.78,
        "close": 287.44,
        "volume": 45224300.521764,
        "vwap": 288.7495,
        "trade_count": 776365,
        "timestamp": "2026-05-07T04:00:00.000Z"
      },
      {
        "open": 290.01,
        "high": 294.76,
        "low": 290,
        "close": 293.32,
        "volume": 52692761.275784,
        "vwap": 293.1208,
        "trade_count": 790657,
        "timestamp": "2026-05-08T04:00:00.000Z"
      },
      {
        "open": 291.979,
        "high": 293.88,
        "low": 290.23,
        "close": 292.68,
        "volume": 42247285.857671,
        "vwap": 292.233,
        "trade_count": 712441,
        "timestamp": "2026-05-11T04:00:00.000Z"
      },
      {
        "open": 292.56,
        "high": 295.27,
        "low": 292.56,
        "close": 294.8,
        "volume": 45748110.69675,
        "vwap": 294.1897,
        "trade_count": 718399,
        "timestamp": "2026-05-12T04:00:00.000Z"
      },
      {
        "open": 293.5,
        "high": 300.92,
        "low": 293.5,
        "close": 298.87,
        "volume": 52684260.34243,
        "vwap": 298.1137,
        "trade_count": 777464,
        "timestamp": "2026-05-13T04:00:00.000Z"
      },
      {
        "open": 299.82,
        "high": 300.45,
        "low": 295.38,
        "close": 298.21,
        "volume": 35324922.433075,
        "vwap": 298.2822,
        "trade_count": 666775,
        "timestamp": "2026-05-14T04:00:00.000Z"
      },
      {
        "open": 297.9,
        "high": 303.2,
        "low": 296.52,
        "close": 300.23,
        "volume": 54862836.293122,
        "vwap": 300.4335,
        "trade_count": 777324,
        "timestamp": "2026-05-15T04:00:00.000Z"
      },
      {
        "open": 300.24,
        "high": 300.66,
        "low": 294.91,
        "close": 297.84,
        "volume": 34482959.706124,
        "vwap": 297.2155,
        "trade_count": 732940,
        "timestamp": "2026-05-18T04:00:00.000Z"
      },
      {
        "open": 296.97,
        "high": 300.51,
        "low": 296.35,
        "close": 298.97,
        "volume": 42243633.013323,
        "vwap": 298.3829,
        "trade_count": 640857,
        "timestamp": "2026-05-19T04:00:00.000Z"
      },
      {
        "open": 298.18,
        "high": 302.8,
        "low": 298.08,
        "close": 302.25,
        "volume": 38229843.71746,
        "vwap": 301.1324,
        "trade_count": 653718,
        "timestamp": "2026-05-20T04:00:00.000Z"
      },
      {
        "open": 301.055,
        "high": 305.54,
        "low": 300.4,
        "close": 304.99,
        "volume": 42931848.412135,
        "vwap": 304.0912,
        "trade_count": 652102,
        "timestamp": "2026-05-21T04:00:00.000Z"
      },
      {
        "open": 306.12,
        "high": 311.4,
        "low": 305.84,
        "close": 308.82,
        "volume": 43670223.711414,
        "vwap": 309.1625,
        "trade_count": 754581,
        "timestamp": "2026-05-22T04:00:00.000Z"
      },
      {
        "open": 309.56,
        "high": 311.82,
        "low": 307.67,
        "close": 308.33,
        "volume": 48000493.679542,
        "vwap": 309.4794,
        "trade_count": 761571,
        "timestamp": "2026-05-26T04:00:00.000Z"
      },
      {
        "open": 308.33,
        "high": 313.26,
        "low": 308.3,
        "close": 310.85,
        "volume": 50825646.554059,
        "vwap": 311.278,
        "trade_count": 753827,
        "timestamp": "2026-05-27T04:00:00.000Z"
      },
      {
        "open": 310.68,
        "high": 312.8,
        "low": 309.57,
        "close": 312.51,
        "volume": 49119581.02302,
        "vwap": 311.536,
        "trade_count": 715716,
        "timestamp": "2026-05-28T04:00:00.000Z"
      }
    ],
    "count": 19,
    "adjusted": true
  },
  "source": "x402stock",
  "as_of": "2026-05-31T19:20:21.706Z"
}
GET/api/v1/indicators/sma/{ticker}$0.01

Simple Moving Average (SMA)

Simple Moving Average time series. Tune with `?window=`, `?timespan=`, `?series_type=`, `?limit=`.

Example request
GET /api/v1/indicators/sma/AAPL
Response type (TypeScript)
interface SmaResponse {
  ticker: string;
  data: {
    indicator: string;
    count: number;
    values: Array<{
      timestamp: string;
      value: number;
    }>;
  };
  source: string;
  as_of: string;
}
Example response (click to expand)
{
  "ticker": "AAPL",
  "data": {
    "indicator": "sma",
    "count": 30,
    "values": [
      {
        "timestamp": "2026-05-29T04:00:00.000Z",
        "value": 275.2845999999998
      },
      {
        "timestamp": "2026-05-28T04:00:00.000Z",
        "value": 274.0421999999998
      },
      {
        "timestamp": "2026-05-27T04:00:00.000Z",
        "value": 272.8765999999998
      },
      {
        "timestamp": "2026-05-26T04:00:00.000Z",
        "value": 271.7159999999998
      },
      {
        "timestamp": "2026-05-22T04:00:00.000Z",
        "value": 270.55179999999984
      },
      {
        "timestamp": "2026-05-21T04:00:00.000Z",
        "value": 269.49059999999986
      },
      {
        "timestamp": "2026-05-20T04:00:00.000Z",
        "value": 268.6069999999998
      },
      {
        "timestamp": "2026-05-19T04:00:00.000Z",
        "value": 267.7785999999998
      },
      {
        "timestamp": "2026-05-18T04:00:00.000Z",
        "value": 266.99679999999984
      },
      {
        "timestamp": "2026-05-15T04:00:00.000Z",
        "value": 266.1891999999998
      },
      {
        "timestamp": "2026-05-14T04:00:00.000Z",
        "value": 265.39039999999983
      },
      {
        "timestamp": "2026-05-13T04:00:00.000Z",
        "value": 264.67659999999984
      },
      {
        "timestamp": "2026-05-12T04:00:00.000Z",
        "value": 263.9741999999998
      },
      {
        "timestamp": "2026-05-11T04:00:00.000Z",
        "value": 263.37259999999986
      },
      {
        "timestamp": "2026-05-08T04:00:00.000Z",
        "value": 262.8025999999998
      },
      {
        "timestamp": "2026-05-07T04:00:00.000Z",
        "value": 262.3951999999999
      },
      {
        "timestamp": "2026-05-06T04:00:00.000Z",
        "value": 262.13099999999986
      },
      {
        "timestamp": "2026-05-05T04:00:00.000Z",
        "value": 261.82359999999983
      },
      {
        "timestamp": "2026-05-04T04:00:00.000Z",
        "value": 261.4635999999998
      },
      {
        "timestamp": "2026-05-01T04:00:00.000Z",
        "value": 261.2185999999998
      },
      {
        "timestamp": "2026-04-30T04:00:00.000Z",
        "value": 260.82739999999984
      },
      {
        "timestamp": "2026-04-29T04:00:00.000Z",
        "value": 260.68739999999985
      },
      {
        "timestamp": "2026-04-28T04:00:00.000Z",
        "value": 260.5615999999998
      },
      {
        "timestamp": "2026-04-27T04:00:00.000Z",
        "value": 260.26299999999986
      },
      {
        "timestamp": "2026-04-24T04:00:00.000Z",
        "value": 260.1453999999998
      },
      {
        "timestamp": "2026-04-23T04:00:00.000Z",
        "value": 260.2341999999998
      },
      {
        "timestamp": "2026-04-22T04:00:00.000Z",
        "value": 260.2391999999998
      },
      {
        "timestamp": "2026-04-21T04:00:00.000Z",
        "value": 260.26819999999987
      },
      {
        "timestamp": "2026-04-20T04:00:00.000Z",
        "value": 260.50719999999984
      },
      {
        "timestamp": "2026-04-17T04:00:00.000Z",
        "value": 260.56439999999986
      }
    ]
  },
  "source": "x402stock",
  "as_of": "2026-05-29T04:00:00.000Z"
}
GET/api/v1/indicators/ema/{ticker}$0.01

Exponential Moving Average (EMA)

Exponential Moving Average time series. Tune with `?window=`, `?timespan=`, `?series_type=`, `?limit=`.

Example request
GET /api/v1/indicators/ema/AAPL
Response type (TypeScript)
interface EmaResponse {
  ticker: string;
  data: {
    indicator: string;
    count: number;
    values: Array<{
      timestamp: string;
      value: number;
    }>;
  };
  source: string;
  as_of: string;
}
Example response (click to expand)
{
  "ticker": "AAPL",
  "data": {
    "indicator": "ema",
    "count": 30,
    "values": [
      {
        "timestamp": "2026-05-29T04:00:00.000Z",
        "value": 283.23267378398805
      },
      {
        "timestamp": "2026-05-28T04:00:00.000Z",
        "value": 282.0560482241508
      },
      {
        "timestamp": "2026-05-27T04:00:00.000Z",
        "value": 280.81302978432024
      },
      {
        "timestamp": "2026-05-26T04:00:00.000Z",
        "value": 279.5870310000068
      },
      {
        "timestamp": "2026-05-22T04:00:00.000Z",
        "value": 278.4138485918438
      },
      {
        "timestamp": "2026-05-21T04:00:00.000Z",
        "value": 277.1727811874293
      },
      {
        "timestamp": "2026-05-20T04:00:00.000Z",
        "value": 276.0373845012019
      },
      {
        "timestamp": "2026-05-19T04:00:00.000Z",
        "value": 274.96748182778157
      },
      {
        "timestamp": "2026-05-18T04:00:00.000Z",
        "value": 273.9877872085073
      },
      {
        "timestamp": "2026-05-15T04:00:00.000Z",
        "value": 273.01422750273207
      },
      {
        "timestamp": "2026-05-14T04:00:00.000Z",
        "value": 271.90337964570074
      },
      {
        "timestamp": "2026-05-13T04:00:00.000Z",
        "value": 270.8296400394028
      },
      {
        "timestamp": "2026-05-12T04:00:00.000Z",
        "value": 269.6851355512151
      },
      {
        "timestamp": "2026-05-11T04:00:00.000Z",
        "value": 268.66003904310145
      },
      {
        "timestamp": "2026-05-08T04:00:00.000Z",
        "value": 267.6796324734321
      },
      {
        "timestamp": "2026-05-07T04:00:00.000Z",
        "value": 266.63308686010276
      },
      {
        "timestamp": "2026-05-06T04:00:00.000Z",
        "value": 265.78382509929065
      },
      {
        "timestamp": "2026-05-05T04:00:00.000Z",
        "value": 264.89704245028213
      },
      {
        "timestamp": "2026-05-04T04:00:00.000Z",
        "value": 264.1099829584569
      },
      {
        "timestamp": "2026-05-01T04:00:00.000Z",
        "value": 263.5907985894143
      },
      {
        "timestamp": "2026-04-30T04:00:00.000Z",
        "value": 262.915320980819
      },
      {
        "timestamp": "2026-04-29T04:00:00.000Z",
        "value": 262.5710483677912
      },
      {
        "timestamp": "2026-04-28T04:00:00.000Z",
        "value": 262.2608870766806
      },
      {
        "timestamp": "2026-04-27T04:00:00.000Z",
        "value": 261.91602532470836
      },
      {
        "timestamp": "2026-04-24T04:00:00.000Z",
        "value": 261.6836181951046
      },
      {
        "timestamp": "2026-04-23T04:00:00.000Z",
        "value": 261.3009087336803
      },
      {
        "timestamp": "2026-04-22T04:00:00.000Z",
        "value": 260.80584378403455
      },
      {
        "timestamp": "2026-04-21T04:00:00.000Z",
        "value": 260.3011843466482
      },
      {
        "timestamp": "2026-04-20T04:00:00.000Z",
        "value": 260.061640850593
      },
      {
        "timestamp": "2026-04-17T04:00:00.000Z",
        "value": 259.53150374245394
      }
    ]
  },
  "source": "x402stock",
  "as_of": "2026-05-29T04:00:00.000Z"
}
GET/api/v1/indicators/rsi/{ticker}$0.01

Relative Strength Index (RSI)

Relative Strength Index time series (momentum oscillator). Tune with `?window=` (default 14), `?timespan=`, `?series_type=`, `?limit=`.

Example request
GET /api/v1/indicators/rsi/AAPL
Response type (TypeScript)
interface RsiResponse {
  ticker: string;
  data: {
    indicator: string;
    count: number;
    values: Array<{
      timestamp: string;
      value: number;
    }>;
  };
  source: string;
  as_of: string;
}
Example response (click to expand)
{
  "ticker": "AAPL",
  "data": {
    "indicator": "rsi",
    "count": 30,
    "values": [
      {
        "timestamp": "2026-05-29T04:00:00.000Z",
        "value": 78.75948028742924
      },
      {
        "timestamp": "2026-05-28T04:00:00.000Z",
        "value": 79.77684858811568
      },
      {
        "timestamp": "2026-05-27T04:00:00.000Z",
        "value": 78.84060355543994
      },
      {
        "timestamp": "2026-05-26T04:00:00.000Z",
        "value": 77.36332971428146
      },
      {
        "timestamp": "2026-05-22T04:00:00.000Z",
        "value": 78.35100263380943
      },
      {
        "timestamp": "2026-05-21T04:00:00.000Z",
        "value": 76.14012802284947
      },
      {
        "timestamp": "2026-05-20T04:00:00.000Z",
        "value": 74.40364065292412
      },
      {
        "timestamp": "2026-05-19T04:00:00.000Z",
        "value": 72.15066247040778
      },
      {
        "timestamp": "2026-05-18T04:00:00.000Z",
        "value": 71.3437659942078
      },
      {
        "timestamp": "2026-05-15T04:00:00.000Z",
        "value": 75.64841302045431
      },
      {
        "timestamp": "2026-05-14T04:00:00.000Z",
        "value": 74.43796622569732
      },
      {
        "timestamp": "2026-05-13T04:00:00.000Z",
        "value": 75.57774415554718
      },
      {
        "timestamp": "2026-05-12T04:00:00.000Z",
        "value": 73.2306568207304
      },
      {
        "timestamp": "2026-05-11T04:00:00.000Z",
        "value": 71.92565891809852
      },
      {
        "timestamp": "2026-05-08T04:00:00.000Z",
        "value": 72.9221908887106
      },
      {
        "timestamp": "2026-05-07T04:00:00.000Z",
        "value": 69.29254857426058
      },
      {
        "timestamp": "2026-05-06T04:00:00.000Z",
        "value": 69.39537787499944
      },
      {
        "timestamp": "2026-05-05T04:00:00.000Z",
        "value": 67.24841687646054
      },
      {
        "timestamp": "2026-05-04T04:00:00.000Z",
        "value": 61.74867896013044
      },
      {
        "timestamp": "2026-05-01T04:00:00.000Z",
        "value": 66.41219531902064
      },
      {
        "timestamp": "2026-04-30T04:00:00.000Z",
        "value": 58.72540896592833
      },
      {
        "timestamp": "2026-04-29T04:00:00.000Z",
        "value": 57.5133489059472
      },
      {
        "timestamp": "2026-04-28T04:00:00.000Z",
        "value": 58.240108216333795
      },
      {
        "timestamp": "2026-04-27T04:00:00.000Z",
        "value": 55.223973398336206
      },
      {
        "timestamp": "2026-04-24T04:00:00.000Z",
        "value": 59.67828325665147
      },
      {
        "timestamp": "2026-04-23T04:00:00.000Z",
        "value": 62.915368106508886
      },
      {
        "timestamp": "2026-04-22T04:00:00.000Z",
        "value": 62.70931534590749
      },
      {
        "timestamp": "2026-04-21T04:00:00.000Z",
        "value": 56.69377246523444
      },
      {
        "timestamp": "2026-04-20T04:00:00.000Z",
        "value": 66.48147682949731
      },
      {
        "timestamp": "2026-04-17T04:00:00.000Z",
        "value": 64.1241274938528
      }
    ]
  },
  "source": "x402stock",
  "as_of": "2026-05-29T04:00:00.000Z"
}
GET/api/v1/indicators/macd/{ticker}$0.01

Moving Average Convergence/Divergence (MACD)

MACD time series with value, signal line, and histogram. Tune with `?short_window=`, `?long_window=`, `?signal_window=`, `?timespan=`, `?series_type=`, `?limit=`.

Example request
GET /api/v1/indicators/macd/AAPL
Response type (TypeScript)
interface MacdResponse {
  ticker: string;
  data: {
    indicator: string;
    count: number;
    values: Array<{
      timestamp: string;
      value: number;
      signal: number;
      histogram: number;
    }>;
  };
  source: string;
  as_of: string;
}
Example response (click to expand)
{
  "ticker": "AAPL",
  "data": {
    "indicator": "macd",
    "count": 30,
    "values": [
      {
        "timestamp": "2026-05-29T04:00:00.000Z",
        "value": 10.391555804023028,
        "signal": 9.777064363321957,
        "histogram": 0.6144914407010713
      },
      {
        "timestamp": "2026-05-28T04:00:00.000Z",
        "value": 10.424239282449092,
        "signal": 9.623441503146688,
        "histogram": 0.800797779302405
      },
      {
        "timestamp": "2026-05-27T04:00:00.000Z",
        "value": 10.268511805350045,
        "signal": 9.423242058321089,
        "histogram": 0.8452697470289579
      },
      {
        "timestamp": "2026-05-26T04:00:00.000Z",
        "value": 10.08940492650214,
        "signal": 9.211924621563846,
        "histogram": 0.8774803049382953
      },
      {
        "timestamp": "2026-05-22T04:00:00.000Z",
        "value": 9.970626256750847,
        "signal": 8.992554545329272,
        "histogram": 0.9780717114215758
      },
      {
        "timestamp": "2026-05-21T04:00:00.000Z",
        "value": 9.624103281806356,
        "signal": 8.748036617473877,
        "histogram": 0.8760666643324786
      },
      {
        "timestamp": "2026-05-20T04:00:00.000Z",
        "value": 9.431790636960043,
        "signal": 8.529019951390756,
        "histogram": 0.9027706855692889
      },
      {
        "timestamp": "2026-05-19T04:00:00.000Z",
        "value": 9.32812190645501,
        "signal": 8.303327279998435,
        "histogram": 1.0247946264565757
      },
      {
        "timestamp": "2026-05-18T04:00:00.000Z",
        "value": 9.39408477178921,
        "signal": 8.047128623384289,
        "histogram": 1.3469561484049208
      },
      {
        "timestamp": "2026-05-15T04:00:00.000Z",
        "value": 9.456690686862489,
        "signal": 7.71038958628306,
        "histogram": 1.7463011005794271
      },
      {
        "timestamp": "2026-05-14T04:00:00.000Z",
        "value": 9.155701281201573,
        "signal": 7.273814311138202,
        "histogram": 1.8818869700633707
      },
      {
        "timestamp": "2026-05-13T04:00:00.000Z",
        "value": 8.84402823934056,
        "signal": 6.803342568622359,
        "histogram": 2.040685670718201
      },
      {
        "timestamp": "2026-05-12T04:00:00.000Z",
        "value": 8.250379691520322,
        "signal": 6.293171150942808,
        "histogram": 1.9572085405775148
      },
      {
        "timestamp": "2026-05-11T04:00:00.000Z",
        "value": 7.787062749516679,
        "signal": 5.803869015798428,
        "histogram": 1.9831937337182504
      },
      {
        "timestamp": "2026-05-08T04:00:00.000Z",
        "value": 7.298290030820908,
        "signal": 5.308070582368865,
        "histogram": 1.9902194484520432
      },
      {
        "timestamp": "2026-05-07T04:00:00.000Z",
        "value": 6.503117723964522,
        "signal": 4.810515720255854,
        "histogram": 1.692602003708668
      },
      {
        "timestamp": "2026-05-06T04:00:00.000Z",
        "value": 5.992288812682887,
        "signal": 4.387365219328686,
        "histogram": 1.6049235933542008
      },
      {
        "timestamp": "2026-05-05T04:00:00.000Z",
        "value": 5.245997528644466,
        "signal": 3.986134320990136,
        "histogram": 1.2598632076543304
      },
      {
        "timestamp": "2026-05-04T04:00:00.000Z",
        "value": 4.556207598418723,
        "signal": 3.671168519076553,
        "histogram": 0.8850390793421701
      },
      {
        "timestamp": "2026-05-01T04:00:00.000Z",
        "value": 4.357876340589996,
        "signal": 3.44990874924101,
        "histogram": 0.9079675913489864
      },
      {
        "timestamp": "2026-04-30T04:00:00.000Z",
        "value": 3.704328061098181,
        "signal": 3.2229168514037627,
        "histogram": 0.4814112096944183
      },
      {
        "timestamp": "2026-04-29T04:00:00.000Z",
        "value": 3.7112634852944666,
        "signal": 3.102564048980158,
        "histogram": 0.6086994363143088
      },
      {
        "timestamp": "2026-04-28T04:00:00.000Z",
        "value": 3.7862790487553184,
        "signal": 2.9503891899015806,
        "histogram": 0.8358898588537378
      },
      {
        "timestamp": "2026-04-27T04:00:00.000Z",
        "value": 3.771971218136173,
        "signal": 2.741416725188146,
        "histogram": 1.0305544929480268
      },
      {
        "timestamp": "2026-04-24T04:00:00.000Z",
        "value": 4.014480551154804,
        "signal": 2.483778101951139,
        "histogram": 1.5307024492036652
      },
      {
        "timestamp": "2026-04-23T04:00:00.000Z",
        "value": 3.914345473645369,
        "signal": 2.101102489650223,
        "histogram": 1.813242983995146
      },
      {
        "timestamp": "2026-04-22T04:00:00.000Z",
        "value": 3.488291676916731,
        "signal": 1.6477917436514364,
        "histogram": 1.8404999332652945
      },
      {
        "timestamp": "2026-04-21T04:00:00.000Z",
        "value": 2.9202260428824616,
        "signal": 1.1876667603351128,
        "histogram": 1.7325592825473488
      },
      {
        "timestamp": "2026-04-20T04:00:00.000Z",
        "value": 2.8654189820913416,
        "signal": 0.7545269396982756,
        "histogram": 2.110892042393066
      },
      {
        "timestamp": "2026-04-17T04:00:00.000Z",
        "value": 2.0532773302148257,
        "signal": 0.22680392910000896,
        "histogram": 1.8264734011148167
      }
    ]
  },
  "source": "x402stock",
  "as_of": "2026-05-29T04:00:00.000Z"
}
GET/api/v1/technicals/{ticker}$0.03

Technical indicators in one call: RSI, SMA, EMA, MACD with signal zones

Use for a quick momentum or trend read on a US-listed stock. Returns the latest RSI (14) with overbought, oversold, or neutral zone, SMA 50 and EMA 20 with price position, and MACD with signal cross state, alongside the current delayed price. Factual indicator readings, not buy or sell guidance.

Example request
GET /api/v1/technicals/AAPL
Response type (TypeScript)
interface TechnicalsResponse {
  ticker: string;
  data: {
    price: {
      last: number;
      change_percent: number;
    };
    rsi_14: {
      value: number;
      zone: string;
    };
    sma_50: {
      value: number;
      price_vs_percent: number;
      position: string;
    };
    ema_20: {
      value: number;
      price_vs_percent: number;
      position: string;
    };
    macd: {
      value: number;
      signal: number;
      histogram: number;
      position: string;
    };
  };
  source: string;
  as_of: string;
}
Example response (click to expand)
{
  "ticker": "AAPL",
  "data": {
    "price": {
      "last": 0,
      "change_percent": 0
    },
    "rsi_14": {
      "value": 78.56,
      "zone": "overbought"
    },
    "sma_50": {
      "value": 275.2846,
      "price_vs_percent": -100,
      "position": "below"
    },
    "ema_20": {
      "value": 297.8868,
      "price_vs_percent": -100,
      "position": "below"
    },
    "macd": {
      "value": 10.3911,
      "signal": 9.7764,
      "histogram": 0.6147,
      "position": "above_signal"
    }
  },
  "source": "x402stock",
  "as_of": "2026-05-31T19:19:55.017Z"
}