Ownerships
curl --request GET \
--url https://api.tic.io/datasets/companies/{companyId}/has-ownership-in \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/datasets/companies/{companyId}/has-ownership-in"
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.tic.io/datasets/companies/{companyId}/has-ownership-in', 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.tic.io/datasets/companies/{companyId}/has-ownership-in",
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.tic.io/datasets/companies/{companyId}/has-ownership-in"
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.tic.io/datasets/companies/{companyId}/has-ownership-in")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/datasets/companies/{companyId}/has-ownership-in")
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[
{
"companyId": 123,
"companyRegistrationNumber": "<string>",
"registrationDate": "2023-11-07T05:31:56Z",
"mostRecentLegalName": "<string>",
"mostRecentPurpose": "<string>",
"mostRecentCompanyStatusType": 123,
"companyRepresentativeBornYear": 123,
"industry": "<string>",
"year1_AnnualReportPeriod": 123,
"year1_NetSales": 123,
"year1_OperatingProfit": 123,
"year1_NetSalesChange": 123,
"year1_GrossMargin": 123,
"year1_OperatingMargin": 123,
"year1_NetProfitMargin": 123,
"year1_NumberOfEmployees": 123,
"year2_AnnualReportPeriod": 123,
"year2_NetSales": 123,
"year2_OperatingProfit": 123,
"year2_NetSalesChange": 123,
"year2_GrossMargin": 123,
"year2_OperatingMargin": 123,
"year2_NetProfitMargin": 123,
"year2_NumberOfEmployees": 123,
"year3_AnnualReportPeriod": 123,
"year3_NetSales": 123,
"year3_OperatingProfit": 123,
"year3_NetSalesChange": 123,
"year3_GrossMargin": 123,
"year3_OperatingMargin": 123,
"year3_NetProfitMargin": 123,
"year3_NumberOfEmployees": 123,
"year4_AnnualReportPeriod": 123,
"year4_NetSales": 123,
"year4_OperatingProfit": 123,
"year4_NetSalesChange": 123,
"year4_GrossMargin": 123,
"year4_OperatingMargin": 123,
"year4_NetProfitMargin": 123,
"year4_NumberOfEmployees": 123,
"year5_AnnualReportPeriod": 123,
"year5_NetSales": 123,
"year5_OperatingProfit": 123,
"year5_NetSalesChange": 123,
"year5_GrossMargin": 123,
"year5_OperatingMargin": 123,
"year5_NetProfitMargin": 123,
"year5_NumberOfEmployees": 123
}
]Companies
Ownerships
Get companies that the company has ownership in
GET
/
datasets
/
companies
/
{companyId}
/
has-ownership-in
Ownerships
curl --request GET \
--url https://api.tic.io/datasets/companies/{companyId}/has-ownership-in \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/datasets/companies/{companyId}/has-ownership-in"
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.tic.io/datasets/companies/{companyId}/has-ownership-in', 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.tic.io/datasets/companies/{companyId}/has-ownership-in",
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.tic.io/datasets/companies/{companyId}/has-ownership-in"
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.tic.io/datasets/companies/{companyId}/has-ownership-in")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/datasets/companies/{companyId}/has-ownership-in")
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[
{
"companyId": 123,
"companyRegistrationNumber": "<string>",
"registrationDate": "2023-11-07T05:31:56Z",
"mostRecentLegalName": "<string>",
"mostRecentPurpose": "<string>",
"mostRecentCompanyStatusType": 123,
"companyRepresentativeBornYear": 123,
"industry": "<string>",
"year1_AnnualReportPeriod": 123,
"year1_NetSales": 123,
"year1_OperatingProfit": 123,
"year1_NetSalesChange": 123,
"year1_GrossMargin": 123,
"year1_OperatingMargin": 123,
"year1_NetProfitMargin": 123,
"year1_NumberOfEmployees": 123,
"year2_AnnualReportPeriod": 123,
"year2_NetSales": 123,
"year2_OperatingProfit": 123,
"year2_NetSalesChange": 123,
"year2_GrossMargin": 123,
"year2_OperatingMargin": 123,
"year2_NetProfitMargin": 123,
"year2_NumberOfEmployees": 123,
"year3_AnnualReportPeriod": 123,
"year3_NetSales": 123,
"year3_OperatingProfit": 123,
"year3_NetSalesChange": 123,
"year3_GrossMargin": 123,
"year3_OperatingMargin": 123,
"year3_NetProfitMargin": 123,
"year3_NumberOfEmployees": 123,
"year4_AnnualReportPeriod": 123,
"year4_NetSales": 123,
"year4_OperatingProfit": 123,
"year4_NetSalesChange": 123,
"year4_GrossMargin": 123,
"year4_OperatingMargin": 123,
"year4_NetProfitMargin": 123,
"year4_NumberOfEmployees": 123,
"year5_AnnualReportPeriod": 123,
"year5_NetSales": 123,
"year5_OperatingProfit": 123,
"year5_NetSalesChange": 123,
"year5_GrossMargin": 123,
"year5_OperatingMargin": 123,
"year5_NetProfitMargin": 123,
"year5_NumberOfEmployees": 123
}
]Authorizations
Path Parameters
The company id
Response
200 - application/json
OK