Get Index Historical Data
Macro
Get Index Historical Data
OpenAPI JSON Spec Retrieve historical data for a specified stock index symbol. Returns time series data including open, high, low, close prices and volume.
Response Data Structure
data([]IndexData): Array of historical index data
IndexData fields:
symbol(string): Index symbol (e.g., “^SPX”, “^DJI”)date(string): Date in YYYY-MM-DD formatopen(float): Opening pricehigh(float): Highest pricelow(float): Lowest priceclose(float): Closing pricevolume(int): Trading volume
GET
Get Index Historical Data
Authorizations
API Key authentication. Example: "your-api-key-here"
Query Parameters
Index symbol (e.g., ^SPX, ^DJI, ^IXIC or SPX, DJI, IXIC)
Start time (Unix timestamp in seconds)
End time (Unix timestamp in seconds)

