Skip to main content
GET
/
v1
/
indices
/
{symbol}
/
chart
Historical index values
curl --request GET \
  --url https://api.ngnmarket.com/v1/indices/{symbol}/chart \
  --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "symbol": "NGX30", "format": "detailed", "period": "30d", "count": 3, "statistics": { "start_date": "2026-04-15", "end_date": "2026-04-17", "start_value": 2819.3, "end_value": 2841.45, "change": 22.15, "change_percent": 0.79, "min_value": 2819.3, "max_value": 2841.45 }, "data": [ { "date": "2026-04-15", "index_value": 2819.3, "daily_change": 0, "daily_change_percent": 0 }, { "date": "2026-04-16", "index_value": 2829.88, "daily_change": 10.58, "daily_change_percent": 0.38 }, { "date": "2026-04-17", "index_value": 2841.45, "daily_change": 11.57, "daily_change_percent": 0.41 } ] }, "meta": { "plan": "starter", "calls_used": 4823, "calls_remaining": 95177, "reset_at": "2026-05-01T00:00:00.000Z" } }

Documentation Index

Fetch the complete documentation index at: https://docs.ngnmarket.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Index symbol (e.g. NGX30). Case-insensitive.

Example:

"NGX30"

Query Parameters

period
enum<string>
default:30d

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. detailed returns objects; chart returns compact [timestamp, value] pairs.

Available options:
detailed,
chart

Response

Index chart data retrieved successfully.

success
boolean
required
meta
object

Quota and plan metadata included on every authenticated response.

data
object