Companies
curl --request GET \
--url https://api.tic.io/datasets/persons/{personId}/companies \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/datasets/persons/{personId}/companies"
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/persons/{personId}/companies', 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/persons/{personId}/companies",
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/persons/{personId}/companies"
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/persons/{personId}/companies")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/datasets/persons/{personId}/companies")
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{
"pageSize": 123,
"lastItemId": 123,
"totalItems": 123,
"items": [
{
"companyPersonId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"positionType": "<string>",
"positionDescription": "<string>",
"positionStart": "2023-11-07T05:31:56Z",
"positionEnd": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"companySummary": {
"legalName": "<string>",
"purpose": "<string>",
"sniCodes": "<string>",
"mailingAddressCO": "<string>",
"mailingAddressStreet": "<string>",
"mailingAddressPostalCode": "<string>",
"mailingAddressCity": "<string>",
"mailingAddressState": "<string>",
"mailingAddressCounty": "<string>",
"mailingAddressDistrict": "<string>",
"mailingAddressCountryName": "<string>",
"mailingAddressCountryCodeAlpha3": "<string>",
"mailingAddressLatitude": 123,
"mailingAddressLongitude": 123,
"mailingAddressId": 123,
"hasAuditor": true,
"companyRepresentativeBornYear": 123,
"registeredVAT": true,
"registeredFTax": true,
"registeredPayroll": true,
"period1": 123,
"period1_IS_NetSalesK": 123,
"period1_FN_NumberOfEmployees": 123,
"period1_IS_OperatingProfitOrLossK": 123,
"period1_IsAudited": true,
"period2": 123,
"period2_IS_NetSalesK": 123,
"period2_FN_NumberOfEmployees": 123,
"period2_IS_OperatingProfitOrLossK": 123,
"period2_IsAudited": true,
"period3": 123,
"period3_IS_NetSalesK": 123,
"period3_FN_NumberOfEmployees": 123,
"period3_IS_OperatingProfitOrLossK": 123,
"period3_IsAudited": true,
"intelligenceScoreTotal": 123,
"intelligenceNumberOfMax": 123,
"kfm_DebtBalanceTotalAmountInSEK": 123,
"kfm_RecordOfNonPaymentNumberOfCases": 123,
"numberOfEmailAddresses": 123,
"lastCompanyStatusType": 123,
"lastCompanyStatusDate": "2023-11-07T05:31:56Z",
"lastCompanyStatusDescription": "<string>",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z"
}
}
]
}Persons
Companies
Gets a list of the companies where the person is or has been a representative of
GET
/
datasets
/
persons
/
{personId}
/
companies
Companies
curl --request GET \
--url https://api.tic.io/datasets/persons/{personId}/companies \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/datasets/persons/{personId}/companies"
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/persons/{personId}/companies', 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/persons/{personId}/companies",
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/persons/{personId}/companies"
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/persons/{personId}/companies")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/datasets/persons/{personId}/companies")
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{
"pageSize": 123,
"lastItemId": 123,
"totalItems": 123,
"items": [
{
"companyPersonId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"positionType": "<string>",
"positionDescription": "<string>",
"positionStart": "2023-11-07T05:31:56Z",
"positionEnd": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"companySummary": {
"legalName": "<string>",
"purpose": "<string>",
"sniCodes": "<string>",
"mailingAddressCO": "<string>",
"mailingAddressStreet": "<string>",
"mailingAddressPostalCode": "<string>",
"mailingAddressCity": "<string>",
"mailingAddressState": "<string>",
"mailingAddressCounty": "<string>",
"mailingAddressDistrict": "<string>",
"mailingAddressCountryName": "<string>",
"mailingAddressCountryCodeAlpha3": "<string>",
"mailingAddressLatitude": 123,
"mailingAddressLongitude": 123,
"mailingAddressId": 123,
"hasAuditor": true,
"companyRepresentativeBornYear": 123,
"registeredVAT": true,
"registeredFTax": true,
"registeredPayroll": true,
"period1": 123,
"period1_IS_NetSalesK": 123,
"period1_FN_NumberOfEmployees": 123,
"period1_IS_OperatingProfitOrLossK": 123,
"period1_IsAudited": true,
"period2": 123,
"period2_IS_NetSalesK": 123,
"period2_FN_NumberOfEmployees": 123,
"period2_IS_OperatingProfitOrLossK": 123,
"period2_IsAudited": true,
"period3": 123,
"period3_IS_NetSalesK": 123,
"period3_FN_NumberOfEmployees": 123,
"period3_IS_OperatingProfitOrLossK": 123,
"period3_IsAudited": true,
"intelligenceScoreTotal": 123,
"intelligenceNumberOfMax": 123,
"kfm_DebtBalanceTotalAmountInSEK": 123,
"kfm_RecordOfNonPaymentNumberOfCases": 123,
"numberOfEmailAddresses": 123,
"lastCompanyStatusType": 123,
"lastCompanyStatusDate": "2023-11-07T05:31:56Z",
"lastCompanyStatusDescription": "<string>",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z"
}
}
]
}Lists all companies the person is being a representative of. Please note that
the default page size is 100 but this endpoint allows up to 1000 records
per page.
Includes a summary for the company.
Authorizations
Path Parameters
The person id
Query Parameters
Take records after the id
Page size
⌘I