Retrieve a segment group with its segments and companies
curl --request GET \
--url https://api.noonum.ai/v2/segments/groups/{groupId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/segments/groups/{groupId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/segments/groups/{groupId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/segments/groups/{groupId}"
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))
}{
"id": 123,
"name": "<string>",
"description": "<string>",
"industries": {
"gics": {
"sector": "<string>",
"path": [
"<string>"
],
"industry": "<string>",
"codes": [
"<string>"
]
},
"naics": {
"sector": "<string>",
"path": [
"<string>"
],
"industry": "<string>",
"codes": [
"<string>"
]
},
"icb": {
"sector": "<string>",
"path": [
"<string>"
],
"industry": "<string>",
"codes": [
"<string>"
]
}
},
"segments": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"nCompanies": 123
}
],
"companies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"symbol": "<string>",
"materiality": "core",
"segments": [
{
"id": 123,
"materiality": "core"
}
]
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Segments
Retrieve a segment group with its segments and companies
Returns a segment group, its industry in each taxonomy, its segments, and every company with one of them: most material first, then by market cap. Each company lists the group’s segments it has, with its rating of each. Needs taxonomy access in your plan.
GET
/
segments
/
groups
/
{groupId}
Retrieve a segment group with its segments and companies
curl --request GET \
--url https://api.noonum.ai/v2/segments/groups/{groupId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/segments/groups/{groupId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/segments/groups/{groupId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/segments/groups/{groupId}"
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))
}{
"id": 123,
"name": "<string>",
"description": "<string>",
"industries": {
"gics": {
"sector": "<string>",
"path": [
"<string>"
],
"industry": "<string>",
"codes": [
"<string>"
]
},
"naics": {
"sector": "<string>",
"path": [
"<string>"
],
"industry": "<string>",
"codes": [
"<string>"
]
},
"icb": {
"sector": "<string>",
"path": [
"<string>"
],
"industry": "<string>",
"codes": [
"<string>"
]
}
},
"segments": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"nCompanies": 123
}
],
"companies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"symbol": "<string>",
"materiality": "core",
"segments": [
{
"id": 123,
"materiality": "core"
}
]
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Response
The segment group.