curl --request GET \
--url https://api.syntage.com/entities/{entityId}/insights/shareholders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.syntage.com/entities/{entityId}/insights/shareholders"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.syntage.com/entities/{entityId}/insights/shareholders', 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.syntage.com/entities/{entityId}/insights/shareholders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.syntage.com/entities/{entityId}/insights/shareholders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.syntage.com/entities/{entityId}/insights/shareholders")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syntage.com/entities/{entityId}/insights/shareholders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"@context": "/contexts/GetShareholdersInsight",
"@id": "/entities/91ab5678-1234-5678-9abc-def012345678/insights/shareholders?relations.relationType=shareholders",
"@type": "hydra:Collection",
"hydra:member": [
{
"id": "91ab5678-1234-5678-9abc-def012345678",
"name": "EJEMPLO HOLDINGS, S.A. DE C.V.",
"rfc": "EHO240101AB1",
"shares": "500",
"percentage": "50.00",
"relationId": "82cd9012-3456-7890-abcd-ef1234567890",
"sources": "company_verification",
"entityId": "3f6b8b52-60f3-4af1-8459-6f23a0a0c944",
"sourceId": "11d2c236-bbd0-4024-8e59-089aa0d4359d",
"scores": [
{
"id": "76e6d0ec-9e6a-40c7-85e2-4ce02b5d9568",
"source": "buro_de_credito",
"type": "informe_buro",
"score": "533",
"generatedAt": "2024-10-04T20:53:09+00:00",
"metadata": {}
}
]
}
],
"hydra:totalItems": 1,
"hydra:view": {
"@id": "<string>",
"@type": "hydra:PartialCollectionView",
"hydra:first": "<string>",
"hydra:next": "<string>",
"hydra:last": "<string>"
},
"hydra:search": {
"@type": "<string>",
"hydra:template": "<string>",
"hydra:variableRepresentation": "<string>",
"hydra:mapping": [
{
"@type": "<string>",
"variable": "<string>",
"property": "<string>",
"required": true
}
]
}
}{
"message": "<string>"
}{
"message": "<string>"
}Shareholders Insight
Returns a paginated shareholder insight for an entity.
Use relations.relationType=shareholders to list the entity’s shareholders. Use relations.relationType=shareholder_of to list entities that this shareholder owns shares in.
When relations.relationType=shareholders and Company Verification-sourced shareholder data is available, the response returns Company Verification-sourced shareholder rows from the entity’s most recent report instead of older RPC-sourced rows. If a relation has both Company Verification and manual sources, manually entered values take precedence. If no Company Verification-sourced shareholders are available, the response returns the available shareholder relations from other sources such as RPC or manually entered data.
This endpoint replaces the deprecated RPC Shareholders insight.
curl --request GET \
--url https://api.syntage.com/entities/{entityId}/insights/shareholders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.syntage.com/entities/{entityId}/insights/shareholders"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.syntage.com/entities/{entityId}/insights/shareholders', 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.syntage.com/entities/{entityId}/insights/shareholders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.syntage.com/entities/{entityId}/insights/shareholders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.syntage.com/entities/{entityId}/insights/shareholders")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syntage.com/entities/{entityId}/insights/shareholders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"@context": "/contexts/GetShareholdersInsight",
"@id": "/entities/91ab5678-1234-5678-9abc-def012345678/insights/shareholders?relations.relationType=shareholders",
"@type": "hydra:Collection",
"hydra:member": [
{
"id": "91ab5678-1234-5678-9abc-def012345678",
"name": "EJEMPLO HOLDINGS, S.A. DE C.V.",
"rfc": "EHO240101AB1",
"shares": "500",
"percentage": "50.00",
"relationId": "82cd9012-3456-7890-abcd-ef1234567890",
"sources": "company_verification",
"entityId": "3f6b8b52-60f3-4af1-8459-6f23a0a0c944",
"sourceId": "11d2c236-bbd0-4024-8e59-089aa0d4359d",
"scores": [
{
"id": "76e6d0ec-9e6a-40c7-85e2-4ce02b5d9568",
"source": "buro_de_credito",
"type": "informe_buro",
"score": "533",
"generatedAt": "2024-10-04T20:53:09+00:00",
"metadata": {}
}
]
}
],
"hydra:totalItems": 1,
"hydra:view": {
"@id": "<string>",
"@type": "hydra:PartialCollectionView",
"hydra:first": "<string>",
"hydra:next": "<string>",
"hydra:last": "<string>"
},
"hydra:search": {
"@type": "<string>",
"hydra:template": "<string>",
"hydra:variableRepresentation": "<string>",
"hydra:mapping": [
{
"@type": "<string>",
"variable": "<string>",
"property": "<string>",
"required": true
}
]
}
}{
"message": "<string>"
}{
"message": "<string>"
}shareholders as the insight name and pass the relation type as options[relations.relationType].Authorizations
Generate your API key in the Production or Sandbox dashboard. The key is shown in full only when it is generated or rotated, so copy it then.
Query Parameters
Response
Shareholders insight
Was this page helpful?