Skip to main content
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

x-api-key
string
header
required

Path Parameters

companyId
integer<int32>
required

The company id

Response

200 - application/json

OK

companyId
integer<int32>
companyRegistrationNumber
string | null
registrationDate
string<date-time> | null
mostRecentPurpose
string | null
mostRecentCompanyStatusType
integer<int32> | null
companyRepresentativeBornYear
integer<int32> | null
industry
string | null
year1_AnnualReportPeriod
integer<int32> | null
year1_NetSales
integer<int32> | null
year1_OperatingProfit
integer<int32> | null
year1_NetSalesChange
number<double> | null
year1_GrossMargin
number<double> | null
year1_OperatingMargin
number<double> | null
year1_NetProfitMargin
number<double> | null
year1_NumberOfEmployees
integer<int32> | null
year2_AnnualReportPeriod
integer<int32> | null
year2_NetSales
integer<int32> | null
year2_OperatingProfit
integer<int32> | null
year2_NetSalesChange
number<double> | null
year2_GrossMargin
number<double> | null
year2_OperatingMargin
number<double> | null
year2_NetProfitMargin
number<double> | null
year2_NumberOfEmployees
integer<int32> | null
year3_AnnualReportPeriod
integer<int32> | null
year3_NetSales
integer<int32> | null
year3_OperatingProfit
integer<int32> | null
year3_NetSalesChange
number<double> | null
year3_GrossMargin
number<double> | null
year3_OperatingMargin
number<double> | null
year3_NetProfitMargin
number<double> | null
year3_NumberOfEmployees
integer<int32> | null
year4_AnnualReportPeriod
integer<int32> | null
year4_NetSales
integer<int32> | null
year4_OperatingProfit
integer<int32> | null
year4_NetSalesChange
number<double> | null
year4_GrossMargin
number<double> | null
year4_OperatingMargin
number<double> | null
year4_NetProfitMargin
number<double> | null
year4_NumberOfEmployees
integer<int32> | null
year5_AnnualReportPeriod
integer<int32> | null
year5_NetSales
integer<int32> | null
year5_OperatingProfit
integer<int32> | null
year5_NetSalesChange
number<double> | null
year5_GrossMargin
number<double> | null
year5_OperatingMargin
number<double> | null
year5_NetProfitMargin
number<double> | null
year5_NumberOfEmployees
integer<int32> | null