NYSE Composite API (NYA): Daily Time Series JSON
An NYSE Composite API returns ticker NYA as JSON. For a chart you want a window, not only /api/latest. Indices-API exposes that as GET /api/timeseries with access_key, start_date, end_date, and symbols=NYA. The homepage sample uses 2024-10-04 … 2024-10-09 and order=desc.
PRO is $49.99/mo (5 indices per request, 10-minute updates on latest) with a 7-day trial. Most index history in the docs starts October 2024. The USD-prefixed field (USDNYA) exists on latest, not in this timeseries fixture — invert rates[date].NYA when base=USD. Docs: indices-api.com/documentation.
Request: NYA window
curl "https://indices-api.com/api/timeseries?access_key=YOUR_API_KEY&start_date=2024-10-04&end_date=2024-10-09&symbols=NYA&order=desc"
Response: official timeseries sample
{
"data": {
"success": true,
"timeseries": true,
"start_date": "2024-10-04",
"end_date": "2024-10-09",
"base": "USD",
"rates": {
"2024-10-09": { "NYA": 5.115851003909e-5, "USD": 1 },
"2024-10-08": { "NYA": 5.1453483735297e-5, "USD": 1 },
"2024-10-07": { "NYA": 5.146071231918e-5, "USD": 1 },
"2024-10-06": { "NYA": 5.1180530107459e-5, "USD": 1 },
"2024-10-05": { "NYA": 5.1180530107459e-5, "USD": 1 },
"2024-10-04": { "NYA": 5.1180530107459e-5, "USD": 1 }
}
}
}
On 2024-10-09, 1 / 5.115851003909e-5 ≈ 19547 as the USD index level from the invert. Weekend-looking dates in the fixture share the same NYA print (2024-10-04 through 2024-10-06) — plot what the API returns; do not invent a session calendar.
MCP
Agents can call the same data at indices-api.com/mcp (JSON-RPC host indices-api.mcp.indices-api.com). Timeseries is one of the indices.* tools — same quota as REST.
Go live
1. Register — 7-day trial.
2. Copy access_key.
3. GET the timeseries URL above with the docs window 2024-10-04 … 2024-10-09, then swap in your dates.
4. Invert each day’s NYA for a USD chart.
FAQ
Is this S&P 500?
No. GSPC is a different ticker. NYA is the NYSE Composite. Same API family, different symbols.
Start the 7-day trial and chart NYA →