Skip to main content
GET
Historical price series

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY. Generate keys at ngnmarket.com/dashboard/developer.

Path Parameters

symbol
string
required

NGX ticker symbol (e.g. DANGCEM). Case-insensitive.

Example:

"DANGCEM"

Query Parameters

period
enum<string>

Preset lookback window. Ignored when from/to are supplied.

Available options:
7d,
30d,
90d,
1y,
5y,
all
from
string<date>

Start date in YYYY-MM-DD format (inclusive). Takes priority over period.

Example:

"2026-01-01"

to
string<date>

End date in YYYY-MM-DD format (inclusive). Use with from.

Example:

"2026-04-17"

format
enum<string>
default:detailed

Response shape for data points.

  • detailed (default): full objects with OHLCV, VWAP, and change fields. Includes price as an alias for close for 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.
Available options:
detailed,
chart,
ohlcv

Response

Price chart data retrieved successfully.

success
boolean
required
meta
object

Quota and plan metadata included on every authenticated response.

data
object