Skip to content

Index Endpoints (9)

Market index data for major indices like SPX, NDX, DJI, VIX, and more. All endpoints follow the same pattern as stock endpoints but operate on index symbols.

Endpoint Categories

CategoryEndpointsDescription
List2Available symbols and dates
Snapshot3Latest OHLC, price, and market value
History3EOD, intraday OHLC, and price history
At-Time1Price at a specific time of day

Quick Example

rust
let symbols = tdx.index_list_symbols().await?;
let eod = tdx.index_history_eod("SPX", "20240101", "20240301").await?;
python
symbols = tdx.index_list_symbols()
eod = tdx.index_history_eod("SPX", "20240101", "20240301")
typescript
const symbols = tdx.indexListSymbols();
const eod = tdx.indexHistoryEOD('SPX', '20240101', '20240301');
cpp
auto symbols = client.index_list_symbols();
auto eod = client.index_history_eod("SPX", "20240101", "20240301");

Common Index Symbols

SymbolDescription
SPXS&P 500
NDXNasdaq 100
DJIDow Jones Industrial Average
RUTRussell 2000
VIXCBOE Volatility Index

TIP

Use index_list_symbols to get the full list of available index symbols from ThetaData.

Released under the Apache-2.0 License.