US Stocks

TAAPI.IO provides real-time and historical technical indicator data for US equities listed in the S&P 500, NASDAQ 100, and the Dow Jones Industrial Average, as well as the most popular ETFs — SPY, QQQ, IWM, and many more.

Plan requirements

Access to US Stocks data requires a plan that includes equity data. See the pricing page for full details.


How to query US Stocks

Use exchange=NYSE (or the relevant stock exchange identifier) and pass the ticker symbol via the symbol parameter. Authentication uses the same Bearer token as all other endpoints:

GET https://v2.taapi.io/indicator/rsi
    ?exchange=NYSE
    &symbol=AAPL
    &timeframe=1h
Authorization: Bearer YOUR_API_KEY

Response:

{
  "value": [58.32],
  "timestamp": [1708300800]
}

Available timeframes

Timeframe Description
1m 1 minute
5m 5 minutes
15m 15 minutes
1h 1 hour
4h 4 hours
1d 1 day
1w 1 week

Get all available symbols

Retrieve the full list of supported symbols for a specific exchange:

GET https://v2.taapi.io/exchanges/NYSE/symbols
Authorization: Bearer YOUR_API_KEY

Response:

{
  "count": 564,
  "symbols": ["AAPL", "MSFT", "GOOGL", "AMZN", ...]
}

You can also list all supported exchanges first:

GET https://v2.taapi.io/exchanges
Authorization: Bearer YOUR_API_KEY

Historical data

Use the results parameter to retrieve multiple historical indicator values:

GET https://v2.taapi.io/indicator/rsi
    ?exchange=NYSE
    &symbol=AAPL
    &timeframe=1d
    &results=30
Authorization: Bearer YOUR_API_KEY

This returns the RSI value for the past 30 daily candles:

{
  "value": [54.1, 56.3, 58.32, ...],
  "timestamp": [1707264000, 1707350400, 1708300800, ...]
}

Use backtrack to shift further back in time:

GET https://v2.taapi.io/indicator/rsi
    ?exchange=NYSE
    &symbol=AAPL
    &timeframe=1d
    &results=1
    &backtrack=5
Authorization: Bearer YOUR_API_KEY

Raw OHLCV candle data

Retrieve raw candle data for US stocks using the /candles endpoint:

GET https://v2.taapi.io/candles
    ?exchange=NYSE
    &symbol=AAPL
    &timeframe=1d
    &results=10
Authorization: Bearer YOUR_API_KEY

Response — array of OHLCV candles, oldest to newest:

[
  {
    "timestamp": 1708214400,
    "timestampHuman": "2024-02-18 00:00:00",
    "open": 183.42,
    "high": 184.90,
    "low": 182.61,
    "close": 184.37,
    "volume": 55234120
  },
  ...
]

Stocks in bulk requests

US Stocks work seamlessly in POST /bulk requests alongside crypto assets:

{
  "constructs": [
    {
      "id": "aapl_daily",
      "exchange": "NYSE",
      "symbol": "AAPL",
      "timeframe": "1d",
      "indicators": [
        { "id": "rsi",  "indicator": "rsi" },
        { "id": "macd", "indicator": "macd" }
      ]
    },
    {
      "id": "btc_daily",
      "exchange": "binance",
      "symbol": "BTCUSDT",
      "timeframe": "1d",
      "indicators": [
        { "id": "rsi", "indicator": "rsi" }
      ]
    }
  ]
}

Supported indexes and ETFs

In addition to individual stocks, TAAPI.IO covers major US indexes and ETFs including:

SPY, QQQ, IWM, DIA, GLD, SLV, TLT, HYG, VTI, XLF, XLK, XLE, XLV, XLI, XLP, XLU, XLY, XLB, ARKK, and many more.

Was this page helpful? Send us feedback or open a support ticket.