Groupstructure
Overview
The Group Structure endpoint returns the corporate group hierarchy for a specific company. The response includes:
- All companies in the group (nodes)
- Parent–child links between companies (edges) with ownership stakes
- The ultimate parent company's Valu8 ID
Use this endpoint to visualize or analyze corporate ownership trees, subsidiary structures, and group membership.
Authentication
All requests require authentication. Include your access token in the Authorization header:
Authorization: Bearer <access-token>
If authentication fails, the endpoint returns HTTP 401 Unauthorized.
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
valu8Id | integer | ✅ Yes | The Valu8 ID of the company whose group structure you want to retrieve. Must be a positive integer. |
Example request:
GET /v2/companies/5579011/group-structure
Authorization: Bearer <access-token>
No request body is required.
Response
Success Response (HTTP 200)
Returns a GetCompanyStructureResponse JSON body containing the full group structure graph.
Not Found Response (HTTP 404)
Returned with an empty body when:
- The
valu8Idis invalid (zero or negative). - No group structure exists for the company.
- The company has no ultimate parent or no structure links.
Unauthorized Response (HTTP 401)
Returned with an empty body when authentication fails.
Response Body:
| Field | Type | Description |
|---|---|---|
CompanyStructure | GroupStructure | The group structure graph. See Section 6. |
Example response:
{
"CompanyStructure": {
"UltimateParentValu8Id": 5579000,
"Companies": [
{
"Valu8Id": 5579000,
"CompanyName": "Parent Holding AB",
"OrgNo": "556000-0001",
"CountryCode": "SE",
"CompanyType": 1,
"HasIdentifier": true
},
{
"Valu8Id": 5579011,
"CompanyName": "Subsidiary AB",
"OrgNo": "556000-1234",
"CountryCode": "SE",
"CompanyType": 5,
"HasIdentifier": true
}
],
"Relations": [
{
"ParentValu8Id": 5579000,
"ChildValu8Id": 5579011,
"OwnershipStake": 100.0,
"MinOwnershipStake": null,
"MaxOwnershipStake": null
}
]
}
}GroupStructure Object
| Field | Type | Description |
|---|---|---|
UltimateParentValu8Id | integer | Valu8 ID of the ultimate parent company at the top of the group hierarchy. |
Companies | GroupStructureCompany[] | All companies that are part of the group structure. See Section 7. |
Relations | GroupStructureRelation[] | Parent–child links defining the hierarchy. See Section 8. |
How to use the graph:
- Find the ultimate parent via
UltimateParentValu8Id. - Build the tree by matching
ParentValu8Id→ChildValu8Idin theRelationsarray. - Look up company details in the
Companiesarray byValu8Id.
When duplicate links exist for the same parent–child pair, the most recently updated link is returned.
GroupStructureCompany Object
Each company node in the group structure.
| Field | Type | Description |
|---|---|---|
Valu8Id | integer | Unique Valu8 identifier. |
CompanyName | string | Registered company name. |
OrgNo | string | Organisation/registration number. |
CountryCode | string | Two-letter ISO country code. |
CompanyType | integer | Company role in the group hierarchy. See _v2_companies.md – CompanyType. |
HasIdentifier | boolean | true if the company has a valid registration identifier. |
GroupStructureRelation Object
Each edge in the group structure graph, representing a parent–child ownership link.
| Field | Type | Condition | Description |
|---|---|---|---|
ParentValu8Id | integer | Always | Valu8 ID of the parent (owning) company. |
ChildValu8Id | integer | Always | Valu8 ID of the child (owned) company. |
OwnershipStake | double | Omitted when null | Ownership percentage held by the parent. |
MinOwnershipStake | double | Omitted when null | Minimum ownership percentage (when reported as a range). |
MaxOwnershipStake | double | Omitted when null | Maximum ownership percentage (when reported as a range). |