Sector-level performance breakdown
curl --request GET \
--url https://api.ngnmarket.com/v1/market/sectors \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/market/sectors"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ngnmarket.com/v1/market/sectors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ngnmarket.com/v1/market/sectors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ngnmarket.com/v1/market/sectors"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ngnmarket.com/v1/market/sectors")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/market/sectors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"summary": {
"top_sector_1d": "Oil & Gas",
"top_sector_7d": "Banking"
},
"sectors": [
{
"sector": "Oil & Gas",
"company_count": 8,
"total_market_cap": 4829104730200,
"total_value_traded": 821093847,
"total_volume": 48291030,
"change_1d": 2.1,
"change_7d": 5.4,
"change_52w": 31.2,
"breadth": {
"advancers": 6,
"decliners": 1,
"unchanged": 1
}
},
{
"sector": "Banking",
"company_count": 14,
"total_market_cap": 7102948201000,
"total_value_traded": 1204817293,
"total_volume": 102847291,
"change_1d": 0.84,
"change_7d": 6.1,
"change_52w": 44.7,
"breadth": {
"advancers": 9,
"decliners": 3,
"unchanged": 2
}
}
]
},
"meta": {
"plan": "growth",
"calls_used": 211,
"calls_remaining": 499789,
"reset_at": "2026-05-01T00:00:00.000Z"
}
}Sector-level performance breakdown
Shows which parts of the NGX market are gaining traction and which are pulling back. For every sector, returns the average price change across 1-day, 7-day, and 52-week windows, aggregate market cap, value traded, total volume, and a breadth count of advancers, decliners, and unchanged stocks.
Plan required: Growth
GET
/
market
/
sectors
Sector-level performance breakdown
curl --request GET \
--url https://api.ngnmarket.com/v1/market/sectors \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/market/sectors"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ngnmarket.com/v1/market/sectors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ngnmarket.com/v1/market/sectors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ngnmarket.com/v1/market/sectors"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ngnmarket.com/v1/market/sectors")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/market/sectors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"summary": {
"top_sector_1d": "Oil & Gas",
"top_sector_7d": "Banking"
},
"sectors": [
{
"sector": "Oil & Gas",
"company_count": 8,
"total_market_cap": 4829104730200,
"total_value_traded": 821093847,
"total_volume": 48291030,
"change_1d": 2.1,
"change_7d": 5.4,
"change_52w": 31.2,
"breadth": {
"advancers": 6,
"decliners": 1,
"unchanged": 1
}
},
{
"sector": "Banking",
"company_count": 14,
"total_market_cap": 7102948201000,
"total_value_traded": 1204817293,
"total_volume": 102847291,
"change_1d": 0.84,
"change_7d": 6.1,
"change_52w": 44.7,
"breadth": {
"advancers": 9,
"decliners": 3,
"unchanged": 2
}
}
]
},
"meta": {
"plan": "growth",
"calls_used": 211,
"calls_remaining": 499789,
"reset_at": "2026-05-01T00:00:00.000Z"
}
}Authorizations
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
⌘I