Index OHLC API: NYA Candles as JSON
An index OHLC API returns open, high, low, and close for one session as JSON. On Indices-API that is GET https://indices-api.com/api/open-high-low-close/{YYYY-MM-DD} with query access_key. Official homepage sample: 2024-10-09, symbols=NYA, base=USD.
PRO is $49.99/mo (5 indices per request on latest, 10-minute updates) with a 7-day trial. Most index history in the docs starts October 2024. The USD-prefixed field (USDNYA) is a latest-only invert — it is not on this OHLC envelope. Docs: indices-api.com/documentation.
Request: NYA on 9 Oct 2024
curl "https://indices-api.com/api/open-high-low-close/2024-10-09?access_key=YOUR_API_KEY&base=USD&symbols=NYA"
Response: official OHLC sample
{
"success": true,
"timestamp": 1767195729,
"date": "2024-10-09",
"base": "USD",
"symbol": "NYA",
"rates": {
"open": 5.1453483735297e-5,
"high": 5.1472711484643e-5,
"low": 5.115851003909e-5,
"close": 5.115851003909e-5
}
}
Invert each field (1 / rates.close) for a USD index level. On this fixture close equals low.
Same key
GET /api/timeseries— daily series (same NYA window in docs: 2024-10-04…09).GET /api/latest?symbols=NYA— spot; readUSDNYAon latest.GET /api/fluctuation— start/end change.
MCP: indices-api.com/mcp (indices.ohlc).
Go live
1. Register — 7-day trial.
2. Copy access_key.
3. GET /api/open-high-low-close/2024-10-09.
4. Invert open/high/low/close.
Read NYA candles with an Indices key →