curl --request POST \
--url https://api.syrto.ai/companies/structure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"02579690039",
"03841740016"
],
"roleCategories": []
}
'import requests
url = "https://api.syrto.ai/companies/structure"
payload = {
"ids": ["02579690039", "03841740016"],
"roleCategories": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['02579690039', '03841740016'], roleCategories: []})
};
fetch('https://api.syrto.ai/companies/structure', 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.syrto.ai/companies/structure",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ids' => [
'02579690039',
'03841740016'
],
'roleCategories' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.syrto.ai/companies/structure"
payload := strings.NewReader("{\n \"ids\": [\n \"02579690039\",\n \"03841740016\"\n ],\n \"roleCategories\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.syrto.ai/companies/structure")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ids\": [\n \"02579690039\",\n \"03841740016\"\n ],\n \"roleCategories\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syrto.ai/companies/structure")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ids\": [\n \"02579690039\",\n \"03841740016\"\n ],\n \"roleCategories\": []\n}"
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"companyId": "<string>",
"legalName": "<string>",
"taxId": "<string>",
"consolidated": true,
"controllingEntityCategory": "FAMILY",
"isForeignOwned": true,
"isQuoted": true,
"officers": {
"total": 123,
"peopleTotal": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"roles": [
{
"roleCategory": "GOVERNING_BODIES",
"role": "<string>"
}
]
}
]
},
"shareholders": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123
}
]
},
"beneficialOwners": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123,
"ownershipChains": [
[
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123
}
]
]
}
]
},
"subsidiaries": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123
}
]
},
"linkedCompanies": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>"
}
]
},
"companiesWithSharedOfficers": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>"
}
]
}
}
],
"notFound": [
{
"position": 1,
"input": "<string>",
"reason": "not_found"
}
]
},
"meta": {
"requestId": "<string>",
"endpoint": "<string>",
"usage": {
"quantity": 123,
"unit": "<string>"
},
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Structure
Beneficial owners are computed from the shareholding chains. Price: 35 credits per legal entity returned; notFound entries are free. Read-only and idempotent: POST is used only because the request carries a body. The HTTP QUERY method is the preferred verb for this operation and will be accepted on the same path once client support is widespread.
curl --request POST \
--url https://api.syrto.ai/companies/structure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"02579690039",
"03841740016"
],
"roleCategories": []
}
'import requests
url = "https://api.syrto.ai/companies/structure"
payload = {
"ids": ["02579690039", "03841740016"],
"roleCategories": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['02579690039', '03841740016'], roleCategories: []})
};
fetch('https://api.syrto.ai/companies/structure', 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.syrto.ai/companies/structure",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ids' => [
'02579690039',
'03841740016'
],
'roleCategories' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.syrto.ai/companies/structure"
payload := strings.NewReader("{\n \"ids\": [\n \"02579690039\",\n \"03841740016\"\n ],\n \"roleCategories\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.syrto.ai/companies/structure")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ids\": [\n \"02579690039\",\n \"03841740016\"\n ],\n \"roleCategories\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syrto.ai/companies/structure")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ids\": [\n \"02579690039\",\n \"03841740016\"\n ],\n \"roleCategories\": []\n}"
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"companyId": "<string>",
"legalName": "<string>",
"taxId": "<string>",
"consolidated": true,
"controllingEntityCategory": "FAMILY",
"isForeignOwned": true,
"isQuoted": true,
"officers": {
"total": 123,
"peopleTotal": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"roles": [
{
"roleCategory": "GOVERNING_BODIES",
"role": "<string>"
}
]
}
]
},
"shareholders": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123
}
]
},
"beneficialOwners": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123,
"ownershipChains": [
[
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123
}
]
]
}
]
},
"subsidiaries": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>",
"share": 123
}
]
},
"linkedCompanies": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>"
}
]
},
"companiesWithSharedOfficers": {
"total": 123,
"truncated": true,
"items": [
{
"entityType": "person",
"name": "<string>",
"personId": "<string>",
"age": 123,
"companyId": "<string>",
"taxId": "<string>"
}
]
}
}
],
"notFound": [
{
"position": 1,
"input": "<string>",
"reason": "not_found"
}
]
},
"meta": {
"requestId": "<string>",
"endpoint": "<string>",
"usage": {
"quantity": 123,
"unit": "<string>"
},
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Authorizations
Org-scoped WorkOS API key (sk_...), sent as Authorization: Bearer <key>. Admins create and revoke keys in the Syrto dashboard: https://dashboard.syrto.ai/api-keys
Body
1-20 references, each a companyId (Syrto id of one statement record, starts with Zm86) or a tax id (11-digit partita IVA or 16-character codice fiscale). A tax id resolves to the record selected by statementBasis. Duplicates are rejected.
1 - 20 elements1 - 100["02579690039", "03841740016"]
Return only officers holding a role in these categories.
1 - 9 elementsGOVERNING_BODIES, ADMINISTRATION_AND_EXECUTIVES, AUDITING, REPRESENTATION_AND_AUTHORITY, EXTRAORDINARY_PROCEDURES, FUNCTIONAL_ROLES, PARTICIPATION_OWNERSHIP, CHIEF_EXECUTIVE_OFFICER, OTHER Language of metric names, labels and descriptions (never of field names or slugs). Omitted: the account's default.
it, en Was this page helpful?