Skip to main content
GET
/
etfs
/
{symbol}
/
chart
Historical ETF price data
curl --request GET \
  --url https://api.ngnmarket.com/v1/etfs/{symbol}/chart \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "format": "detailed",
  "period": "30d",
  "count": 20,
  "data": [
    {
      "date": "2026-05-12",
      "close": 4260,
      "open": 4650,
      "high": 4650,
      "low": 4185,
      "volume": 9550,
      "value_traded": 40683000,
      "change_percent": -8.39,
      "normalized_value": 100
    },
    {
      "date": "2026-05-13",
      "close": 4330,
      "open": 4255,
      "high": 4590,
      "low": 3970,
      "volume": 10620,
      "value_traded": 45984600,
      "change_percent": 1.64,
      "normalized_value": 101.64
    }
  ],
  "statistics": {
    "start_date": "2026-05-12",
    "end_date": "2026-06-10",
    "start_price": 4260,
    "end_price": 4175,
    "change": -85,
    "change_percent": -2,
    "min_price": 3911.5,
    "max_price": 4650,
    "return_1m": -2,
    "return_3m": null,
    "return_1y": null,
    "return_ytd": null
  },
  "meta": {
    "plan": "hobby",
    "calls_used": 143,
    "calls_remaining": 9857,
    "reset_at": "2026-07-01T00:00:00.000Z"
  }
}
This endpoint returns a time series of daily closing prices for a specific NGX ETF or ETP. Use period for a named lookback window (7d, 30d, 90d, 1y, 5y, all) or supply from and to for a custom date range. In detailed format each row includes OHLCV data alongside a normalized field that rebases the price to 100 at the start of the requested period — useful for comparing two ETFs on the same scale. The chart format returns compact [date, price] pairs suited for line charting libraries. The statistics block includes return_1m, return_3m, return_1y, and return_ytd — percentage returns versus fixed historical reference points, computed independently of the period you requested. For example, to fetch one year of STANBICETF30 daily closes in chart-ready format:
curl "https://api.ngnmarket.com/v1/etfs/STANBICETF30/chart?period=1y&format=chart" \
  -H "Authorization: Bearer ngm_live_YOUR_KEY"

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

ETF ticker symbol (e.g. STANBICETF30). Case-insensitive.

Example:

"STANBICETF30"

Query Parameters

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

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

Example:

"2026-01-01"

to
string<date>

End date YYYY-MM-DD (inclusive).

Example:

"2026-06-10"

format
enum<string>
default:detailed

detailed returns OHLCV objects; chart returns compact [date, price] pairs.

Available options:
detailed,
chart

Response

ETF chart data retrieved successfully.

success
boolean
required
meta
object

Quota and plan metadata included on every authenticated response.

data
object