Historical price series
Returns the complete OHLCV (open, high, low, close, volume) history for a company sourced from daily exchange data. Each data point includes a Unix timestamp, calendar date, and full OHLCV fields plus VWAP, trade count, and daily change. Use format=chart for compact [timestamp, close] pairs or format=ohlcv for candlestick-ready [timestamp, open, high, low, close, volume] arrays.
Plan required: Starter
Authorizations
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
Path Parameters
NGX ticker symbol (e.g. DANGCEM). Case-insensitive.
"DANGCEM"
Query Parameters
Preset lookback window. Ignored when from/to are supplied.
7d, 30d, 90d, 1y, 5y, all Start date in YYYY-MM-DD format (inclusive). Takes priority over period.
"2026-01-01"
End date in YYYY-MM-DD format (inclusive). Use with from.
"2026-04-17"
Response shape for data points.
detailed(default): full objects with OHLCV, VWAP, and change fields. Includespriceas an alias forclosefor backward compatibility.chart: compact[timestamp, close]arrays — backward-compatible line chart format.ohlcv: compact[timestamp, open, high, low, close, volume]arrays — use this for candlestick charts.
detailed, chart, ohlcv