Stock index chart representing S&P 500, NASDAQ 100 and DAX price data

Blog ·

Stock Index Price API: S&P 500, NASDAQ 100, DAX and More

Indices summarise whole markets in one number. A stock index price API brings the S&P 500, NASDAQ 100, Dow Jones, DAX 40, FTSE 100, Nikkei 225 and others into your dashboards, reports and models.

Live index prices

curl -H "Authorization: Bearer $API_KEY" "https://api.marketapi.app/v1/prices/latest?symbols=US500,NAS100,GER40"

Symbol names differ between data sources (US500, SPX500, GER40, DE40...). Look them up in the ticker list.

Cash index or futures?

  • Cash (spot) indices track the current index level and are the usual choice for dashboards.
  • Index futures reflect a contract with an expiry and can trade at a premium or discount.
  • Never mix the two in one series: they are different instruments.

Historical index data

curl -H "Authorization: Bearer $API_KEY" "https://api.marketapi.app/v1/bars?symbol=US500&timeframe=D1&from=2023-01-01T00:00:00Z&to=2026-01-01T00:00:00Z"

Daily candles are ideal for performance charts; hourly data shows intraday sessions.

FAQ

Are indices available at weekends?

No; the last price stays available with the market-closed status. See market hours.

Popular indices and what they measure

  • S&P 500: 500 large US companies, the benchmark for US equities.
  • NASDAQ 100: the largest non-financial companies on Nasdaq, technology heavy.
  • Dow Jones 30: 30 blue-chip US companies, price weighted.
  • DAX 40: Germany's largest listed companies.
  • FTSE 100: the largest companies listed in London.
  • Nikkei 225: leading Japanese stocks.

Index data in dashboards

Show each index with its change since the previous close, computed from daily candles, and its market status. During the US session, the NASDAQ 100 and S&P 500 move together most days; divergences make interesting signals for your users.

Why do index prices differ slightly between sources?

Index CFDs track the index with small differences in timing, financing and session hours. Use one source consistently.

Sign up to start with free credits.

Try the market price API

1000 free credits after sign-up.

Get a free API key

More articles