S&P 500 Timeseries API: Daily GSPC as JSON
An S&P 500 timeseries API returns daily GSPC between two dates. On Indices-API that is GET https://indices-api.com/api/timeseries with access_key, start_date, end_date, and symbols=GSPC. The homepage timeseries fixture uses those dates with symbols=NYA — this article does not invent GSPC daily rows. The published GSPC print is official /api/latest dated 2024-10-10: USDGSPC ≈ 5772.49.
PRO is $49.99/mo (5 indices per request, 10-minute updates) with a 7-day trial. USDGSPC exists on latest only. On timeseries with base=USD, invert 1/rates[date].GSPC. Most index history in the docs starts October 2024. end_date cannot be today. MCP: indices-api.com/mcp. Docs: indices-api.com/documentation.
Request: GSPC window (same dates as the docs fixture)
curl "https://indices-api.com/api/timeseries?access_key=YOUR_API_KEY&start_date=2024-10-04&end_date=2024-10-09&symbols=GSPC&order=desc"
Response: official latest GSPC (10 Oct 2024)
curl "https://indices-api.com/api/latest?access_key=YOUR_API_KEY&base=USD&symbols=GSPC"
{
"success": true,
"base": "USD",
"date": "2024-10-10",
"rates": {
"GSPC": 0.0001732354668436,
"USDGSPC": 5772.489999999927
}
}
1 / 0.0001732354668436 ≈ 5772.49. Do not invent an IXIC row from this sample. The timeseries fixture on the same docs page is NYA — swap the symbol in the curl above for GSPC day-by-day.
Go live
1. Register — 7-day trial.
2. Copy access_key.
3. GET /api/timeseries?symbols=GSPC.
4. Invert rates[date].GSPC or chart USDGSPC from latest.
Chart GSPC with an Indices key →