Skip to content
iTick

Indices API · CME

S&P 500 (SPX) Indices API - Real-Time Quotes & Historical Data

Access real-time indices quotes, OHLCV historical data and WebSocket streams for S&P 500 (SPX) on CME. Free API key included.

  • Real-time quote for SPX on CME
  • OHLCV historical K-line data from 1-min to monthly
  • WebSocket streaming for real-time price updates
  • Free API key to start - simple REST & WebSocket access

SPX

S&P 500 · CME · USD

—

—

Open
—
High
—
Low
—
Prev close
—

Snapshot from the iTick API, refreshed every few minutes

About

The S&P 500 is a stock market index tracking the performance of 500 large companies listed on stock exchanges in the United States. It is one of the most commonly followed equity indices.

Indices API features for S&P 500

Everything you need to integrate S&P 500 market data into your application.

Real-time quotes

Live bid/ask prices for SPX with millisecond latency via REST and WebSocket.

OHLCV K-line data

Historical bars from 1-minute to monthly, ideal for charting and backtesting.

Tick-by-tick data

Every trade and quote update, ideal for high-frequency analysis and order-book modeling.

Global coverage

One indices API for CME and 50+ other exchanges worldwide.

REST + WebSocket

Poll via REST for historical data, stream via WebSocket for real-time updates.

Simple authentication

Just an API token in the header - no OAuth, no complex setup required.

Get S&P 500 (SPX) data with Python

Query real-time index quotes and historical data for SPX via REST API.

  1. 1Sign up and get your free API token
  2. 2Use the /indices/quote endpoint for real-time values
  3. 3Use /indices/kline for historical bars
import requests
import pandas as pd

# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/index/kline"
params = {"region": "US", "code": "SPX", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}

bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
    "t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("SPX_ohlcv.csv", index=False)
print(df.tail())

FAQ: S&P 500 (SPX) Indices Data API

How do I get real-time S&P 500 (SPX) price data?

Sign up for a free iTick account, get your API token, and call the /indices/quote endpoint with region=US&code=SPX. You can also subscribe via WebSocket for live streaming updates.

What data is available for S&P 500 (SPX)?

iTick provides real-time quotes (price, bid/ask, volume), OHLCV K-line bars from 1-minute to monthly, and tick-by-tick trade data for S&P 500 on CME.

Is there a free plan for S&P 500 (SPX) data?

Yes. iTick offers a free plan that includes real-time quotes, historical K-line and tick data for personal use and evaluation. Paid plans add higher rate limits and commercial usage rights.

How do I access S&P 500 (SPX) historical data?

Use the /index/kline endpoint with region=US&code=SPX and choose your interval via the kType parameter (1=1min, 8=daily, etc.).

Connect to Real-Time Financial Data Now

Get a free API key and access real-time quotes, historical data and WebSocket streams in minutes.