curl --request POST \
--url https://global-api.thedatacity.com/v1/ie/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"NACEs": [
"<string>"
],
"Name": "<string>",
"Country": "<string>",
"LegalForm": "<string>",
"LegalForms": [
"<string>"
],
"HQPostcode": "<string>",
"DateOfIncorporation": "2023-12-25",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"HasWebsite": true,
"OperatingLocationAddresses": [
"<string>"
],
"MinTurnover": 4611686018427388000,
"MaxTurnover": 4611686018427388000,
"MinEBIT": 0,
"MaxEBIT": 0,
"MinNetIncome": 0,
"MaxNetIncome": 0,
"FinancialYearEnding": 123,
"MinFinancialYearEnding": 123,
"MaxFinancialYearEnding": 123,
"AccountsType": "<string>",
"RTICs": [
"<string>"
],
"RNACEs": [
"<string>"
],
"State": [
"<string>"
],
"Zipcode": [
"<string>"
],
"Town": [
"<string>"
],
"LowerLatitude": 0,
"UpperLatitude": 0,
"LowerLongitude": 0,
"UpperLongitude": 0,
"HasWebText": true,
"Includes": [
"<string>"
],
"Excludes": [
"<string>"
],
"WebTextPositiveKeywords": [
"<string>"
],
"WebTextPositiveKeywordsOperator": "<string>",
"WebTextPositiveKeywordsMode": "<string>",
"WebTextNegativeKeywords": [
"<string>"
],
"WebTextNegativeKeywordsOperator": "<string>",
"WebTextNegativeKeywordsMode": "<string>",
"IncludeInsights": true,
"IncludeTotalCount": true,
"IncludesLocations": true,
"Limit": 500,
"Offset": 1073741823,
"SortBy": [
{
"Field": "<string>",
"Direction": "<string>"
}
]
}
'import requests
url = "https://global-api.thedatacity.com/v1/ie/companies"
payload = {
"NACEs": ["<string>"],
"Name": "<string>",
"Country": "<string>",
"LegalForm": "<string>",
"LegalForms": ["<string>"],
"HQPostcode": "<string>",
"DateOfIncorporation": "2023-12-25",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"HasWebsite": True,
"OperatingLocationAddresses": ["<string>"],
"MinTurnover": 4611686018427388000,
"MaxTurnover": 4611686018427388000,
"MinEBIT": 0,
"MaxEBIT": 0,
"MinNetIncome": 0,
"MaxNetIncome": 0,
"FinancialYearEnding": 123,
"MinFinancialYearEnding": 123,
"MaxFinancialYearEnding": 123,
"AccountsType": "<string>",
"RTICs": ["<string>"],
"RNACEs": ["<string>"],
"State": ["<string>"],
"Zipcode": ["<string>"],
"Town": ["<string>"],
"LowerLatitude": 0,
"UpperLatitude": 0,
"LowerLongitude": 0,
"UpperLongitude": 0,
"HasWebText": True,
"Includes": ["<string>"],
"Excludes": ["<string>"],
"WebTextPositiveKeywords": ["<string>"],
"WebTextPositiveKeywordsOperator": "<string>",
"WebTextPositiveKeywordsMode": "<string>",
"WebTextNegativeKeywords": ["<string>"],
"WebTextNegativeKeywordsOperator": "<string>",
"WebTextNegativeKeywordsMode": "<string>",
"IncludeInsights": True,
"IncludeTotalCount": True,
"IncludesLocations": True,
"Limit": 500,
"Offset": 1073741823,
"SortBy": [
{
"Field": "<string>",
"Direction": "<string>"
}
]
}
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({
NACEs: ['<string>'],
Name: '<string>',
Country: '<string>',
LegalForm: '<string>',
LegalForms: ['<string>'],
HQPostcode: '<string>',
DateOfIncorporation: '2023-12-25',
IncorporationDateFrom: '2023-12-25',
IncorporationDateTo: '2023-12-25',
HasWebsite: true,
OperatingLocationAddresses: ['<string>'],
MinTurnover: 4611686018427388000,
MaxTurnover: 4611686018427388000,
MinEBIT: 0,
MaxEBIT: 0,
MinNetIncome: 0,
MaxNetIncome: 0,
FinancialYearEnding: 123,
MinFinancialYearEnding: 123,
MaxFinancialYearEnding: 123,
AccountsType: '<string>',
RTICs: ['<string>'],
RNACEs: ['<string>'],
State: ['<string>'],
Zipcode: ['<string>'],
Town: ['<string>'],
LowerLatitude: 0,
UpperLatitude: 0,
LowerLongitude: 0,
UpperLongitude: 0,
HasWebText: true,
Includes: ['<string>'],
Excludes: ['<string>'],
WebTextPositiveKeywords: ['<string>'],
WebTextPositiveKeywordsOperator: '<string>',
WebTextPositiveKeywordsMode: '<string>',
WebTextNegativeKeywords: ['<string>'],
WebTextNegativeKeywordsOperator: '<string>',
WebTextNegativeKeywordsMode: '<string>',
IncludeInsights: true,
IncludeTotalCount: true,
IncludesLocations: true,
Limit: 500,
Offset: 1073741823,
SortBy: [{Field: '<string>', Direction: '<string>'}]
})
};
fetch('https://global-api.thedatacity.com/v1/ie/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://global-api.thedatacity.com/v1/ie/companies",
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([
'NACEs' => [
'<string>'
],
'Name' => '<string>',
'Country' => '<string>',
'LegalForm' => '<string>',
'LegalForms' => [
'<string>'
],
'HQPostcode' => '<string>',
'DateOfIncorporation' => '2023-12-25',
'IncorporationDateFrom' => '2023-12-25',
'IncorporationDateTo' => '2023-12-25',
'HasWebsite' => true,
'OperatingLocationAddresses' => [
'<string>'
],
'MinTurnover' => 4611686018427388000,
'MaxTurnover' => 4611686018427388000,
'MinEBIT' => 0,
'MaxEBIT' => 0,
'MinNetIncome' => 0,
'MaxNetIncome' => 0,
'FinancialYearEnding' => 123,
'MinFinancialYearEnding' => 123,
'MaxFinancialYearEnding' => 123,
'AccountsType' => '<string>',
'RTICs' => [
'<string>'
],
'RNACEs' => [
'<string>'
],
'State' => [
'<string>'
],
'Zipcode' => [
'<string>'
],
'Town' => [
'<string>'
],
'LowerLatitude' => 0,
'UpperLatitude' => 0,
'LowerLongitude' => 0,
'UpperLongitude' => 0,
'HasWebText' => true,
'Includes' => [
'<string>'
],
'Excludes' => [
'<string>'
],
'WebTextPositiveKeywords' => [
'<string>'
],
'WebTextPositiveKeywordsOperator' => '<string>',
'WebTextPositiveKeywordsMode' => '<string>',
'WebTextNegativeKeywords' => [
'<string>'
],
'WebTextNegativeKeywordsOperator' => '<string>',
'WebTextNegativeKeywordsMode' => '<string>',
'IncludeInsights' => true,
'IncludeTotalCount' => true,
'IncludesLocations' => true,
'Limit' => 500,
'Offset' => 1073741823,
'SortBy' => [
[
'Field' => '<string>',
'Direction' => '<string>'
]
]
]),
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://global-api.thedatacity.com/v1/ie/companies"
payload := strings.NewReader("{\n \"NACEs\": [\n \"<string>\"\n ],\n \"Name\": \"<string>\",\n \"Country\": \"<string>\",\n \"LegalForm\": \"<string>\",\n \"LegalForms\": [\n \"<string>\"\n ],\n \"HQPostcode\": \"<string>\",\n \"DateOfIncorporation\": \"2023-12-25\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"HasWebsite\": true,\n \"OperatingLocationAddresses\": [\n \"<string>\"\n ],\n \"MinTurnover\": 4611686018427388000,\n \"MaxTurnover\": 4611686018427388000,\n \"MinEBIT\": 0,\n \"MaxEBIT\": 0,\n \"MinNetIncome\": 0,\n \"MaxNetIncome\": 0,\n \"FinancialYearEnding\": 123,\n \"MinFinancialYearEnding\": 123,\n \"MaxFinancialYearEnding\": 123,\n \"AccountsType\": \"<string>\",\n \"RTICs\": [\n \"<string>\"\n ],\n \"RNACEs\": [\n \"<string>\"\n ],\n \"State\": [\n \"<string>\"\n ],\n \"Zipcode\": [\n \"<string>\"\n ],\n \"Town\": [\n \"<string>\"\n ],\n \"LowerLatitude\": 0,\n \"UpperLatitude\": 0,\n \"LowerLongitude\": 0,\n \"UpperLongitude\": 0,\n \"HasWebText\": true,\n \"Includes\": [\n \"<string>\"\n ],\n \"Excludes\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywords\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywordsOperator\": \"<string>\",\n \"WebTextPositiveKeywordsMode\": \"<string>\",\n \"WebTextNegativeKeywords\": [\n \"<string>\"\n ],\n \"WebTextNegativeKeywordsOperator\": \"<string>\",\n \"WebTextNegativeKeywordsMode\": \"<string>\",\n \"IncludeInsights\": true,\n \"IncludeTotalCount\": true,\n \"IncludesLocations\": true,\n \"Limit\": 500,\n \"Offset\": 1073741823,\n \"SortBy\": [\n {\n \"Field\": \"<string>\",\n \"Direction\": \"<string>\"\n }\n ]\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://global-api.thedatacity.com/v1/ie/companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"NACEs\": [\n \"<string>\"\n ],\n \"Name\": \"<string>\",\n \"Country\": \"<string>\",\n \"LegalForm\": \"<string>\",\n \"LegalForms\": [\n \"<string>\"\n ],\n \"HQPostcode\": \"<string>\",\n \"DateOfIncorporation\": \"2023-12-25\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"HasWebsite\": true,\n \"OperatingLocationAddresses\": [\n \"<string>\"\n ],\n \"MinTurnover\": 4611686018427388000,\n \"MaxTurnover\": 4611686018427388000,\n \"MinEBIT\": 0,\n \"MaxEBIT\": 0,\n \"MinNetIncome\": 0,\n \"MaxNetIncome\": 0,\n \"FinancialYearEnding\": 123,\n \"MinFinancialYearEnding\": 123,\n \"MaxFinancialYearEnding\": 123,\n \"AccountsType\": \"<string>\",\n \"RTICs\": [\n \"<string>\"\n ],\n \"RNACEs\": [\n \"<string>\"\n ],\n \"State\": [\n \"<string>\"\n ],\n \"Zipcode\": [\n \"<string>\"\n ],\n \"Town\": [\n \"<string>\"\n ],\n \"LowerLatitude\": 0,\n \"UpperLatitude\": 0,\n \"LowerLongitude\": 0,\n \"UpperLongitude\": 0,\n \"HasWebText\": true,\n \"Includes\": [\n \"<string>\"\n ],\n \"Excludes\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywords\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywordsOperator\": \"<string>\",\n \"WebTextPositiveKeywordsMode\": \"<string>\",\n \"WebTextNegativeKeywords\": [\n \"<string>\"\n ],\n \"WebTextNegativeKeywordsOperator\": \"<string>\",\n \"WebTextNegativeKeywordsMode\": \"<string>\",\n \"IncludeInsights\": true,\n \"IncludeTotalCount\": true,\n \"IncludesLocations\": true,\n \"Limit\": 500,\n \"Offset\": 1073741823,\n \"SortBy\": [\n {\n \"Field\": \"<string>\",\n \"Direction\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://global-api.thedatacity.com/v1/ie/companies")
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 \"NACEs\": [\n \"<string>\"\n ],\n \"Name\": \"<string>\",\n \"Country\": \"<string>\",\n \"LegalForm\": \"<string>\",\n \"LegalForms\": [\n \"<string>\"\n ],\n \"HQPostcode\": \"<string>\",\n \"DateOfIncorporation\": \"2023-12-25\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"HasWebsite\": true,\n \"OperatingLocationAddresses\": [\n \"<string>\"\n ],\n \"MinTurnover\": 4611686018427388000,\n \"MaxTurnover\": 4611686018427388000,\n \"MinEBIT\": 0,\n \"MaxEBIT\": 0,\n \"MinNetIncome\": 0,\n \"MaxNetIncome\": 0,\n \"FinancialYearEnding\": 123,\n \"MinFinancialYearEnding\": 123,\n \"MaxFinancialYearEnding\": 123,\n \"AccountsType\": \"<string>\",\n \"RTICs\": [\n \"<string>\"\n ],\n \"RNACEs\": [\n \"<string>\"\n ],\n \"State\": [\n \"<string>\"\n ],\n \"Zipcode\": [\n \"<string>\"\n ],\n \"Town\": [\n \"<string>\"\n ],\n \"LowerLatitude\": 0,\n \"UpperLatitude\": 0,\n \"LowerLongitude\": 0,\n \"UpperLongitude\": 0,\n \"HasWebText\": true,\n \"Includes\": [\n \"<string>\"\n ],\n \"Excludes\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywords\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywordsOperator\": \"<string>\",\n \"WebTextPositiveKeywordsMode\": \"<string>\",\n \"WebTextNegativeKeywords\": [\n \"<string>\"\n ],\n \"WebTextNegativeKeywordsOperator\": \"<string>\",\n \"WebTextNegativeKeywordsMode\": \"<string>\",\n \"IncludeInsights\": true,\n \"IncludeTotalCount\": true,\n \"IncludesLocations\": true,\n \"Limit\": 500,\n \"Offset\": 1073741823,\n \"SortBy\": [\n {\n \"Field\": \"<string>\",\n \"Direction\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"Companies": [
{
"CompanyNumber": "<string>",
"Description": "<string>",
"LegalForm": "<string>",
"EmployeeRange": "<string>",
"RTICs": [
{
"CompanyNumber": "<string>",
"SectorCode": "<string>",
"SectorName": "<string>",
"VerticalCode": "<string>",
"VerticalName": "<string>",
"Score": 123,
"WordsMatched": 123,
"Name": "<string>"
}
],
"LogoURL": "<string>",
"ScreenshotURL": "<string>",
"OperatingLocationsCount": 123,
"Name": "<string>",
"Website": "<string>",
"Country": "<string>",
"HQAddress": "<string>",
"HQPostcode": "<string>",
"HQPostcodeDetails": {
"DepartmentName": "<string>",
"OrganisationName": "<string>",
"SubBuildingName": "<string>",
"BuildingName": "<string>",
"POBoxNumber": "<string>",
"BuildingNumber": "<string>",
"BuildingGroup": "<string>",
"DependentStreet": "<string>",
"MainStreet": "<string>",
"DoubleDependentLocality": "<string>",
"DependentLocality": "<string>",
"PostTown": "<string>",
"County": "<string>",
"Postcode": "<string>",
"Latitude": 123,
"Longitude": 123
},
"Address": "<string>",
"Town": "<string>",
"State": "<string>",
"Phone": "<string>",
"Zipcode": "<string>",
"Latitude": 123,
"Longitude": 123,
"Employees": 123,
"Turnover": 123,
"NACEs": [
"<string>"
],
"RNACEs": [
{
"CompanyNumber": "<string>",
"Code": "<string>",
"Name": "<string>",
"Score": 123
}
],
"SimilarCompanies": [
{
"CompanyNumber": "<string>",
"SimilarityScore": 123
}
]
}
],
"Insights": {
"EmployeeRanges": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"LegalForms": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"IncorporationDates": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"RTICs": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"NACEs": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"Employees": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"Turnover": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"States": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"RNACEs": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
]
},
"TotalCount": 123
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Filter companies
Returns filtered companies and aggregations as host-defined JSON.
curl --request POST \
--url https://global-api.thedatacity.com/v1/ie/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"NACEs": [
"<string>"
],
"Name": "<string>",
"Country": "<string>",
"LegalForm": "<string>",
"LegalForms": [
"<string>"
],
"HQPostcode": "<string>",
"DateOfIncorporation": "2023-12-25",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"HasWebsite": true,
"OperatingLocationAddresses": [
"<string>"
],
"MinTurnover": 4611686018427388000,
"MaxTurnover": 4611686018427388000,
"MinEBIT": 0,
"MaxEBIT": 0,
"MinNetIncome": 0,
"MaxNetIncome": 0,
"FinancialYearEnding": 123,
"MinFinancialYearEnding": 123,
"MaxFinancialYearEnding": 123,
"AccountsType": "<string>",
"RTICs": [
"<string>"
],
"RNACEs": [
"<string>"
],
"State": [
"<string>"
],
"Zipcode": [
"<string>"
],
"Town": [
"<string>"
],
"LowerLatitude": 0,
"UpperLatitude": 0,
"LowerLongitude": 0,
"UpperLongitude": 0,
"HasWebText": true,
"Includes": [
"<string>"
],
"Excludes": [
"<string>"
],
"WebTextPositiveKeywords": [
"<string>"
],
"WebTextPositiveKeywordsOperator": "<string>",
"WebTextPositiveKeywordsMode": "<string>",
"WebTextNegativeKeywords": [
"<string>"
],
"WebTextNegativeKeywordsOperator": "<string>",
"WebTextNegativeKeywordsMode": "<string>",
"IncludeInsights": true,
"IncludeTotalCount": true,
"IncludesLocations": true,
"Limit": 500,
"Offset": 1073741823,
"SortBy": [
{
"Field": "<string>",
"Direction": "<string>"
}
]
}
'import requests
url = "https://global-api.thedatacity.com/v1/ie/companies"
payload = {
"NACEs": ["<string>"],
"Name": "<string>",
"Country": "<string>",
"LegalForm": "<string>",
"LegalForms": ["<string>"],
"HQPostcode": "<string>",
"DateOfIncorporation": "2023-12-25",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"HasWebsite": True,
"OperatingLocationAddresses": ["<string>"],
"MinTurnover": 4611686018427388000,
"MaxTurnover": 4611686018427388000,
"MinEBIT": 0,
"MaxEBIT": 0,
"MinNetIncome": 0,
"MaxNetIncome": 0,
"FinancialYearEnding": 123,
"MinFinancialYearEnding": 123,
"MaxFinancialYearEnding": 123,
"AccountsType": "<string>",
"RTICs": ["<string>"],
"RNACEs": ["<string>"],
"State": ["<string>"],
"Zipcode": ["<string>"],
"Town": ["<string>"],
"LowerLatitude": 0,
"UpperLatitude": 0,
"LowerLongitude": 0,
"UpperLongitude": 0,
"HasWebText": True,
"Includes": ["<string>"],
"Excludes": ["<string>"],
"WebTextPositiveKeywords": ["<string>"],
"WebTextPositiveKeywordsOperator": "<string>",
"WebTextPositiveKeywordsMode": "<string>",
"WebTextNegativeKeywords": ["<string>"],
"WebTextNegativeKeywordsOperator": "<string>",
"WebTextNegativeKeywordsMode": "<string>",
"IncludeInsights": True,
"IncludeTotalCount": True,
"IncludesLocations": True,
"Limit": 500,
"Offset": 1073741823,
"SortBy": [
{
"Field": "<string>",
"Direction": "<string>"
}
]
}
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({
NACEs: ['<string>'],
Name: '<string>',
Country: '<string>',
LegalForm: '<string>',
LegalForms: ['<string>'],
HQPostcode: '<string>',
DateOfIncorporation: '2023-12-25',
IncorporationDateFrom: '2023-12-25',
IncorporationDateTo: '2023-12-25',
HasWebsite: true,
OperatingLocationAddresses: ['<string>'],
MinTurnover: 4611686018427388000,
MaxTurnover: 4611686018427388000,
MinEBIT: 0,
MaxEBIT: 0,
MinNetIncome: 0,
MaxNetIncome: 0,
FinancialYearEnding: 123,
MinFinancialYearEnding: 123,
MaxFinancialYearEnding: 123,
AccountsType: '<string>',
RTICs: ['<string>'],
RNACEs: ['<string>'],
State: ['<string>'],
Zipcode: ['<string>'],
Town: ['<string>'],
LowerLatitude: 0,
UpperLatitude: 0,
LowerLongitude: 0,
UpperLongitude: 0,
HasWebText: true,
Includes: ['<string>'],
Excludes: ['<string>'],
WebTextPositiveKeywords: ['<string>'],
WebTextPositiveKeywordsOperator: '<string>',
WebTextPositiveKeywordsMode: '<string>',
WebTextNegativeKeywords: ['<string>'],
WebTextNegativeKeywordsOperator: '<string>',
WebTextNegativeKeywordsMode: '<string>',
IncludeInsights: true,
IncludeTotalCount: true,
IncludesLocations: true,
Limit: 500,
Offset: 1073741823,
SortBy: [{Field: '<string>', Direction: '<string>'}]
})
};
fetch('https://global-api.thedatacity.com/v1/ie/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://global-api.thedatacity.com/v1/ie/companies",
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([
'NACEs' => [
'<string>'
],
'Name' => '<string>',
'Country' => '<string>',
'LegalForm' => '<string>',
'LegalForms' => [
'<string>'
],
'HQPostcode' => '<string>',
'DateOfIncorporation' => '2023-12-25',
'IncorporationDateFrom' => '2023-12-25',
'IncorporationDateTo' => '2023-12-25',
'HasWebsite' => true,
'OperatingLocationAddresses' => [
'<string>'
],
'MinTurnover' => 4611686018427388000,
'MaxTurnover' => 4611686018427388000,
'MinEBIT' => 0,
'MaxEBIT' => 0,
'MinNetIncome' => 0,
'MaxNetIncome' => 0,
'FinancialYearEnding' => 123,
'MinFinancialYearEnding' => 123,
'MaxFinancialYearEnding' => 123,
'AccountsType' => '<string>',
'RTICs' => [
'<string>'
],
'RNACEs' => [
'<string>'
],
'State' => [
'<string>'
],
'Zipcode' => [
'<string>'
],
'Town' => [
'<string>'
],
'LowerLatitude' => 0,
'UpperLatitude' => 0,
'LowerLongitude' => 0,
'UpperLongitude' => 0,
'HasWebText' => true,
'Includes' => [
'<string>'
],
'Excludes' => [
'<string>'
],
'WebTextPositiveKeywords' => [
'<string>'
],
'WebTextPositiveKeywordsOperator' => '<string>',
'WebTextPositiveKeywordsMode' => '<string>',
'WebTextNegativeKeywords' => [
'<string>'
],
'WebTextNegativeKeywordsOperator' => '<string>',
'WebTextNegativeKeywordsMode' => '<string>',
'IncludeInsights' => true,
'IncludeTotalCount' => true,
'IncludesLocations' => true,
'Limit' => 500,
'Offset' => 1073741823,
'SortBy' => [
[
'Field' => '<string>',
'Direction' => '<string>'
]
]
]),
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://global-api.thedatacity.com/v1/ie/companies"
payload := strings.NewReader("{\n \"NACEs\": [\n \"<string>\"\n ],\n \"Name\": \"<string>\",\n \"Country\": \"<string>\",\n \"LegalForm\": \"<string>\",\n \"LegalForms\": [\n \"<string>\"\n ],\n \"HQPostcode\": \"<string>\",\n \"DateOfIncorporation\": \"2023-12-25\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"HasWebsite\": true,\n \"OperatingLocationAddresses\": [\n \"<string>\"\n ],\n \"MinTurnover\": 4611686018427388000,\n \"MaxTurnover\": 4611686018427388000,\n \"MinEBIT\": 0,\n \"MaxEBIT\": 0,\n \"MinNetIncome\": 0,\n \"MaxNetIncome\": 0,\n \"FinancialYearEnding\": 123,\n \"MinFinancialYearEnding\": 123,\n \"MaxFinancialYearEnding\": 123,\n \"AccountsType\": \"<string>\",\n \"RTICs\": [\n \"<string>\"\n ],\n \"RNACEs\": [\n \"<string>\"\n ],\n \"State\": [\n \"<string>\"\n ],\n \"Zipcode\": [\n \"<string>\"\n ],\n \"Town\": [\n \"<string>\"\n ],\n \"LowerLatitude\": 0,\n \"UpperLatitude\": 0,\n \"LowerLongitude\": 0,\n \"UpperLongitude\": 0,\n \"HasWebText\": true,\n \"Includes\": [\n \"<string>\"\n ],\n \"Excludes\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywords\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywordsOperator\": \"<string>\",\n \"WebTextPositiveKeywordsMode\": \"<string>\",\n \"WebTextNegativeKeywords\": [\n \"<string>\"\n ],\n \"WebTextNegativeKeywordsOperator\": \"<string>\",\n \"WebTextNegativeKeywordsMode\": \"<string>\",\n \"IncludeInsights\": true,\n \"IncludeTotalCount\": true,\n \"IncludesLocations\": true,\n \"Limit\": 500,\n \"Offset\": 1073741823,\n \"SortBy\": [\n {\n \"Field\": \"<string>\",\n \"Direction\": \"<string>\"\n }\n ]\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://global-api.thedatacity.com/v1/ie/companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"NACEs\": [\n \"<string>\"\n ],\n \"Name\": \"<string>\",\n \"Country\": \"<string>\",\n \"LegalForm\": \"<string>\",\n \"LegalForms\": [\n \"<string>\"\n ],\n \"HQPostcode\": \"<string>\",\n \"DateOfIncorporation\": \"2023-12-25\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"HasWebsite\": true,\n \"OperatingLocationAddresses\": [\n \"<string>\"\n ],\n \"MinTurnover\": 4611686018427388000,\n \"MaxTurnover\": 4611686018427388000,\n \"MinEBIT\": 0,\n \"MaxEBIT\": 0,\n \"MinNetIncome\": 0,\n \"MaxNetIncome\": 0,\n \"FinancialYearEnding\": 123,\n \"MinFinancialYearEnding\": 123,\n \"MaxFinancialYearEnding\": 123,\n \"AccountsType\": \"<string>\",\n \"RTICs\": [\n \"<string>\"\n ],\n \"RNACEs\": [\n \"<string>\"\n ],\n \"State\": [\n \"<string>\"\n ],\n \"Zipcode\": [\n \"<string>\"\n ],\n \"Town\": [\n \"<string>\"\n ],\n \"LowerLatitude\": 0,\n \"UpperLatitude\": 0,\n \"LowerLongitude\": 0,\n \"UpperLongitude\": 0,\n \"HasWebText\": true,\n \"Includes\": [\n \"<string>\"\n ],\n \"Excludes\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywords\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywordsOperator\": \"<string>\",\n \"WebTextPositiveKeywordsMode\": \"<string>\",\n \"WebTextNegativeKeywords\": [\n \"<string>\"\n ],\n \"WebTextNegativeKeywordsOperator\": \"<string>\",\n \"WebTextNegativeKeywordsMode\": \"<string>\",\n \"IncludeInsights\": true,\n \"IncludeTotalCount\": true,\n \"IncludesLocations\": true,\n \"Limit\": 500,\n \"Offset\": 1073741823,\n \"SortBy\": [\n {\n \"Field\": \"<string>\",\n \"Direction\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://global-api.thedatacity.com/v1/ie/companies")
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 \"NACEs\": [\n \"<string>\"\n ],\n \"Name\": \"<string>\",\n \"Country\": \"<string>\",\n \"LegalForm\": \"<string>\",\n \"LegalForms\": [\n \"<string>\"\n ],\n \"HQPostcode\": \"<string>\",\n \"DateOfIncorporation\": \"2023-12-25\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"HasWebsite\": true,\n \"OperatingLocationAddresses\": [\n \"<string>\"\n ],\n \"MinTurnover\": 4611686018427388000,\n \"MaxTurnover\": 4611686018427388000,\n \"MinEBIT\": 0,\n \"MaxEBIT\": 0,\n \"MinNetIncome\": 0,\n \"MaxNetIncome\": 0,\n \"FinancialYearEnding\": 123,\n \"MinFinancialYearEnding\": 123,\n \"MaxFinancialYearEnding\": 123,\n \"AccountsType\": \"<string>\",\n \"RTICs\": [\n \"<string>\"\n ],\n \"RNACEs\": [\n \"<string>\"\n ],\n \"State\": [\n \"<string>\"\n ],\n \"Zipcode\": [\n \"<string>\"\n ],\n \"Town\": [\n \"<string>\"\n ],\n \"LowerLatitude\": 0,\n \"UpperLatitude\": 0,\n \"LowerLongitude\": 0,\n \"UpperLongitude\": 0,\n \"HasWebText\": true,\n \"Includes\": [\n \"<string>\"\n ],\n \"Excludes\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywords\": [\n \"<string>\"\n ],\n \"WebTextPositiveKeywordsOperator\": \"<string>\",\n \"WebTextPositiveKeywordsMode\": \"<string>\",\n \"WebTextNegativeKeywords\": [\n \"<string>\"\n ],\n \"WebTextNegativeKeywordsOperator\": \"<string>\",\n \"WebTextNegativeKeywordsMode\": \"<string>\",\n \"IncludeInsights\": true,\n \"IncludeTotalCount\": true,\n \"IncludesLocations\": true,\n \"Limit\": 500,\n \"Offset\": 1073741823,\n \"SortBy\": [\n {\n \"Field\": \"<string>\",\n \"Direction\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"Companies": [
{
"CompanyNumber": "<string>",
"Description": "<string>",
"LegalForm": "<string>",
"EmployeeRange": "<string>",
"RTICs": [
{
"CompanyNumber": "<string>",
"SectorCode": "<string>",
"SectorName": "<string>",
"VerticalCode": "<string>",
"VerticalName": "<string>",
"Score": 123,
"WordsMatched": 123,
"Name": "<string>"
}
],
"LogoURL": "<string>",
"ScreenshotURL": "<string>",
"OperatingLocationsCount": 123,
"Name": "<string>",
"Website": "<string>",
"Country": "<string>",
"HQAddress": "<string>",
"HQPostcode": "<string>",
"HQPostcodeDetails": {
"DepartmentName": "<string>",
"OrganisationName": "<string>",
"SubBuildingName": "<string>",
"BuildingName": "<string>",
"POBoxNumber": "<string>",
"BuildingNumber": "<string>",
"BuildingGroup": "<string>",
"DependentStreet": "<string>",
"MainStreet": "<string>",
"DoubleDependentLocality": "<string>",
"DependentLocality": "<string>",
"PostTown": "<string>",
"County": "<string>",
"Postcode": "<string>",
"Latitude": 123,
"Longitude": 123
},
"Address": "<string>",
"Town": "<string>",
"State": "<string>",
"Phone": "<string>",
"Zipcode": "<string>",
"Latitude": 123,
"Longitude": 123,
"Employees": 123,
"Turnover": 123,
"NACEs": [
"<string>"
],
"RNACEs": [
{
"CompanyNumber": "<string>",
"Code": "<string>",
"Name": "<string>",
"Score": 123
}
],
"SimilarCompanies": [
{
"CompanyNumber": "<string>",
"SimilarityScore": 123
}
]
}
],
"Insights": {
"EmployeeRanges": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"LegalForms": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"IncorporationDates": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"RTICs": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"NACEs": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"Employees": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"Turnover": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"States": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
],
"RNACEs": [
{
"ID": "<string>",
"Name": "<string>",
"Count": 123,
"Children": "<array>"
}
]
},
"TotalCount": 123
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Authorizations
An API key issued by The Data City, sent as: Authorization: Bearer YOUR_KEY
Body
Request model for filtering companies with comprehensive search criteria
Filter by primary industry scheme codes (wire name set at scaffold time).
Filter by company name (partial match)
500Filter by country
100Filter by legal form (e.g., "Corporation", "LLC", "Partnership", "Sole Proprietorship")
150Filter by one or more legal forms from GET /api/filters (legalForms[].id). Matches any listed form (OR).
100Filter by headquarters postal code
10^[0-9]{5}$Filter by date of incorporation (exact match)
Filter by minimum date of incorporation (inclusive)
Filter by maximum date of incorporation (inclusive)
Filter companies that have a website
Filter by operating location addresses (partial match)
20Minimum annual turnover value
0 <= x <= 9223372036854776000Maximum annual turnover value
0 <= x <= 9223372036854776000Minimum EBIT (Earnings Before Interest and Taxes) value
-9223372036854776000 <= x <= 9223372036854776000Maximum EBIT (Earnings Before Interest and Taxes) value
-9223372036854776000 <= x <= 9223372036854776000Minimum net income value
-9223372036854776000 <= x <= 9223372036854776000Maximum net income value
-9223372036854776000 <= x <= 9223372036854776000Filter by specific financial year ending
Minimum financial year ending
Maximum financial year ending
Filter by accounts type (e.g., "Full", "Abbreviated", "Small")
50Filter by RTIC codes. Matches companies that have any of the specified RTIC codes.
Filter by secondary industry scheme codes (wire name set at scaffold time).
Filter by state
100Filter by zipcode
100Filter by town
1000South edge of a geographic bounding box (minimum latitude), inclusive. WGS-84 decimal degrees.
-90 <= x <= 90North edge of a geographic bounding box (maximum latitude), inclusive. WGS-84 decimal degrees.
-90 <= x <= 90West edge of a geographic bounding box (minimum longitude), inclusive. WGS-84 decimal degrees.
-180 <= x <= 180East edge of a geographic bounding box (maximum longitude), inclusive. WGS-84 decimal degrees.
-180 <= x <= 180Filter by companies that have web text
Restrict results to these company numbers (CompanyNumber IN (...)).
5000Exclude these company numbers (CompanyNumber NOT IN (...)).
5000Positive keywords matched against web text (BM25 when FTS index exists; otherwise ILIKE).
25Combines positive keywords: AND (all) or OR (any).
^(AND|OR)$Backward-compatible alias for TDC_Global_Server_API_IE.Models.Filtering.Filters.WebTextPositiveKeywordsOperator.
^(AND|OR)$Negative keywords: rows matching these are excluded.
25Combines negative keyword checks inside NOT (...).
^(AND|OR)$Backward-compatible alias for TDC_Global_Server_API_IE.Models.Filtering.Filters.WebTextNegativeKeywordsOperator.
^(AND|OR)$When false, skips insight bucket aggregation. Omit or null for default (include insights).
When false, skips total-count queries and omits TotalCount from the response. Omit or null for default (include total count).
When true, nested location lists are loaded on each company. Omit or null for default (omit lists).
Maximum number of results to return (uses QueryConstants.MaxQueryLimit)
1 <= x <= 1000Number of results to skip for pagination (default: 0)
0 <= x <= 2147483647Sort options for the results
10Show child attributes
Show child attributes
Response
OK
Response model containing filtered companies with pagination and insights
List of companies matching the filter criteria
Show child attributes
Show child attributes
Aggregated insights about filtered company data
Show child attributes
Show child attributes
Total number of companies matching the filter criteria (before pagination). Omitted when not requested.