Retrieve historical All Share Index values.
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
Start of the date range in YYYY-MM-DD format. Use with endDate to request a specific window. Overrides period.
"2026-01-01"
End of the date range in YYYY-MM-DD format. Use with startDate.
"2026-04-17"
Preset lookback window. Ignored when both startDate and endDate are supplied.
7d, 30d, 90d, 1y, 5y, all Maximum number of data points to return (1–5000).
1 <= x <= 5000Response shape for the data array. detailed returns full objects; chart returns compact [timestamp, value] pairs.
detailed, chart