Year-to-date stock returns
Market Endpoints
YTD Performers
Retrieve the best or worst performing NGX stocks year-to-date, with start price, current price, and percentage return.
GET
Year-to-date stock returns
The YTD performers endpoint ranks NGX-listed stocks by their year-to-date return, calculated from the first available trading day of the year through to the most recent session.
You can request the best performers, the worst performers, or both together. Each entry includes the year-start price and date, the current closing price, and the total percentage return for the year so far. Historical years are also supported via the
year parameter, making this endpoint useful for annual reviews as well as live tracking.
For example, to pull the 20 worst performers of 2025:
Authorizations
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
Query Parameters
Performance direction to return. Defaults to best.
Available options:
best, worst Number of stocks to return. Maximum 30.
Required range:
1 <= x <= 30Calendar year to evaluate (e.g. 2025). Defaults to the current year. Provide a past year to query historical annual performance.
Example:
2026