curl --request POST \
--url https://product-api.thedatacity.com/api/v2/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rtics": [
"<string>"
],
"cics": [
"<string>"
],
"CompanyNumbers": [
"<string>"
],
"CompanyNumberSetId": "<string>",
"AllowLargeAnalysis": true,
"PreFilter": {},
"PreFilterType": "<string>",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"Yes": [
"<string>"
],
"No": [
"<string>"
],
"InsightsFlag": true,
"CustomGeographyGeoJSON": "<string>",
"CustomGeographyWKT": "<string>",
"ReturnCompanyIDsOnly": true,
"ReturnBasicCompanyDetailsOnly": true,
"NumberOfFolds": 123,
"AllWomenLedDirected": true,
"MajorityWomenLedDirected": true,
"MixedLedDirected": true,
"MajorityMenLedDirected": true,
"AllMenLedDirected": true,
"UncertainDirected": true,
"AllWomenLedFounded": true,
"MajorityWomenLedFounded": true,
"MixedLedFounded": true,
"MajorityMenLedFounded": true,
"AllMenLedFounded": true,
"UncertainFounded": true,
"HasExported": true,
"HasImported": true,
"MaxGrowthRate": 123,
"MinGrowthRate": 123,
"ManuallyInclude": [
"<string>"
],
"ManuallyExclude": [
"<string>"
],
"ExploreManuallyInclude": [
"<string>"
],
"ExploreManuallyExclude": [
"<string>"
],
"FieldEditsSource": [
"<string>"
],
"MinInvestment": 123,
"MaxInvestment": 123,
"IncludeUnknownInvestment": true,
"InvestmentRoundType": [
"<string>"
],
"InvestmentRoundDateFrom": "2023-11-07T05:31:56Z",
"InvestmentRoundDateTo": "2023-11-07T05:31:56Z",
"InvestmentLatestRoundType": true,
"MinDealroom": 123,
"MaxDealroom": 123,
"IncludeUnknownDealroom": true,
"DealroomRoundType": [
"<string>"
],
"DealroomRoundDateFrom": "2023-11-07T05:31:56Z",
"DealroomRoundDateTo": "2023-11-07T05:31:56Z",
"DealroomLatestRoundType": true,
"ExcludeOutliers": true,
"RemoveSubsidiaryCompanies": true,
"CompanyStatus": "<string>",
"CompanyStatusList": [
"<string>"
],
"ViewOutliers": true,
"ExcludeForeignCompanies": true,
"OECDScaleup": true,
"IsSpinOut": true,
"HasLightcastData": true,
"HasProfilesData": true,
"SelectedLOTCodes": [
"<string>"
],
"SelectedSOCCodes": [
"<string>"
],
"JobPostingsFromDate": "2023-11-07T05:31:56Z",
"JobPostingsToDate": "2023-11-07T05:31:56Z",
"ReturnCount": 123,
"Skip": 123,
"Cutoff": 123,
"ContainsKeyword": "<string>",
"DoesNotContainKeyword": "<string>",
"CompanyName": "<string>",
"OrderBy": "<string>",
"Order": "<string>",
"DownloadFormat": "<string>",
"DownloadFields": [
"<string>"
],
"OnlyCompaniesWithWebsites": true,
"OnlyCompaniesWithRegisteredAddressWithinFilterLocation": true,
"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation": true,
"CalculateInsightsBasedOnlyOnRegisteredAddresses": true,
"UserCICs": [
"<string>"
],
"SelectedRTICs": [
"<string>"
],
"SelectedSICs": [
"<string>"
],
"SelectedRSICs": [
"<string>"
],
"SelectedISCodes": [
"<string>"
],
"SelectedExportCodes": [
"<string>"
],
"TradeFromDate": "2023-11-07T05:31:56Z",
"TradeToDate": "2023-11-07T05:31:56Z",
"SelectedImportCodes": [
"<string>"
],
"SelectedSICHLUs": [
"<string>"
],
"SelectedCategories": [
"<string>"
],
"SelectedCities": [
"<string>"
],
"SelectedLANames": [
"<string>"
],
"SelectedLACodes": [
"<string>"
],
"SelectedCountriesOfOrigin": [
"<string>"
],
"SelectedITL1Regions": [
"<string>"
],
"SelectedITL2Regions": [
"<string>"
],
"SelectedUKConstituencies": [
"<string>"
],
"SelectedUltimateParentNations": [
"<string>"
],
"SelectedStrategicAuthorityCodes": [
"<string>"
],
"SelectedStrategicAuthorityNames": [
"<string>"
],
"SelectedCompanySizes": [
"<string>"
],
"SelectedWebsiteMatchConfidence": 123,
"NotKnownToBeForeign": true,
"KnownToBeForeign": true,
"ESTEMPLOYEES_MAX": 123,
"ESTEMPLOYEES_MIN": 123,
"ESTTURNOVER_MAX": 123,
"ESTTURNOVER_MIN": 123,
"EMPLOYEES_MIN": 123,
"EMPLOYEES_MAX": 123,
"TURN_MIN": 123,
"TURN_MAX": 123,
"PTP_MIN": 123,
"PTP_MAX": 123,
"PAT_MIN": 123,
"PAT_MAX": 123,
"CASH_MIN": 123,
"CASH_MAX": 123,
"TCA_MIN": 123,
"TCA_MAX": 123,
"TA_MIN": 123,
"TA_MAX": 123,
"TL_MIN": 123,
"TL_MAX": 123,
"SF_MIN": 123,
"SF_MAX": 123,
"NA_MIN": 123,
"NA_MAX": 123,
"NW_MIN": 123,
"NW_MAX": 123,
"EXPORT_MIN": 123,
"EXPORT_MAX": 123,
"EBITDA_MIN": 123,
"EBITDA_MAX": 123,
"Innovation_MIN": 123,
"InnovateUKFunding_MIN": 123,
"InnovateUKFunding_MAX": 123,
"OnlyManufacturingCompanies": true,
"OnlyESGCompanies": true,
"IsLikelyDistinctBrand": true,
"SearchPostcode": "<string>",
"SearchPostcodeRadius": 123,
"SelectedPostcodeOutcodes": [
"<string>"
],
"InstantSearchString": "<string>",
"MinPoints": 123,
"MinClusterSize": 123,
"ClusterCount": 123,
"OutlierPercentage": 123,
"ClusteringMethod": "<string>",
"TrimClustersBelowPercentage": "<string>",
"ChangelogStartDate": "2023-11-07T05:31:56Z",
"UseSemanticSearch": true,
"RTICsToExclude": [
"<string>"
],
"IS8CodesToExclude": [
"<string>"
]
}
'import requests
url = "https://product-api.thedatacity.com/api/v2/companies"
payload = {
"rtics": ["<string>"],
"cics": ["<string>"],
"CompanyNumbers": ["<string>"],
"CompanyNumberSetId": "<string>",
"AllowLargeAnalysis": True,
"PreFilter": {},
"PreFilterType": "<string>",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"Yes": ["<string>"],
"No": ["<string>"],
"InsightsFlag": True,
"CustomGeographyGeoJSON": "<string>",
"CustomGeographyWKT": "<string>",
"ReturnCompanyIDsOnly": True,
"ReturnBasicCompanyDetailsOnly": True,
"NumberOfFolds": 123,
"AllWomenLedDirected": True,
"MajorityWomenLedDirected": True,
"MixedLedDirected": True,
"MajorityMenLedDirected": True,
"AllMenLedDirected": True,
"UncertainDirected": True,
"AllWomenLedFounded": True,
"MajorityWomenLedFounded": True,
"MixedLedFounded": True,
"MajorityMenLedFounded": True,
"AllMenLedFounded": True,
"UncertainFounded": True,
"HasExported": True,
"HasImported": True,
"MaxGrowthRate": 123,
"MinGrowthRate": 123,
"ManuallyInclude": ["<string>"],
"ManuallyExclude": ["<string>"],
"ExploreManuallyInclude": ["<string>"],
"ExploreManuallyExclude": ["<string>"],
"FieldEditsSource": ["<string>"],
"MinInvestment": 123,
"MaxInvestment": 123,
"IncludeUnknownInvestment": True,
"InvestmentRoundType": ["<string>"],
"InvestmentRoundDateFrom": "2023-11-07T05:31:56Z",
"InvestmentRoundDateTo": "2023-11-07T05:31:56Z",
"InvestmentLatestRoundType": True,
"MinDealroom": 123,
"MaxDealroom": 123,
"IncludeUnknownDealroom": True,
"DealroomRoundType": ["<string>"],
"DealroomRoundDateFrom": "2023-11-07T05:31:56Z",
"DealroomRoundDateTo": "2023-11-07T05:31:56Z",
"DealroomLatestRoundType": True,
"ExcludeOutliers": True,
"RemoveSubsidiaryCompanies": True,
"CompanyStatus": "<string>",
"CompanyStatusList": ["<string>"],
"ViewOutliers": True,
"ExcludeForeignCompanies": True,
"OECDScaleup": True,
"IsSpinOut": True,
"HasLightcastData": True,
"HasProfilesData": True,
"SelectedLOTCodes": ["<string>"],
"SelectedSOCCodes": ["<string>"],
"JobPostingsFromDate": "2023-11-07T05:31:56Z",
"JobPostingsToDate": "2023-11-07T05:31:56Z",
"ReturnCount": 123,
"Skip": 123,
"Cutoff": 123,
"ContainsKeyword": "<string>",
"DoesNotContainKeyword": "<string>",
"CompanyName": "<string>",
"OrderBy": "<string>",
"Order": "<string>",
"DownloadFormat": "<string>",
"DownloadFields": ["<string>"],
"OnlyCompaniesWithWebsites": True,
"OnlyCompaniesWithRegisteredAddressWithinFilterLocation": True,
"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation": True,
"CalculateInsightsBasedOnlyOnRegisteredAddresses": True,
"UserCICs": ["<string>"],
"SelectedRTICs": ["<string>"],
"SelectedSICs": ["<string>"],
"SelectedRSICs": ["<string>"],
"SelectedISCodes": ["<string>"],
"SelectedExportCodes": ["<string>"],
"TradeFromDate": "2023-11-07T05:31:56Z",
"TradeToDate": "2023-11-07T05:31:56Z",
"SelectedImportCodes": ["<string>"],
"SelectedSICHLUs": ["<string>"],
"SelectedCategories": ["<string>"],
"SelectedCities": ["<string>"],
"SelectedLANames": ["<string>"],
"SelectedLACodes": ["<string>"],
"SelectedCountriesOfOrigin": ["<string>"],
"SelectedITL1Regions": ["<string>"],
"SelectedITL2Regions": ["<string>"],
"SelectedUKConstituencies": ["<string>"],
"SelectedUltimateParentNations": ["<string>"],
"SelectedStrategicAuthorityCodes": ["<string>"],
"SelectedStrategicAuthorityNames": ["<string>"],
"SelectedCompanySizes": ["<string>"],
"SelectedWebsiteMatchConfidence": 123,
"NotKnownToBeForeign": True,
"KnownToBeForeign": True,
"ESTEMPLOYEES_MAX": 123,
"ESTEMPLOYEES_MIN": 123,
"ESTTURNOVER_MAX": 123,
"ESTTURNOVER_MIN": 123,
"EMPLOYEES_MIN": 123,
"EMPLOYEES_MAX": 123,
"TURN_MIN": 123,
"TURN_MAX": 123,
"PTP_MIN": 123,
"PTP_MAX": 123,
"PAT_MIN": 123,
"PAT_MAX": 123,
"CASH_MIN": 123,
"CASH_MAX": 123,
"TCA_MIN": 123,
"TCA_MAX": 123,
"TA_MIN": 123,
"TA_MAX": 123,
"TL_MIN": 123,
"TL_MAX": 123,
"SF_MIN": 123,
"SF_MAX": 123,
"NA_MIN": 123,
"NA_MAX": 123,
"NW_MIN": 123,
"NW_MAX": 123,
"EXPORT_MIN": 123,
"EXPORT_MAX": 123,
"EBITDA_MIN": 123,
"EBITDA_MAX": 123,
"Innovation_MIN": 123,
"InnovateUKFunding_MIN": 123,
"InnovateUKFunding_MAX": 123,
"OnlyManufacturingCompanies": True,
"OnlyESGCompanies": True,
"IsLikelyDistinctBrand": True,
"SearchPostcode": "<string>",
"SearchPostcodeRadius": 123,
"SelectedPostcodeOutcodes": ["<string>"],
"InstantSearchString": "<string>",
"MinPoints": 123,
"MinClusterSize": 123,
"ClusterCount": 123,
"OutlierPercentage": 123,
"ClusteringMethod": "<string>",
"TrimClustersBelowPercentage": "<string>",
"ChangelogStartDate": "2023-11-07T05:31:56Z",
"UseSemanticSearch": True,
"RTICsToExclude": ["<string>"],
"IS8CodesToExclude": ["<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({
rtics: ['<string>'],
cics: ['<string>'],
CompanyNumbers: ['<string>'],
CompanyNumberSetId: '<string>',
AllowLargeAnalysis: true,
PreFilter: {},
PreFilterType: '<string>',
IncorporationDateFrom: '2023-12-25',
IncorporationDateTo: '2023-12-25',
Yes: ['<string>'],
No: ['<string>'],
InsightsFlag: true,
CustomGeographyGeoJSON: '<string>',
CustomGeographyWKT: '<string>',
ReturnCompanyIDsOnly: true,
ReturnBasicCompanyDetailsOnly: true,
NumberOfFolds: 123,
AllWomenLedDirected: true,
MajorityWomenLedDirected: true,
MixedLedDirected: true,
MajorityMenLedDirected: true,
AllMenLedDirected: true,
UncertainDirected: true,
AllWomenLedFounded: true,
MajorityWomenLedFounded: true,
MixedLedFounded: true,
MajorityMenLedFounded: true,
AllMenLedFounded: true,
UncertainFounded: true,
HasExported: true,
HasImported: true,
MaxGrowthRate: 123,
MinGrowthRate: 123,
ManuallyInclude: ['<string>'],
ManuallyExclude: ['<string>'],
ExploreManuallyInclude: ['<string>'],
ExploreManuallyExclude: ['<string>'],
FieldEditsSource: ['<string>'],
MinInvestment: 123,
MaxInvestment: 123,
IncludeUnknownInvestment: true,
InvestmentRoundType: ['<string>'],
InvestmentRoundDateFrom: '2023-11-07T05:31:56Z',
InvestmentRoundDateTo: '2023-11-07T05:31:56Z',
InvestmentLatestRoundType: true,
MinDealroom: 123,
MaxDealroom: 123,
IncludeUnknownDealroom: true,
DealroomRoundType: ['<string>'],
DealroomRoundDateFrom: '2023-11-07T05:31:56Z',
DealroomRoundDateTo: '2023-11-07T05:31:56Z',
DealroomLatestRoundType: true,
ExcludeOutliers: true,
RemoveSubsidiaryCompanies: true,
CompanyStatus: '<string>',
CompanyStatusList: ['<string>'],
ViewOutliers: true,
ExcludeForeignCompanies: true,
OECDScaleup: true,
IsSpinOut: true,
HasLightcastData: true,
HasProfilesData: true,
SelectedLOTCodes: ['<string>'],
SelectedSOCCodes: ['<string>'],
JobPostingsFromDate: '2023-11-07T05:31:56Z',
JobPostingsToDate: '2023-11-07T05:31:56Z',
ReturnCount: 123,
Skip: 123,
Cutoff: 123,
ContainsKeyword: '<string>',
DoesNotContainKeyword: '<string>',
CompanyName: '<string>',
OrderBy: '<string>',
Order: '<string>',
DownloadFormat: '<string>',
DownloadFields: ['<string>'],
OnlyCompaniesWithWebsites: true,
OnlyCompaniesWithRegisteredAddressWithinFilterLocation: true,
OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation: true,
CalculateInsightsBasedOnlyOnRegisteredAddresses: true,
UserCICs: ['<string>'],
SelectedRTICs: ['<string>'],
SelectedSICs: ['<string>'],
SelectedRSICs: ['<string>'],
SelectedISCodes: ['<string>'],
SelectedExportCodes: ['<string>'],
TradeFromDate: '2023-11-07T05:31:56Z',
TradeToDate: '2023-11-07T05:31:56Z',
SelectedImportCodes: ['<string>'],
SelectedSICHLUs: ['<string>'],
SelectedCategories: ['<string>'],
SelectedCities: ['<string>'],
SelectedLANames: ['<string>'],
SelectedLACodes: ['<string>'],
SelectedCountriesOfOrigin: ['<string>'],
SelectedITL1Regions: ['<string>'],
SelectedITL2Regions: ['<string>'],
SelectedUKConstituencies: ['<string>'],
SelectedUltimateParentNations: ['<string>'],
SelectedStrategicAuthorityCodes: ['<string>'],
SelectedStrategicAuthorityNames: ['<string>'],
SelectedCompanySizes: ['<string>'],
SelectedWebsiteMatchConfidence: 123,
NotKnownToBeForeign: true,
KnownToBeForeign: true,
ESTEMPLOYEES_MAX: 123,
ESTEMPLOYEES_MIN: 123,
ESTTURNOVER_MAX: 123,
ESTTURNOVER_MIN: 123,
EMPLOYEES_MIN: 123,
EMPLOYEES_MAX: 123,
TURN_MIN: 123,
TURN_MAX: 123,
PTP_MIN: 123,
PTP_MAX: 123,
PAT_MIN: 123,
PAT_MAX: 123,
CASH_MIN: 123,
CASH_MAX: 123,
TCA_MIN: 123,
TCA_MAX: 123,
TA_MIN: 123,
TA_MAX: 123,
TL_MIN: 123,
TL_MAX: 123,
SF_MIN: 123,
SF_MAX: 123,
NA_MIN: 123,
NA_MAX: 123,
NW_MIN: 123,
NW_MAX: 123,
EXPORT_MIN: 123,
EXPORT_MAX: 123,
EBITDA_MIN: 123,
EBITDA_MAX: 123,
Innovation_MIN: 123,
InnovateUKFunding_MIN: 123,
InnovateUKFunding_MAX: 123,
OnlyManufacturingCompanies: true,
OnlyESGCompanies: true,
IsLikelyDistinctBrand: true,
SearchPostcode: '<string>',
SearchPostcodeRadius: 123,
SelectedPostcodeOutcodes: ['<string>'],
InstantSearchString: '<string>',
MinPoints: 123,
MinClusterSize: 123,
ClusterCount: 123,
OutlierPercentage: 123,
ClusteringMethod: '<string>',
TrimClustersBelowPercentage: '<string>',
ChangelogStartDate: '2023-11-07T05:31:56Z',
UseSemanticSearch: true,
RTICsToExclude: ['<string>'],
IS8CodesToExclude: ['<string>']
})
};
fetch('https://product-api.thedatacity.com/api/v2/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://product-api.thedatacity.com/api/v2/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([
'rtics' => [
'<string>'
],
'cics' => [
'<string>'
],
'CompanyNumbers' => [
'<string>'
],
'CompanyNumberSetId' => '<string>',
'AllowLargeAnalysis' => true,
'PreFilter' => [
],
'PreFilterType' => '<string>',
'IncorporationDateFrom' => '2023-12-25',
'IncorporationDateTo' => '2023-12-25',
'Yes' => [
'<string>'
],
'No' => [
'<string>'
],
'InsightsFlag' => true,
'CustomGeographyGeoJSON' => '<string>',
'CustomGeographyWKT' => '<string>',
'ReturnCompanyIDsOnly' => true,
'ReturnBasicCompanyDetailsOnly' => true,
'NumberOfFolds' => 123,
'AllWomenLedDirected' => true,
'MajorityWomenLedDirected' => true,
'MixedLedDirected' => true,
'MajorityMenLedDirected' => true,
'AllMenLedDirected' => true,
'UncertainDirected' => true,
'AllWomenLedFounded' => true,
'MajorityWomenLedFounded' => true,
'MixedLedFounded' => true,
'MajorityMenLedFounded' => true,
'AllMenLedFounded' => true,
'UncertainFounded' => true,
'HasExported' => true,
'HasImported' => true,
'MaxGrowthRate' => 123,
'MinGrowthRate' => 123,
'ManuallyInclude' => [
'<string>'
],
'ManuallyExclude' => [
'<string>'
],
'ExploreManuallyInclude' => [
'<string>'
],
'ExploreManuallyExclude' => [
'<string>'
],
'FieldEditsSource' => [
'<string>'
],
'MinInvestment' => 123,
'MaxInvestment' => 123,
'IncludeUnknownInvestment' => true,
'InvestmentRoundType' => [
'<string>'
],
'InvestmentRoundDateFrom' => '2023-11-07T05:31:56Z',
'InvestmentRoundDateTo' => '2023-11-07T05:31:56Z',
'InvestmentLatestRoundType' => true,
'MinDealroom' => 123,
'MaxDealroom' => 123,
'IncludeUnknownDealroom' => true,
'DealroomRoundType' => [
'<string>'
],
'DealroomRoundDateFrom' => '2023-11-07T05:31:56Z',
'DealroomRoundDateTo' => '2023-11-07T05:31:56Z',
'DealroomLatestRoundType' => true,
'ExcludeOutliers' => true,
'RemoveSubsidiaryCompanies' => true,
'CompanyStatus' => '<string>',
'CompanyStatusList' => [
'<string>'
],
'ViewOutliers' => true,
'ExcludeForeignCompanies' => true,
'OECDScaleup' => true,
'IsSpinOut' => true,
'HasLightcastData' => true,
'HasProfilesData' => true,
'SelectedLOTCodes' => [
'<string>'
],
'SelectedSOCCodes' => [
'<string>'
],
'JobPostingsFromDate' => '2023-11-07T05:31:56Z',
'JobPostingsToDate' => '2023-11-07T05:31:56Z',
'ReturnCount' => 123,
'Skip' => 123,
'Cutoff' => 123,
'ContainsKeyword' => '<string>',
'DoesNotContainKeyword' => '<string>',
'CompanyName' => '<string>',
'OrderBy' => '<string>',
'Order' => '<string>',
'DownloadFormat' => '<string>',
'DownloadFields' => [
'<string>'
],
'OnlyCompaniesWithWebsites' => true,
'OnlyCompaniesWithRegisteredAddressWithinFilterLocation' => true,
'OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation' => true,
'CalculateInsightsBasedOnlyOnRegisteredAddresses' => true,
'UserCICs' => [
'<string>'
],
'SelectedRTICs' => [
'<string>'
],
'SelectedSICs' => [
'<string>'
],
'SelectedRSICs' => [
'<string>'
],
'SelectedISCodes' => [
'<string>'
],
'SelectedExportCodes' => [
'<string>'
],
'TradeFromDate' => '2023-11-07T05:31:56Z',
'TradeToDate' => '2023-11-07T05:31:56Z',
'SelectedImportCodes' => [
'<string>'
],
'SelectedSICHLUs' => [
'<string>'
],
'SelectedCategories' => [
'<string>'
],
'SelectedCities' => [
'<string>'
],
'SelectedLANames' => [
'<string>'
],
'SelectedLACodes' => [
'<string>'
],
'SelectedCountriesOfOrigin' => [
'<string>'
],
'SelectedITL1Regions' => [
'<string>'
],
'SelectedITL2Regions' => [
'<string>'
],
'SelectedUKConstituencies' => [
'<string>'
],
'SelectedUltimateParentNations' => [
'<string>'
],
'SelectedStrategicAuthorityCodes' => [
'<string>'
],
'SelectedStrategicAuthorityNames' => [
'<string>'
],
'SelectedCompanySizes' => [
'<string>'
],
'SelectedWebsiteMatchConfidence' => 123,
'NotKnownToBeForeign' => true,
'KnownToBeForeign' => true,
'ESTEMPLOYEES_MAX' => 123,
'ESTEMPLOYEES_MIN' => 123,
'ESTTURNOVER_MAX' => 123,
'ESTTURNOVER_MIN' => 123,
'EMPLOYEES_MIN' => 123,
'EMPLOYEES_MAX' => 123,
'TURN_MIN' => 123,
'TURN_MAX' => 123,
'PTP_MIN' => 123,
'PTP_MAX' => 123,
'PAT_MIN' => 123,
'PAT_MAX' => 123,
'CASH_MIN' => 123,
'CASH_MAX' => 123,
'TCA_MIN' => 123,
'TCA_MAX' => 123,
'TA_MIN' => 123,
'TA_MAX' => 123,
'TL_MIN' => 123,
'TL_MAX' => 123,
'SF_MIN' => 123,
'SF_MAX' => 123,
'NA_MIN' => 123,
'NA_MAX' => 123,
'NW_MIN' => 123,
'NW_MAX' => 123,
'EXPORT_MIN' => 123,
'EXPORT_MAX' => 123,
'EBITDA_MIN' => 123,
'EBITDA_MAX' => 123,
'Innovation_MIN' => 123,
'InnovateUKFunding_MIN' => 123,
'InnovateUKFunding_MAX' => 123,
'OnlyManufacturingCompanies' => true,
'OnlyESGCompanies' => true,
'IsLikelyDistinctBrand' => true,
'SearchPostcode' => '<string>',
'SearchPostcodeRadius' => 123,
'SelectedPostcodeOutcodes' => [
'<string>'
],
'InstantSearchString' => '<string>',
'MinPoints' => 123,
'MinClusterSize' => 123,
'ClusterCount' => 123,
'OutlierPercentage' => 123,
'ClusteringMethod' => '<string>',
'TrimClustersBelowPercentage' => '<string>',
'ChangelogStartDate' => '2023-11-07T05:31:56Z',
'UseSemanticSearch' => true,
'RTICsToExclude' => [
'<string>'
],
'IS8CodesToExclude' => [
'<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://product-api.thedatacity.com/api/v2/companies"
payload := strings.NewReader("{\n \"rtics\": [\n \"<string>\"\n ],\n \"cics\": [\n \"<string>\"\n ],\n \"CompanyNumbers\": [\n \"<string>\"\n ],\n \"CompanyNumberSetId\": \"<string>\",\n \"AllowLargeAnalysis\": true,\n \"PreFilter\": {},\n \"PreFilterType\": \"<string>\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"Yes\": [\n \"<string>\"\n ],\n \"No\": [\n \"<string>\"\n ],\n \"InsightsFlag\": true,\n \"CustomGeographyGeoJSON\": \"<string>\",\n \"CustomGeographyWKT\": \"<string>\",\n \"ReturnCompanyIDsOnly\": true,\n \"ReturnBasicCompanyDetailsOnly\": true,\n \"NumberOfFolds\": 123,\n \"AllWomenLedDirected\": true,\n \"MajorityWomenLedDirected\": true,\n \"MixedLedDirected\": true,\n \"MajorityMenLedDirected\": true,\n \"AllMenLedDirected\": true,\n \"UncertainDirected\": true,\n \"AllWomenLedFounded\": true,\n \"MajorityWomenLedFounded\": true,\n \"MixedLedFounded\": true,\n \"MajorityMenLedFounded\": true,\n \"AllMenLedFounded\": true,\n \"UncertainFounded\": true,\n \"HasExported\": true,\n \"HasImported\": true,\n \"MaxGrowthRate\": 123,\n \"MinGrowthRate\": 123,\n \"ManuallyInclude\": [\n \"<string>\"\n ],\n \"ManuallyExclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyInclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyExclude\": [\n \"<string>\"\n ],\n \"FieldEditsSource\": [\n \"<string>\"\n ],\n \"MinInvestment\": 123,\n \"MaxInvestment\": 123,\n \"IncludeUnknownInvestment\": true,\n \"InvestmentRoundType\": [\n \"<string>\"\n ],\n \"InvestmentRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"InvestmentRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"InvestmentLatestRoundType\": true,\n \"MinDealroom\": 123,\n \"MaxDealroom\": 123,\n \"IncludeUnknownDealroom\": true,\n \"DealroomRoundType\": [\n \"<string>\"\n ],\n \"DealroomRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"DealroomRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"DealroomLatestRoundType\": true,\n \"ExcludeOutliers\": true,\n \"RemoveSubsidiaryCompanies\": true,\n \"CompanyStatus\": \"<string>\",\n \"CompanyStatusList\": [\n \"<string>\"\n ],\n \"ViewOutliers\": true,\n \"ExcludeForeignCompanies\": true,\n \"OECDScaleup\": true,\n \"IsSpinOut\": true,\n \"HasLightcastData\": true,\n \"HasProfilesData\": true,\n \"SelectedLOTCodes\": [\n \"<string>\"\n ],\n \"SelectedSOCCodes\": [\n \"<string>\"\n ],\n \"JobPostingsFromDate\": \"2023-11-07T05:31:56Z\",\n \"JobPostingsToDate\": \"2023-11-07T05:31:56Z\",\n \"ReturnCount\": 123,\n \"Skip\": 123,\n \"Cutoff\": 123,\n \"ContainsKeyword\": \"<string>\",\n \"DoesNotContainKeyword\": \"<string>\",\n \"CompanyName\": \"<string>\",\n \"OrderBy\": \"<string>\",\n \"Order\": \"<string>\",\n \"DownloadFormat\": \"<string>\",\n \"DownloadFields\": [\n \"<string>\"\n ],\n \"OnlyCompaniesWithWebsites\": true,\n \"OnlyCompaniesWithRegisteredAddressWithinFilterLocation\": true,\n \"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation\": true,\n \"CalculateInsightsBasedOnlyOnRegisteredAddresses\": true,\n \"UserCICs\": [\n \"<string>\"\n ],\n \"SelectedRTICs\": [\n \"<string>\"\n ],\n \"SelectedSICs\": [\n \"<string>\"\n ],\n \"SelectedRSICs\": [\n \"<string>\"\n ],\n \"SelectedISCodes\": [\n \"<string>\"\n ],\n \"SelectedExportCodes\": [\n \"<string>\"\n ],\n \"TradeFromDate\": \"2023-11-07T05:31:56Z\",\n \"TradeToDate\": \"2023-11-07T05:31:56Z\",\n \"SelectedImportCodes\": [\n \"<string>\"\n ],\n \"SelectedSICHLUs\": [\n \"<string>\"\n ],\n \"SelectedCategories\": [\n \"<string>\"\n ],\n \"SelectedCities\": [\n \"<string>\"\n ],\n \"SelectedLANames\": [\n \"<string>\"\n ],\n \"SelectedLACodes\": [\n \"<string>\"\n ],\n \"SelectedCountriesOfOrigin\": [\n \"<string>\"\n ],\n \"SelectedITL1Regions\": [\n \"<string>\"\n ],\n \"SelectedITL2Regions\": [\n \"<string>\"\n ],\n \"SelectedUKConstituencies\": [\n \"<string>\"\n ],\n \"SelectedUltimateParentNations\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityCodes\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityNames\": [\n \"<string>\"\n ],\n \"SelectedCompanySizes\": [\n \"<string>\"\n ],\n \"SelectedWebsiteMatchConfidence\": 123,\n \"NotKnownToBeForeign\": true,\n \"KnownToBeForeign\": true,\n \"ESTEMPLOYEES_MAX\": 123,\n \"ESTEMPLOYEES_MIN\": 123,\n \"ESTTURNOVER_MAX\": 123,\n \"ESTTURNOVER_MIN\": 123,\n \"EMPLOYEES_MIN\": 123,\n \"EMPLOYEES_MAX\": 123,\n \"TURN_MIN\": 123,\n \"TURN_MAX\": 123,\n \"PTP_MIN\": 123,\n \"PTP_MAX\": 123,\n \"PAT_MIN\": 123,\n \"PAT_MAX\": 123,\n \"CASH_MIN\": 123,\n \"CASH_MAX\": 123,\n \"TCA_MIN\": 123,\n \"TCA_MAX\": 123,\n \"TA_MIN\": 123,\n \"TA_MAX\": 123,\n \"TL_MIN\": 123,\n \"TL_MAX\": 123,\n \"SF_MIN\": 123,\n \"SF_MAX\": 123,\n \"NA_MIN\": 123,\n \"NA_MAX\": 123,\n \"NW_MIN\": 123,\n \"NW_MAX\": 123,\n \"EXPORT_MIN\": 123,\n \"EXPORT_MAX\": 123,\n \"EBITDA_MIN\": 123,\n \"EBITDA_MAX\": 123,\n \"Innovation_MIN\": 123,\n \"InnovateUKFunding_MIN\": 123,\n \"InnovateUKFunding_MAX\": 123,\n \"OnlyManufacturingCompanies\": true,\n \"OnlyESGCompanies\": true,\n \"IsLikelyDistinctBrand\": true,\n \"SearchPostcode\": \"<string>\",\n \"SearchPostcodeRadius\": 123,\n \"SelectedPostcodeOutcodes\": [\n \"<string>\"\n ],\n \"InstantSearchString\": \"<string>\",\n \"MinPoints\": 123,\n \"MinClusterSize\": 123,\n \"ClusterCount\": 123,\n \"OutlierPercentage\": 123,\n \"ClusteringMethod\": \"<string>\",\n \"TrimClustersBelowPercentage\": \"<string>\",\n \"ChangelogStartDate\": \"2023-11-07T05:31:56Z\",\n \"UseSemanticSearch\": true,\n \"RTICsToExclude\": [\n \"<string>\"\n ],\n \"IS8CodesToExclude\": [\n \"<string>\"\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://product-api.thedatacity.com/api/v2/companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rtics\": [\n \"<string>\"\n ],\n \"cics\": [\n \"<string>\"\n ],\n \"CompanyNumbers\": [\n \"<string>\"\n ],\n \"CompanyNumberSetId\": \"<string>\",\n \"AllowLargeAnalysis\": true,\n \"PreFilter\": {},\n \"PreFilterType\": \"<string>\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"Yes\": [\n \"<string>\"\n ],\n \"No\": [\n \"<string>\"\n ],\n \"InsightsFlag\": true,\n \"CustomGeographyGeoJSON\": \"<string>\",\n \"CustomGeographyWKT\": \"<string>\",\n \"ReturnCompanyIDsOnly\": true,\n \"ReturnBasicCompanyDetailsOnly\": true,\n \"NumberOfFolds\": 123,\n \"AllWomenLedDirected\": true,\n \"MajorityWomenLedDirected\": true,\n \"MixedLedDirected\": true,\n \"MajorityMenLedDirected\": true,\n \"AllMenLedDirected\": true,\n \"UncertainDirected\": true,\n \"AllWomenLedFounded\": true,\n \"MajorityWomenLedFounded\": true,\n \"MixedLedFounded\": true,\n \"MajorityMenLedFounded\": true,\n \"AllMenLedFounded\": true,\n \"UncertainFounded\": true,\n \"HasExported\": true,\n \"HasImported\": true,\n \"MaxGrowthRate\": 123,\n \"MinGrowthRate\": 123,\n \"ManuallyInclude\": [\n \"<string>\"\n ],\n \"ManuallyExclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyInclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyExclude\": [\n \"<string>\"\n ],\n \"FieldEditsSource\": [\n \"<string>\"\n ],\n \"MinInvestment\": 123,\n \"MaxInvestment\": 123,\n \"IncludeUnknownInvestment\": true,\n \"InvestmentRoundType\": [\n \"<string>\"\n ],\n \"InvestmentRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"InvestmentRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"InvestmentLatestRoundType\": true,\n \"MinDealroom\": 123,\n \"MaxDealroom\": 123,\n \"IncludeUnknownDealroom\": true,\n \"DealroomRoundType\": [\n \"<string>\"\n ],\n \"DealroomRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"DealroomRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"DealroomLatestRoundType\": true,\n \"ExcludeOutliers\": true,\n \"RemoveSubsidiaryCompanies\": true,\n \"CompanyStatus\": \"<string>\",\n \"CompanyStatusList\": [\n \"<string>\"\n ],\n \"ViewOutliers\": true,\n \"ExcludeForeignCompanies\": true,\n \"OECDScaleup\": true,\n \"IsSpinOut\": true,\n \"HasLightcastData\": true,\n \"HasProfilesData\": true,\n \"SelectedLOTCodes\": [\n \"<string>\"\n ],\n \"SelectedSOCCodes\": [\n \"<string>\"\n ],\n \"JobPostingsFromDate\": \"2023-11-07T05:31:56Z\",\n \"JobPostingsToDate\": \"2023-11-07T05:31:56Z\",\n \"ReturnCount\": 123,\n \"Skip\": 123,\n \"Cutoff\": 123,\n \"ContainsKeyword\": \"<string>\",\n \"DoesNotContainKeyword\": \"<string>\",\n \"CompanyName\": \"<string>\",\n \"OrderBy\": \"<string>\",\n \"Order\": \"<string>\",\n \"DownloadFormat\": \"<string>\",\n \"DownloadFields\": [\n \"<string>\"\n ],\n \"OnlyCompaniesWithWebsites\": true,\n \"OnlyCompaniesWithRegisteredAddressWithinFilterLocation\": true,\n \"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation\": true,\n \"CalculateInsightsBasedOnlyOnRegisteredAddresses\": true,\n \"UserCICs\": [\n \"<string>\"\n ],\n \"SelectedRTICs\": [\n \"<string>\"\n ],\n \"SelectedSICs\": [\n \"<string>\"\n ],\n \"SelectedRSICs\": [\n \"<string>\"\n ],\n \"SelectedISCodes\": [\n \"<string>\"\n ],\n \"SelectedExportCodes\": [\n \"<string>\"\n ],\n \"TradeFromDate\": \"2023-11-07T05:31:56Z\",\n \"TradeToDate\": \"2023-11-07T05:31:56Z\",\n \"SelectedImportCodes\": [\n \"<string>\"\n ],\n \"SelectedSICHLUs\": [\n \"<string>\"\n ],\n \"SelectedCategories\": [\n \"<string>\"\n ],\n \"SelectedCities\": [\n \"<string>\"\n ],\n \"SelectedLANames\": [\n \"<string>\"\n ],\n \"SelectedLACodes\": [\n \"<string>\"\n ],\n \"SelectedCountriesOfOrigin\": [\n \"<string>\"\n ],\n \"SelectedITL1Regions\": [\n \"<string>\"\n ],\n \"SelectedITL2Regions\": [\n \"<string>\"\n ],\n \"SelectedUKConstituencies\": [\n \"<string>\"\n ],\n \"SelectedUltimateParentNations\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityCodes\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityNames\": [\n \"<string>\"\n ],\n \"SelectedCompanySizes\": [\n \"<string>\"\n ],\n \"SelectedWebsiteMatchConfidence\": 123,\n \"NotKnownToBeForeign\": true,\n \"KnownToBeForeign\": true,\n \"ESTEMPLOYEES_MAX\": 123,\n \"ESTEMPLOYEES_MIN\": 123,\n \"ESTTURNOVER_MAX\": 123,\n \"ESTTURNOVER_MIN\": 123,\n \"EMPLOYEES_MIN\": 123,\n \"EMPLOYEES_MAX\": 123,\n \"TURN_MIN\": 123,\n \"TURN_MAX\": 123,\n \"PTP_MIN\": 123,\n \"PTP_MAX\": 123,\n \"PAT_MIN\": 123,\n \"PAT_MAX\": 123,\n \"CASH_MIN\": 123,\n \"CASH_MAX\": 123,\n \"TCA_MIN\": 123,\n \"TCA_MAX\": 123,\n \"TA_MIN\": 123,\n \"TA_MAX\": 123,\n \"TL_MIN\": 123,\n \"TL_MAX\": 123,\n \"SF_MIN\": 123,\n \"SF_MAX\": 123,\n \"NA_MIN\": 123,\n \"NA_MAX\": 123,\n \"NW_MIN\": 123,\n \"NW_MAX\": 123,\n \"EXPORT_MIN\": 123,\n \"EXPORT_MAX\": 123,\n \"EBITDA_MIN\": 123,\n \"EBITDA_MAX\": 123,\n \"Innovation_MIN\": 123,\n \"InnovateUKFunding_MIN\": 123,\n \"InnovateUKFunding_MAX\": 123,\n \"OnlyManufacturingCompanies\": true,\n \"OnlyESGCompanies\": true,\n \"IsLikelyDistinctBrand\": true,\n \"SearchPostcode\": \"<string>\",\n \"SearchPostcodeRadius\": 123,\n \"SelectedPostcodeOutcodes\": [\n \"<string>\"\n ],\n \"InstantSearchString\": \"<string>\",\n \"MinPoints\": 123,\n \"MinClusterSize\": 123,\n \"ClusterCount\": 123,\n \"OutlierPercentage\": 123,\n \"ClusteringMethod\": \"<string>\",\n \"TrimClustersBelowPercentage\": \"<string>\",\n \"ChangelogStartDate\": \"2023-11-07T05:31:56Z\",\n \"UseSemanticSearch\": true,\n \"RTICsToExclude\": [\n \"<string>\"\n ],\n \"IS8CodesToExclude\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://product-api.thedatacity.com/api/v2/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 \"rtics\": [\n \"<string>\"\n ],\n \"cics\": [\n \"<string>\"\n ],\n \"CompanyNumbers\": [\n \"<string>\"\n ],\n \"CompanyNumberSetId\": \"<string>\",\n \"AllowLargeAnalysis\": true,\n \"PreFilter\": {},\n \"PreFilterType\": \"<string>\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"Yes\": [\n \"<string>\"\n ],\n \"No\": [\n \"<string>\"\n ],\n \"InsightsFlag\": true,\n \"CustomGeographyGeoJSON\": \"<string>\",\n \"CustomGeographyWKT\": \"<string>\",\n \"ReturnCompanyIDsOnly\": true,\n \"ReturnBasicCompanyDetailsOnly\": true,\n \"NumberOfFolds\": 123,\n \"AllWomenLedDirected\": true,\n \"MajorityWomenLedDirected\": true,\n \"MixedLedDirected\": true,\n \"MajorityMenLedDirected\": true,\n \"AllMenLedDirected\": true,\n \"UncertainDirected\": true,\n \"AllWomenLedFounded\": true,\n \"MajorityWomenLedFounded\": true,\n \"MixedLedFounded\": true,\n \"MajorityMenLedFounded\": true,\n \"AllMenLedFounded\": true,\n \"UncertainFounded\": true,\n \"HasExported\": true,\n \"HasImported\": true,\n \"MaxGrowthRate\": 123,\n \"MinGrowthRate\": 123,\n \"ManuallyInclude\": [\n \"<string>\"\n ],\n \"ManuallyExclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyInclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyExclude\": [\n \"<string>\"\n ],\n \"FieldEditsSource\": [\n \"<string>\"\n ],\n \"MinInvestment\": 123,\n \"MaxInvestment\": 123,\n \"IncludeUnknownInvestment\": true,\n \"InvestmentRoundType\": [\n \"<string>\"\n ],\n \"InvestmentRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"InvestmentRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"InvestmentLatestRoundType\": true,\n \"MinDealroom\": 123,\n \"MaxDealroom\": 123,\n \"IncludeUnknownDealroom\": true,\n \"DealroomRoundType\": [\n \"<string>\"\n ],\n \"DealroomRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"DealroomRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"DealroomLatestRoundType\": true,\n \"ExcludeOutliers\": true,\n \"RemoveSubsidiaryCompanies\": true,\n \"CompanyStatus\": \"<string>\",\n \"CompanyStatusList\": [\n \"<string>\"\n ],\n \"ViewOutliers\": true,\n \"ExcludeForeignCompanies\": true,\n \"OECDScaleup\": true,\n \"IsSpinOut\": true,\n \"HasLightcastData\": true,\n \"HasProfilesData\": true,\n \"SelectedLOTCodes\": [\n \"<string>\"\n ],\n \"SelectedSOCCodes\": [\n \"<string>\"\n ],\n \"JobPostingsFromDate\": \"2023-11-07T05:31:56Z\",\n \"JobPostingsToDate\": \"2023-11-07T05:31:56Z\",\n \"ReturnCount\": 123,\n \"Skip\": 123,\n \"Cutoff\": 123,\n \"ContainsKeyword\": \"<string>\",\n \"DoesNotContainKeyword\": \"<string>\",\n \"CompanyName\": \"<string>\",\n \"OrderBy\": \"<string>\",\n \"Order\": \"<string>\",\n \"DownloadFormat\": \"<string>\",\n \"DownloadFields\": [\n \"<string>\"\n ],\n \"OnlyCompaniesWithWebsites\": true,\n \"OnlyCompaniesWithRegisteredAddressWithinFilterLocation\": true,\n \"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation\": true,\n \"CalculateInsightsBasedOnlyOnRegisteredAddresses\": true,\n \"UserCICs\": [\n \"<string>\"\n ],\n \"SelectedRTICs\": [\n \"<string>\"\n ],\n \"SelectedSICs\": [\n \"<string>\"\n ],\n \"SelectedRSICs\": [\n \"<string>\"\n ],\n \"SelectedISCodes\": [\n \"<string>\"\n ],\n \"SelectedExportCodes\": [\n \"<string>\"\n ],\n \"TradeFromDate\": \"2023-11-07T05:31:56Z\",\n \"TradeToDate\": \"2023-11-07T05:31:56Z\",\n \"SelectedImportCodes\": [\n \"<string>\"\n ],\n \"SelectedSICHLUs\": [\n \"<string>\"\n ],\n \"SelectedCategories\": [\n \"<string>\"\n ],\n \"SelectedCities\": [\n \"<string>\"\n ],\n \"SelectedLANames\": [\n \"<string>\"\n ],\n \"SelectedLACodes\": [\n \"<string>\"\n ],\n \"SelectedCountriesOfOrigin\": [\n \"<string>\"\n ],\n \"SelectedITL1Regions\": [\n \"<string>\"\n ],\n \"SelectedITL2Regions\": [\n \"<string>\"\n ],\n \"SelectedUKConstituencies\": [\n \"<string>\"\n ],\n \"SelectedUltimateParentNations\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityCodes\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityNames\": [\n \"<string>\"\n ],\n \"SelectedCompanySizes\": [\n \"<string>\"\n ],\n \"SelectedWebsiteMatchConfidence\": 123,\n \"NotKnownToBeForeign\": true,\n \"KnownToBeForeign\": true,\n \"ESTEMPLOYEES_MAX\": 123,\n \"ESTEMPLOYEES_MIN\": 123,\n \"ESTTURNOVER_MAX\": 123,\n \"ESTTURNOVER_MIN\": 123,\n \"EMPLOYEES_MIN\": 123,\n \"EMPLOYEES_MAX\": 123,\n \"TURN_MIN\": 123,\n \"TURN_MAX\": 123,\n \"PTP_MIN\": 123,\n \"PTP_MAX\": 123,\n \"PAT_MIN\": 123,\n \"PAT_MAX\": 123,\n \"CASH_MIN\": 123,\n \"CASH_MAX\": 123,\n \"TCA_MIN\": 123,\n \"TCA_MAX\": 123,\n \"TA_MIN\": 123,\n \"TA_MAX\": 123,\n \"TL_MIN\": 123,\n \"TL_MAX\": 123,\n \"SF_MIN\": 123,\n \"SF_MAX\": 123,\n \"NA_MIN\": 123,\n \"NA_MAX\": 123,\n \"NW_MIN\": 123,\n \"NW_MAX\": 123,\n \"EXPORT_MIN\": 123,\n \"EXPORT_MAX\": 123,\n \"EBITDA_MIN\": 123,\n \"EBITDA_MAX\": 123,\n \"Innovation_MIN\": 123,\n \"InnovateUKFunding_MIN\": 123,\n \"InnovateUKFunding_MAX\": 123,\n \"OnlyManufacturingCompanies\": true,\n \"OnlyESGCompanies\": true,\n \"IsLikelyDistinctBrand\": true,\n \"SearchPostcode\": \"<string>\",\n \"SearchPostcodeRadius\": 123,\n \"SelectedPostcodeOutcodes\": [\n \"<string>\"\n ],\n \"InstantSearchString\": \"<string>\",\n \"MinPoints\": 123,\n \"MinClusterSize\": 123,\n \"ClusterCount\": 123,\n \"OutlierPercentage\": 123,\n \"ClusteringMethod\": \"<string>\",\n \"TrimClustersBelowPercentage\": \"<string>\",\n \"ChangelogStartDate\": \"2023-11-07T05:31:56Z\",\n \"UseSemanticSearch\": true,\n \"RTICsToExclude\": [\n \"<string>\"\n ],\n \"IS8CodesToExclude\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"companies": [
{
"AccountsOverdueByMoreThanAYear": true,
"BestEstimateEBITDA": 123,
"BestEstimateEmployees": 123,
"BestEstimateTurnover": 123,
"BestEstimateUKEmployees": 123,
"Bluesky": "<string>",
"CICs": [
{}
],
"CompanyCategory": "<string>",
"CompanyDescription": "<string>",
"CompanyExports": [
{}
],
"CompanyFinancials_CreditSafe": [
{
"ACCOUNTANT_NAME": "<string>",
"ACCOUNTS_FORMAT": "<string>",
"AMORTISATION_OF_INTANGIBLES": 123,
"AUDITORS": "<string>",
"BANK_OVERDRAFT": 123,
"CASH": 123,
"CONSOLIDATED_ACS": true,
"CREDITORS": 123,
"CURRENCY": "<string>",
"DEBTORS": 123,
"DEBTORS_DUE_AFTER_ONE_YEAR": 123,
"DECREASE_OR_INCREASE_IN_CASH": 123,
"DEPRECIATION_OF_TANGIBLES": 123,
"EBITDA": 123,
"EMPLOYEES_ANOMALOUS": true,
"EMPLOYEES_ANOMALOUS_PROBABILITY": 123,
"EXPORT": 123,
"GROUP_DEBTORS": 123,
"LIKELY_AGENCY": true,
"LIKELY_AGENCY_PROBABILITY": 123,
"MADE_FROM_DATE": "2023-11-07T05:31:56Z",
"MADE_UPTO_DATE": "2023-11-07T05:31:56Z",
"NET_ASSETS": 123,
"NET_WORTH": 123,
"NUMBER_OF_EMPLOYEES": 123,
"NUM_OF_MONTHS": 123,
"OPERATING_PROFIT": 123,
"PRE_TAX_PROFIT": 123,
"PROFIT_AFTER_TAX": 123,
"SHAREHOLDER_FUNDS": 123,
"TOTAL_ASSETS": 123,
"TOTAL_CURRENT_ASSETS": 123,
"TOTAL_CURRENT_LIABILITIES": 123,
"TOTAL_LIABILITIES": 123,
"TRADE_DEBTORS": 123,
"TURNOVER": 123,
"TURNOVER_ANOMALOUS": true,
"TURNOVER_ANOMALOUS_PROBABILITY": 123,
"WAGES_AND_SALARIES": 123,
"YEAR": 123
}
],
"CompanyGrowthTrends": {
"BestEstimateCurrentEmployees": 123,
"BestEstimateCurrentTurnover": 123,
"BestEstimateEmployeeGrowthPercentagePerYear": 123,
"BestEstimateGrowthPercentagePerYear": 123,
"BestEstimateTurnoverGrowthPercentagePerYear": 123,
"BestEstimatedTurnoverToEmployeeRatio": 123,
"CompanyAgeInDays": 123,
"CompanySizeEstimate": "<string>",
"EmploymentEstimates": [
{
"Estimated": 123,
"Measure": 123,
"Year": 123
}
],
"OECDScaleup": true,
"SICs": [
"<string>"
],
"TurnoverEstimates": [
{
"Estimated": 123,
"Measure": 123,
"Year": 123
}
]
},
"CompanyImports": [
{}
],
"CompanyJobPostings": [
{
"MedianSalary": 123,
"Postings": 123,
"SOC4Code": "<string>",
"SOC4Name": "<string>"
}
],
"CompanyJobPostingsByLOTCodeOverTime": [
{
"AverageMedianSalary": 123,
"Count": 123,
"LOTCode": "<string>",
"Timestamp": 123
}
],
"CompanyJobPostingsByLot": [
{
"LotCode": "<string>",
"LotName": "<string>",
"MedianSalary": 123,
"Postings": 123
}
],
"CompanyJobPostingsBySOC4CodeOverTime": [
{
"AverageMedianSalary": 123,
"Count": 123,
"SOC4Code": "<string>",
"Timestamp": 123
}
],
"CompanyJobPostingsBySkill": [
{
"MedianPostingDuration": 123,
"SkillName": "<string>",
"UniquePostings": 123
}
],
"CompanyJobPostingsOverTime": {
"CompanyJobPostingsOverTimeByLot": [
{
"Count": 123,
"Timestamp": 123
}
],
"CompanyJobPostingsOverTimeBySoc4": [
{
"Count": 123,
"Timestamp": 123
}
]
},
"CompanyName": "<string>",
"CompanyNation": "<string>",
"CompanyNumber": "<string>",
"CompanyStatus": "<string>",
"ConsolidatedAccountsCompanyName": [
"<string>"
],
"ConsolidatedAccountsCompanyNumber": [
"<string>"
],
"CountryOfOrigin": "<string>",
"DealroomFunding": [
{
"CompanyId": "<string>",
"LastInvestmentDate": "2023-11-07T05:31:56Z",
"ParticipatingInvestorTypes": "<string>",
"ProviderCompanyName": "<string>",
"RoundAmount_GBP_Million": 123,
"RoundDate": "2023-11-07T05:31:56Z",
"RoundInvestorName": "<string>",
"RoundInvestorType": "<string>",
"RoundLeadInvestorName": "<string>",
"RoundType": "<string>",
"RoundVerified": 123,
"Spinout": 123,
"TotalInvestmentRaised_GBP_Million": 123
}
],
"DistinctBrandsInGroup": [
{}
],
"ESGStatementAnchors": [
{
"Anchor": "<string>",
"Domain": "<string>",
"Word": "<string>"
}
],
"ESG_RTIC": true,
"EmailAddresses": [
"<string>"
],
"EstimatedGVA": 123,
"EstimatedUKGVA": 123,
"Facebook": "<string>",
"GenderFoundedCategory": "<string>",
"GenderLedCategory": "<string>",
"HasBeenAcquired": true,
"HasIPO": true,
"HasMadeAcquisitions": true,
"HighGrowth": true,
"Homepage_domain": "<string>",
"IS8Codes": [
{
"ISCode": "<string>",
"ISCodeName": "<string>",
"ISVerticalCode": "<string>",
"ISVerticalName": "<string>"
}
],
"IncorporationDate": "2023-12-25",
"InnovateUKFunding": [
{
"ActualSpendtoDate": 123,
"ApplicationNumber": "<string>",
"AwardOffered": 123,
"CompetitionReference": "<string>",
"CompetitionTitle": "<string>",
"CompetitionYear": 123,
"EnterpriseSize": "<string>",
"IndustrialStrategyChallengeFundISCF": "<string>",
"InnovateUKProductType": "<string>",
"IsLeadParticipant": "<string>",
"ParticipantName": "<string>",
"ParticipantWithdrawnFromProject": "<string>",
"Postcode": "<string>",
"ProgrammeTitle": "<string>",
"ProjectEndDate": "2023-11-07T05:31:56Z",
"ProjectNumber": "<string>",
"ProjectStartDate": "2023-11-07T05:31:56Z",
"ProjectStatus": "<string>",
"ProjectTitle": "<string>",
"PublicDescription": "<string>",
"Sector": "<string>",
"TotalCosts": 123
}
],
"InnovationKeywords": [
"<string>"
],
"InnovationScore": 123,
"Instagram": "<string>",
"Investment": [
{
"CompanyId": "<string>",
"LastInvestmentDate": "2023-11-07T05:31:56Z",
"ParticipatingInvestorTypes": "<string>",
"ProviderCompanyName": "<string>",
"RoundAmount_GBP_Million": 123,
"RoundDate": "2023-11-07T05:31:56Z",
"RoundInvestorName": "<string>",
"RoundInvestorType": "<string>",
"RoundLeadInvestorName": "<string>",
"RoundType": "<string>",
"RoundVerified": 123,
"Spinout": 123,
"TotalInvestmentRaised_GBP_Million": 123
}
],
"IsBCorp": true,
"IsLikelyAgency": true,
"IsLikelySPV": true,
"LatestRoundAmount": 123,
"LatestRoundDate": "2023-11-07T05:31:56Z",
"LatestRoundType": "<string>",
"LatestRoundValuation": 123,
"LinkedCompanyNumbers": [
"<string>"
],
"Linkedin": "<string>",
"LocationDetails": [
{
"AssociatedAddress": "<string>",
"BestEstimateLocationEmployees": 123,
"BestEstimateLocationGVA": 123,
"BestEstimateLocationTurnover": 123,
"FoundOnWebpage": true,
"ITL1": "<string>",
"ITL1NM": "<string>",
"ITL2": "<string>",
"ITL2NM": "<string>",
"ITL3": "<string>",
"IsBlacklisted": true,
"IsOperatingAddress": true,
"IsSubsidiaryAddress": true,
"LAcode": "<string>",
"LAname": "<string>",
"LSOA": "<string>",
"Latitude": 123,
"Longitude": 123,
"MSOA": "<string>",
"OECDFUACorePlusCommuting": "<string>",
"Postcode": "<string>",
"Postcode_withspaces": "<string>",
"RegisteredPostcode": true,
"StrategicAuthorityCode": "<string>",
"StrategicAuthorityName": "<string>",
"UKConstituency": "<string>"
}
],
"ManufacturingKeywords": [
"<string>"
],
"NumberOfCurrentDirectors": 123,
"NumberOfCurrentOfficers": 123,
"OECDScaleup": true,
"Officers": [
{
"AddressLine1": "<string>",
"AddressLine2": "<string>",
"Appointedon": "2023-12-25",
"Careof": "<string>",
"Country": "<string>",
"County": "<string>",
"DOB": "2023-12-25",
"Forenames": "<string>",
"Honours": "<string>",
"Nationality": "<string>",
"Occupation": "<string>",
"PersonNumber": "<string>",
"PostTown": "<string>",
"ResignationDate": "2023-12-25",
"Role": "<string>",
"Surname": "<string>",
"Title": "<string>",
"UsualResidentialCountry": "<string>"
}
],
"ParentNation": "<string>",
"PhoneNumbers": [
"<string>"
],
"RSICs": [
{
"SIC_Code": "<string>",
"Score": 123
}
],
"RTICs": [
{}
],
"RegisteredAddress": "<string>",
"RegisteredPostcode": "<string>",
"SICHLUs": [
"<string>"
],
"SICs": [
"<string>"
],
"SectorKeywords": [
"<string>"
],
"SimilarCompanies": [
{
"CompanyOne": "<string>",
"CompanyTwo": "<string>",
"Similarity": 123
}
],
"SimilarCompositeCompanies": [
{
"CompanyOne": "<string>",
"CompanyTwo": "<string>",
"Similarity": 123
}
],
"Spinout": true,
"TonnesOfC02equivGHGPerYear": 123,
"Twitter": "<string>",
"URLMatchStats": {
"MatchedWebsite": "<string>",
"MatchedWebsiteConfidence": "<string>",
"MatchedWebsiteReasoning": [
"<string>"
],
"MatchedWebsiteScore": 123
},
"UltimateLinkedCompanyNumber": "<string>",
"UltimateParentNation": "<string>",
"UltimateUKParentCompanyNames": [
"<string>"
],
"UltimateUKParentCompanyNumbers": [
"<string>"
],
"WomenLedStats": {
"ActiveFemaleDirectors": 123,
"ActiveFemaleFounders": 123,
"ActiveMaleDirectors": 123,
"ActiveMaleFounders": 123,
"InitialFemaleFounders": 123,
"InitialMaleFounders": 123,
"TotalActiveDirectors": 123,
"TotalActiveFounders": 123,
"TotalInitialFounders": 123
},
"Youtube": "<string>",
"_360GivingFunding": [
{
"ImpactCategory": "<string>",
"Primaryissue": "<string>",
"amountAwarded": 123,
"awardDate": "2023-11-07T05:31:56Z",
"currency": "<string>",
"description": "<string>",
"funderName": "<string>",
"grantProgrammeTitle": "<string>",
"recipientName": "<string>",
"recipientURL": "<string>",
"title": "<string>"
}
]
}
],
"insights": {
"BestEstimateTotalEmployeesAttributedToLocation": 123,
"BestEstimateTotalGVAAttributedToLocation": 123,
"BestEstimateTotalTurnoverAttributedToLocation": 123,
"TopInvestorsByRoundCount": [
{}
],
"TopInvestorsByValue": [
{}
]
},
"CompanyChanges": [
{}
],
"JobPostingsBySOC4Code": [
{}
],
"JobPostingsBySOC4Name": [
{}
],
"JobPostingsByLotName": [
{}
],
"AverageAdvertisedSalaryBySOC4Code": [
{}
],
"AverageAdvertisedSalaryBySOC4Name": [
{}
],
"AverageAdvertisedSalaryByLotName": [
{}
],
"JobPostingsBySkill": [
{}
],
"AveragePostingDurationBySkill": [
{}
],
"RTICJobPostings": [
{}
],
"RTICVerticalJobPostings": [
{}
],
"CICJobPostings": [
{}
],
"CICVerticalJobPostings": [
{}
],
"CompanyJobPostingsOverTimeBySOC4": [
{}
],
"CompanyJobPostingsOverTimeByLOT": [
{}
],
"JobPostingsByCommonSkill": [
{}
],
"AveragePostingDurationByCommonSkill": [
{}
],
"JobPostingsByCertificationsSkill": [
{}
],
"AveragePostingDurationByCertificationsSkill": [
{}
],
"JobPostingsBySpecializedSkill": [
{}
],
"AveragePostingDurationBySpecializedSkill": [
{}
],
"JobPostingInsights": [
{}
],
"JobPostingInsightsLOT": [
{}
]
}List companies by filter
curl --request POST \
--url https://product-api.thedatacity.com/api/v2/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rtics": [
"<string>"
],
"cics": [
"<string>"
],
"CompanyNumbers": [
"<string>"
],
"CompanyNumberSetId": "<string>",
"AllowLargeAnalysis": true,
"PreFilter": {},
"PreFilterType": "<string>",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"Yes": [
"<string>"
],
"No": [
"<string>"
],
"InsightsFlag": true,
"CustomGeographyGeoJSON": "<string>",
"CustomGeographyWKT": "<string>",
"ReturnCompanyIDsOnly": true,
"ReturnBasicCompanyDetailsOnly": true,
"NumberOfFolds": 123,
"AllWomenLedDirected": true,
"MajorityWomenLedDirected": true,
"MixedLedDirected": true,
"MajorityMenLedDirected": true,
"AllMenLedDirected": true,
"UncertainDirected": true,
"AllWomenLedFounded": true,
"MajorityWomenLedFounded": true,
"MixedLedFounded": true,
"MajorityMenLedFounded": true,
"AllMenLedFounded": true,
"UncertainFounded": true,
"HasExported": true,
"HasImported": true,
"MaxGrowthRate": 123,
"MinGrowthRate": 123,
"ManuallyInclude": [
"<string>"
],
"ManuallyExclude": [
"<string>"
],
"ExploreManuallyInclude": [
"<string>"
],
"ExploreManuallyExclude": [
"<string>"
],
"FieldEditsSource": [
"<string>"
],
"MinInvestment": 123,
"MaxInvestment": 123,
"IncludeUnknownInvestment": true,
"InvestmentRoundType": [
"<string>"
],
"InvestmentRoundDateFrom": "2023-11-07T05:31:56Z",
"InvestmentRoundDateTo": "2023-11-07T05:31:56Z",
"InvestmentLatestRoundType": true,
"MinDealroom": 123,
"MaxDealroom": 123,
"IncludeUnknownDealroom": true,
"DealroomRoundType": [
"<string>"
],
"DealroomRoundDateFrom": "2023-11-07T05:31:56Z",
"DealroomRoundDateTo": "2023-11-07T05:31:56Z",
"DealroomLatestRoundType": true,
"ExcludeOutliers": true,
"RemoveSubsidiaryCompanies": true,
"CompanyStatus": "<string>",
"CompanyStatusList": [
"<string>"
],
"ViewOutliers": true,
"ExcludeForeignCompanies": true,
"OECDScaleup": true,
"IsSpinOut": true,
"HasLightcastData": true,
"HasProfilesData": true,
"SelectedLOTCodes": [
"<string>"
],
"SelectedSOCCodes": [
"<string>"
],
"JobPostingsFromDate": "2023-11-07T05:31:56Z",
"JobPostingsToDate": "2023-11-07T05:31:56Z",
"ReturnCount": 123,
"Skip": 123,
"Cutoff": 123,
"ContainsKeyword": "<string>",
"DoesNotContainKeyword": "<string>",
"CompanyName": "<string>",
"OrderBy": "<string>",
"Order": "<string>",
"DownloadFormat": "<string>",
"DownloadFields": [
"<string>"
],
"OnlyCompaniesWithWebsites": true,
"OnlyCompaniesWithRegisteredAddressWithinFilterLocation": true,
"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation": true,
"CalculateInsightsBasedOnlyOnRegisteredAddresses": true,
"UserCICs": [
"<string>"
],
"SelectedRTICs": [
"<string>"
],
"SelectedSICs": [
"<string>"
],
"SelectedRSICs": [
"<string>"
],
"SelectedISCodes": [
"<string>"
],
"SelectedExportCodes": [
"<string>"
],
"TradeFromDate": "2023-11-07T05:31:56Z",
"TradeToDate": "2023-11-07T05:31:56Z",
"SelectedImportCodes": [
"<string>"
],
"SelectedSICHLUs": [
"<string>"
],
"SelectedCategories": [
"<string>"
],
"SelectedCities": [
"<string>"
],
"SelectedLANames": [
"<string>"
],
"SelectedLACodes": [
"<string>"
],
"SelectedCountriesOfOrigin": [
"<string>"
],
"SelectedITL1Regions": [
"<string>"
],
"SelectedITL2Regions": [
"<string>"
],
"SelectedUKConstituencies": [
"<string>"
],
"SelectedUltimateParentNations": [
"<string>"
],
"SelectedStrategicAuthorityCodes": [
"<string>"
],
"SelectedStrategicAuthorityNames": [
"<string>"
],
"SelectedCompanySizes": [
"<string>"
],
"SelectedWebsiteMatchConfidence": 123,
"NotKnownToBeForeign": true,
"KnownToBeForeign": true,
"ESTEMPLOYEES_MAX": 123,
"ESTEMPLOYEES_MIN": 123,
"ESTTURNOVER_MAX": 123,
"ESTTURNOVER_MIN": 123,
"EMPLOYEES_MIN": 123,
"EMPLOYEES_MAX": 123,
"TURN_MIN": 123,
"TURN_MAX": 123,
"PTP_MIN": 123,
"PTP_MAX": 123,
"PAT_MIN": 123,
"PAT_MAX": 123,
"CASH_MIN": 123,
"CASH_MAX": 123,
"TCA_MIN": 123,
"TCA_MAX": 123,
"TA_MIN": 123,
"TA_MAX": 123,
"TL_MIN": 123,
"TL_MAX": 123,
"SF_MIN": 123,
"SF_MAX": 123,
"NA_MIN": 123,
"NA_MAX": 123,
"NW_MIN": 123,
"NW_MAX": 123,
"EXPORT_MIN": 123,
"EXPORT_MAX": 123,
"EBITDA_MIN": 123,
"EBITDA_MAX": 123,
"Innovation_MIN": 123,
"InnovateUKFunding_MIN": 123,
"InnovateUKFunding_MAX": 123,
"OnlyManufacturingCompanies": true,
"OnlyESGCompanies": true,
"IsLikelyDistinctBrand": true,
"SearchPostcode": "<string>",
"SearchPostcodeRadius": 123,
"SelectedPostcodeOutcodes": [
"<string>"
],
"InstantSearchString": "<string>",
"MinPoints": 123,
"MinClusterSize": 123,
"ClusterCount": 123,
"OutlierPercentage": 123,
"ClusteringMethod": "<string>",
"TrimClustersBelowPercentage": "<string>",
"ChangelogStartDate": "2023-11-07T05:31:56Z",
"UseSemanticSearch": true,
"RTICsToExclude": [
"<string>"
],
"IS8CodesToExclude": [
"<string>"
]
}
'import requests
url = "https://product-api.thedatacity.com/api/v2/companies"
payload = {
"rtics": ["<string>"],
"cics": ["<string>"],
"CompanyNumbers": ["<string>"],
"CompanyNumberSetId": "<string>",
"AllowLargeAnalysis": True,
"PreFilter": {},
"PreFilterType": "<string>",
"IncorporationDateFrom": "2023-12-25",
"IncorporationDateTo": "2023-12-25",
"Yes": ["<string>"],
"No": ["<string>"],
"InsightsFlag": True,
"CustomGeographyGeoJSON": "<string>",
"CustomGeographyWKT": "<string>",
"ReturnCompanyIDsOnly": True,
"ReturnBasicCompanyDetailsOnly": True,
"NumberOfFolds": 123,
"AllWomenLedDirected": True,
"MajorityWomenLedDirected": True,
"MixedLedDirected": True,
"MajorityMenLedDirected": True,
"AllMenLedDirected": True,
"UncertainDirected": True,
"AllWomenLedFounded": True,
"MajorityWomenLedFounded": True,
"MixedLedFounded": True,
"MajorityMenLedFounded": True,
"AllMenLedFounded": True,
"UncertainFounded": True,
"HasExported": True,
"HasImported": True,
"MaxGrowthRate": 123,
"MinGrowthRate": 123,
"ManuallyInclude": ["<string>"],
"ManuallyExclude": ["<string>"],
"ExploreManuallyInclude": ["<string>"],
"ExploreManuallyExclude": ["<string>"],
"FieldEditsSource": ["<string>"],
"MinInvestment": 123,
"MaxInvestment": 123,
"IncludeUnknownInvestment": True,
"InvestmentRoundType": ["<string>"],
"InvestmentRoundDateFrom": "2023-11-07T05:31:56Z",
"InvestmentRoundDateTo": "2023-11-07T05:31:56Z",
"InvestmentLatestRoundType": True,
"MinDealroom": 123,
"MaxDealroom": 123,
"IncludeUnknownDealroom": True,
"DealroomRoundType": ["<string>"],
"DealroomRoundDateFrom": "2023-11-07T05:31:56Z",
"DealroomRoundDateTo": "2023-11-07T05:31:56Z",
"DealroomLatestRoundType": True,
"ExcludeOutliers": True,
"RemoveSubsidiaryCompanies": True,
"CompanyStatus": "<string>",
"CompanyStatusList": ["<string>"],
"ViewOutliers": True,
"ExcludeForeignCompanies": True,
"OECDScaleup": True,
"IsSpinOut": True,
"HasLightcastData": True,
"HasProfilesData": True,
"SelectedLOTCodes": ["<string>"],
"SelectedSOCCodes": ["<string>"],
"JobPostingsFromDate": "2023-11-07T05:31:56Z",
"JobPostingsToDate": "2023-11-07T05:31:56Z",
"ReturnCount": 123,
"Skip": 123,
"Cutoff": 123,
"ContainsKeyword": "<string>",
"DoesNotContainKeyword": "<string>",
"CompanyName": "<string>",
"OrderBy": "<string>",
"Order": "<string>",
"DownloadFormat": "<string>",
"DownloadFields": ["<string>"],
"OnlyCompaniesWithWebsites": True,
"OnlyCompaniesWithRegisteredAddressWithinFilterLocation": True,
"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation": True,
"CalculateInsightsBasedOnlyOnRegisteredAddresses": True,
"UserCICs": ["<string>"],
"SelectedRTICs": ["<string>"],
"SelectedSICs": ["<string>"],
"SelectedRSICs": ["<string>"],
"SelectedISCodes": ["<string>"],
"SelectedExportCodes": ["<string>"],
"TradeFromDate": "2023-11-07T05:31:56Z",
"TradeToDate": "2023-11-07T05:31:56Z",
"SelectedImportCodes": ["<string>"],
"SelectedSICHLUs": ["<string>"],
"SelectedCategories": ["<string>"],
"SelectedCities": ["<string>"],
"SelectedLANames": ["<string>"],
"SelectedLACodes": ["<string>"],
"SelectedCountriesOfOrigin": ["<string>"],
"SelectedITL1Regions": ["<string>"],
"SelectedITL2Regions": ["<string>"],
"SelectedUKConstituencies": ["<string>"],
"SelectedUltimateParentNations": ["<string>"],
"SelectedStrategicAuthorityCodes": ["<string>"],
"SelectedStrategicAuthorityNames": ["<string>"],
"SelectedCompanySizes": ["<string>"],
"SelectedWebsiteMatchConfidence": 123,
"NotKnownToBeForeign": True,
"KnownToBeForeign": True,
"ESTEMPLOYEES_MAX": 123,
"ESTEMPLOYEES_MIN": 123,
"ESTTURNOVER_MAX": 123,
"ESTTURNOVER_MIN": 123,
"EMPLOYEES_MIN": 123,
"EMPLOYEES_MAX": 123,
"TURN_MIN": 123,
"TURN_MAX": 123,
"PTP_MIN": 123,
"PTP_MAX": 123,
"PAT_MIN": 123,
"PAT_MAX": 123,
"CASH_MIN": 123,
"CASH_MAX": 123,
"TCA_MIN": 123,
"TCA_MAX": 123,
"TA_MIN": 123,
"TA_MAX": 123,
"TL_MIN": 123,
"TL_MAX": 123,
"SF_MIN": 123,
"SF_MAX": 123,
"NA_MIN": 123,
"NA_MAX": 123,
"NW_MIN": 123,
"NW_MAX": 123,
"EXPORT_MIN": 123,
"EXPORT_MAX": 123,
"EBITDA_MIN": 123,
"EBITDA_MAX": 123,
"Innovation_MIN": 123,
"InnovateUKFunding_MIN": 123,
"InnovateUKFunding_MAX": 123,
"OnlyManufacturingCompanies": True,
"OnlyESGCompanies": True,
"IsLikelyDistinctBrand": True,
"SearchPostcode": "<string>",
"SearchPostcodeRadius": 123,
"SelectedPostcodeOutcodes": ["<string>"],
"InstantSearchString": "<string>",
"MinPoints": 123,
"MinClusterSize": 123,
"ClusterCount": 123,
"OutlierPercentage": 123,
"ClusteringMethod": "<string>",
"TrimClustersBelowPercentage": "<string>",
"ChangelogStartDate": "2023-11-07T05:31:56Z",
"UseSemanticSearch": True,
"RTICsToExclude": ["<string>"],
"IS8CodesToExclude": ["<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({
rtics: ['<string>'],
cics: ['<string>'],
CompanyNumbers: ['<string>'],
CompanyNumberSetId: '<string>',
AllowLargeAnalysis: true,
PreFilter: {},
PreFilterType: '<string>',
IncorporationDateFrom: '2023-12-25',
IncorporationDateTo: '2023-12-25',
Yes: ['<string>'],
No: ['<string>'],
InsightsFlag: true,
CustomGeographyGeoJSON: '<string>',
CustomGeographyWKT: '<string>',
ReturnCompanyIDsOnly: true,
ReturnBasicCompanyDetailsOnly: true,
NumberOfFolds: 123,
AllWomenLedDirected: true,
MajorityWomenLedDirected: true,
MixedLedDirected: true,
MajorityMenLedDirected: true,
AllMenLedDirected: true,
UncertainDirected: true,
AllWomenLedFounded: true,
MajorityWomenLedFounded: true,
MixedLedFounded: true,
MajorityMenLedFounded: true,
AllMenLedFounded: true,
UncertainFounded: true,
HasExported: true,
HasImported: true,
MaxGrowthRate: 123,
MinGrowthRate: 123,
ManuallyInclude: ['<string>'],
ManuallyExclude: ['<string>'],
ExploreManuallyInclude: ['<string>'],
ExploreManuallyExclude: ['<string>'],
FieldEditsSource: ['<string>'],
MinInvestment: 123,
MaxInvestment: 123,
IncludeUnknownInvestment: true,
InvestmentRoundType: ['<string>'],
InvestmentRoundDateFrom: '2023-11-07T05:31:56Z',
InvestmentRoundDateTo: '2023-11-07T05:31:56Z',
InvestmentLatestRoundType: true,
MinDealroom: 123,
MaxDealroom: 123,
IncludeUnknownDealroom: true,
DealroomRoundType: ['<string>'],
DealroomRoundDateFrom: '2023-11-07T05:31:56Z',
DealroomRoundDateTo: '2023-11-07T05:31:56Z',
DealroomLatestRoundType: true,
ExcludeOutliers: true,
RemoveSubsidiaryCompanies: true,
CompanyStatus: '<string>',
CompanyStatusList: ['<string>'],
ViewOutliers: true,
ExcludeForeignCompanies: true,
OECDScaleup: true,
IsSpinOut: true,
HasLightcastData: true,
HasProfilesData: true,
SelectedLOTCodes: ['<string>'],
SelectedSOCCodes: ['<string>'],
JobPostingsFromDate: '2023-11-07T05:31:56Z',
JobPostingsToDate: '2023-11-07T05:31:56Z',
ReturnCount: 123,
Skip: 123,
Cutoff: 123,
ContainsKeyword: '<string>',
DoesNotContainKeyword: '<string>',
CompanyName: '<string>',
OrderBy: '<string>',
Order: '<string>',
DownloadFormat: '<string>',
DownloadFields: ['<string>'],
OnlyCompaniesWithWebsites: true,
OnlyCompaniesWithRegisteredAddressWithinFilterLocation: true,
OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation: true,
CalculateInsightsBasedOnlyOnRegisteredAddresses: true,
UserCICs: ['<string>'],
SelectedRTICs: ['<string>'],
SelectedSICs: ['<string>'],
SelectedRSICs: ['<string>'],
SelectedISCodes: ['<string>'],
SelectedExportCodes: ['<string>'],
TradeFromDate: '2023-11-07T05:31:56Z',
TradeToDate: '2023-11-07T05:31:56Z',
SelectedImportCodes: ['<string>'],
SelectedSICHLUs: ['<string>'],
SelectedCategories: ['<string>'],
SelectedCities: ['<string>'],
SelectedLANames: ['<string>'],
SelectedLACodes: ['<string>'],
SelectedCountriesOfOrigin: ['<string>'],
SelectedITL1Regions: ['<string>'],
SelectedITL2Regions: ['<string>'],
SelectedUKConstituencies: ['<string>'],
SelectedUltimateParentNations: ['<string>'],
SelectedStrategicAuthorityCodes: ['<string>'],
SelectedStrategicAuthorityNames: ['<string>'],
SelectedCompanySizes: ['<string>'],
SelectedWebsiteMatchConfidence: 123,
NotKnownToBeForeign: true,
KnownToBeForeign: true,
ESTEMPLOYEES_MAX: 123,
ESTEMPLOYEES_MIN: 123,
ESTTURNOVER_MAX: 123,
ESTTURNOVER_MIN: 123,
EMPLOYEES_MIN: 123,
EMPLOYEES_MAX: 123,
TURN_MIN: 123,
TURN_MAX: 123,
PTP_MIN: 123,
PTP_MAX: 123,
PAT_MIN: 123,
PAT_MAX: 123,
CASH_MIN: 123,
CASH_MAX: 123,
TCA_MIN: 123,
TCA_MAX: 123,
TA_MIN: 123,
TA_MAX: 123,
TL_MIN: 123,
TL_MAX: 123,
SF_MIN: 123,
SF_MAX: 123,
NA_MIN: 123,
NA_MAX: 123,
NW_MIN: 123,
NW_MAX: 123,
EXPORT_MIN: 123,
EXPORT_MAX: 123,
EBITDA_MIN: 123,
EBITDA_MAX: 123,
Innovation_MIN: 123,
InnovateUKFunding_MIN: 123,
InnovateUKFunding_MAX: 123,
OnlyManufacturingCompanies: true,
OnlyESGCompanies: true,
IsLikelyDistinctBrand: true,
SearchPostcode: '<string>',
SearchPostcodeRadius: 123,
SelectedPostcodeOutcodes: ['<string>'],
InstantSearchString: '<string>',
MinPoints: 123,
MinClusterSize: 123,
ClusterCount: 123,
OutlierPercentage: 123,
ClusteringMethod: '<string>',
TrimClustersBelowPercentage: '<string>',
ChangelogStartDate: '2023-11-07T05:31:56Z',
UseSemanticSearch: true,
RTICsToExclude: ['<string>'],
IS8CodesToExclude: ['<string>']
})
};
fetch('https://product-api.thedatacity.com/api/v2/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://product-api.thedatacity.com/api/v2/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([
'rtics' => [
'<string>'
],
'cics' => [
'<string>'
],
'CompanyNumbers' => [
'<string>'
],
'CompanyNumberSetId' => '<string>',
'AllowLargeAnalysis' => true,
'PreFilter' => [
],
'PreFilterType' => '<string>',
'IncorporationDateFrom' => '2023-12-25',
'IncorporationDateTo' => '2023-12-25',
'Yes' => [
'<string>'
],
'No' => [
'<string>'
],
'InsightsFlag' => true,
'CustomGeographyGeoJSON' => '<string>',
'CustomGeographyWKT' => '<string>',
'ReturnCompanyIDsOnly' => true,
'ReturnBasicCompanyDetailsOnly' => true,
'NumberOfFolds' => 123,
'AllWomenLedDirected' => true,
'MajorityWomenLedDirected' => true,
'MixedLedDirected' => true,
'MajorityMenLedDirected' => true,
'AllMenLedDirected' => true,
'UncertainDirected' => true,
'AllWomenLedFounded' => true,
'MajorityWomenLedFounded' => true,
'MixedLedFounded' => true,
'MajorityMenLedFounded' => true,
'AllMenLedFounded' => true,
'UncertainFounded' => true,
'HasExported' => true,
'HasImported' => true,
'MaxGrowthRate' => 123,
'MinGrowthRate' => 123,
'ManuallyInclude' => [
'<string>'
],
'ManuallyExclude' => [
'<string>'
],
'ExploreManuallyInclude' => [
'<string>'
],
'ExploreManuallyExclude' => [
'<string>'
],
'FieldEditsSource' => [
'<string>'
],
'MinInvestment' => 123,
'MaxInvestment' => 123,
'IncludeUnknownInvestment' => true,
'InvestmentRoundType' => [
'<string>'
],
'InvestmentRoundDateFrom' => '2023-11-07T05:31:56Z',
'InvestmentRoundDateTo' => '2023-11-07T05:31:56Z',
'InvestmentLatestRoundType' => true,
'MinDealroom' => 123,
'MaxDealroom' => 123,
'IncludeUnknownDealroom' => true,
'DealroomRoundType' => [
'<string>'
],
'DealroomRoundDateFrom' => '2023-11-07T05:31:56Z',
'DealroomRoundDateTo' => '2023-11-07T05:31:56Z',
'DealroomLatestRoundType' => true,
'ExcludeOutliers' => true,
'RemoveSubsidiaryCompanies' => true,
'CompanyStatus' => '<string>',
'CompanyStatusList' => [
'<string>'
],
'ViewOutliers' => true,
'ExcludeForeignCompanies' => true,
'OECDScaleup' => true,
'IsSpinOut' => true,
'HasLightcastData' => true,
'HasProfilesData' => true,
'SelectedLOTCodes' => [
'<string>'
],
'SelectedSOCCodes' => [
'<string>'
],
'JobPostingsFromDate' => '2023-11-07T05:31:56Z',
'JobPostingsToDate' => '2023-11-07T05:31:56Z',
'ReturnCount' => 123,
'Skip' => 123,
'Cutoff' => 123,
'ContainsKeyword' => '<string>',
'DoesNotContainKeyword' => '<string>',
'CompanyName' => '<string>',
'OrderBy' => '<string>',
'Order' => '<string>',
'DownloadFormat' => '<string>',
'DownloadFields' => [
'<string>'
],
'OnlyCompaniesWithWebsites' => true,
'OnlyCompaniesWithRegisteredAddressWithinFilterLocation' => true,
'OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation' => true,
'CalculateInsightsBasedOnlyOnRegisteredAddresses' => true,
'UserCICs' => [
'<string>'
],
'SelectedRTICs' => [
'<string>'
],
'SelectedSICs' => [
'<string>'
],
'SelectedRSICs' => [
'<string>'
],
'SelectedISCodes' => [
'<string>'
],
'SelectedExportCodes' => [
'<string>'
],
'TradeFromDate' => '2023-11-07T05:31:56Z',
'TradeToDate' => '2023-11-07T05:31:56Z',
'SelectedImportCodes' => [
'<string>'
],
'SelectedSICHLUs' => [
'<string>'
],
'SelectedCategories' => [
'<string>'
],
'SelectedCities' => [
'<string>'
],
'SelectedLANames' => [
'<string>'
],
'SelectedLACodes' => [
'<string>'
],
'SelectedCountriesOfOrigin' => [
'<string>'
],
'SelectedITL1Regions' => [
'<string>'
],
'SelectedITL2Regions' => [
'<string>'
],
'SelectedUKConstituencies' => [
'<string>'
],
'SelectedUltimateParentNations' => [
'<string>'
],
'SelectedStrategicAuthorityCodes' => [
'<string>'
],
'SelectedStrategicAuthorityNames' => [
'<string>'
],
'SelectedCompanySizes' => [
'<string>'
],
'SelectedWebsiteMatchConfidence' => 123,
'NotKnownToBeForeign' => true,
'KnownToBeForeign' => true,
'ESTEMPLOYEES_MAX' => 123,
'ESTEMPLOYEES_MIN' => 123,
'ESTTURNOVER_MAX' => 123,
'ESTTURNOVER_MIN' => 123,
'EMPLOYEES_MIN' => 123,
'EMPLOYEES_MAX' => 123,
'TURN_MIN' => 123,
'TURN_MAX' => 123,
'PTP_MIN' => 123,
'PTP_MAX' => 123,
'PAT_MIN' => 123,
'PAT_MAX' => 123,
'CASH_MIN' => 123,
'CASH_MAX' => 123,
'TCA_MIN' => 123,
'TCA_MAX' => 123,
'TA_MIN' => 123,
'TA_MAX' => 123,
'TL_MIN' => 123,
'TL_MAX' => 123,
'SF_MIN' => 123,
'SF_MAX' => 123,
'NA_MIN' => 123,
'NA_MAX' => 123,
'NW_MIN' => 123,
'NW_MAX' => 123,
'EXPORT_MIN' => 123,
'EXPORT_MAX' => 123,
'EBITDA_MIN' => 123,
'EBITDA_MAX' => 123,
'Innovation_MIN' => 123,
'InnovateUKFunding_MIN' => 123,
'InnovateUKFunding_MAX' => 123,
'OnlyManufacturingCompanies' => true,
'OnlyESGCompanies' => true,
'IsLikelyDistinctBrand' => true,
'SearchPostcode' => '<string>',
'SearchPostcodeRadius' => 123,
'SelectedPostcodeOutcodes' => [
'<string>'
],
'InstantSearchString' => '<string>',
'MinPoints' => 123,
'MinClusterSize' => 123,
'ClusterCount' => 123,
'OutlierPercentage' => 123,
'ClusteringMethod' => '<string>',
'TrimClustersBelowPercentage' => '<string>',
'ChangelogStartDate' => '2023-11-07T05:31:56Z',
'UseSemanticSearch' => true,
'RTICsToExclude' => [
'<string>'
],
'IS8CodesToExclude' => [
'<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://product-api.thedatacity.com/api/v2/companies"
payload := strings.NewReader("{\n \"rtics\": [\n \"<string>\"\n ],\n \"cics\": [\n \"<string>\"\n ],\n \"CompanyNumbers\": [\n \"<string>\"\n ],\n \"CompanyNumberSetId\": \"<string>\",\n \"AllowLargeAnalysis\": true,\n \"PreFilter\": {},\n \"PreFilterType\": \"<string>\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"Yes\": [\n \"<string>\"\n ],\n \"No\": [\n \"<string>\"\n ],\n \"InsightsFlag\": true,\n \"CustomGeographyGeoJSON\": \"<string>\",\n \"CustomGeographyWKT\": \"<string>\",\n \"ReturnCompanyIDsOnly\": true,\n \"ReturnBasicCompanyDetailsOnly\": true,\n \"NumberOfFolds\": 123,\n \"AllWomenLedDirected\": true,\n \"MajorityWomenLedDirected\": true,\n \"MixedLedDirected\": true,\n \"MajorityMenLedDirected\": true,\n \"AllMenLedDirected\": true,\n \"UncertainDirected\": true,\n \"AllWomenLedFounded\": true,\n \"MajorityWomenLedFounded\": true,\n \"MixedLedFounded\": true,\n \"MajorityMenLedFounded\": true,\n \"AllMenLedFounded\": true,\n \"UncertainFounded\": true,\n \"HasExported\": true,\n \"HasImported\": true,\n \"MaxGrowthRate\": 123,\n \"MinGrowthRate\": 123,\n \"ManuallyInclude\": [\n \"<string>\"\n ],\n \"ManuallyExclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyInclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyExclude\": [\n \"<string>\"\n ],\n \"FieldEditsSource\": [\n \"<string>\"\n ],\n \"MinInvestment\": 123,\n \"MaxInvestment\": 123,\n \"IncludeUnknownInvestment\": true,\n \"InvestmentRoundType\": [\n \"<string>\"\n ],\n \"InvestmentRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"InvestmentRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"InvestmentLatestRoundType\": true,\n \"MinDealroom\": 123,\n \"MaxDealroom\": 123,\n \"IncludeUnknownDealroom\": true,\n \"DealroomRoundType\": [\n \"<string>\"\n ],\n \"DealroomRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"DealroomRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"DealroomLatestRoundType\": true,\n \"ExcludeOutliers\": true,\n \"RemoveSubsidiaryCompanies\": true,\n \"CompanyStatus\": \"<string>\",\n \"CompanyStatusList\": [\n \"<string>\"\n ],\n \"ViewOutliers\": true,\n \"ExcludeForeignCompanies\": true,\n \"OECDScaleup\": true,\n \"IsSpinOut\": true,\n \"HasLightcastData\": true,\n \"HasProfilesData\": true,\n \"SelectedLOTCodes\": [\n \"<string>\"\n ],\n \"SelectedSOCCodes\": [\n \"<string>\"\n ],\n \"JobPostingsFromDate\": \"2023-11-07T05:31:56Z\",\n \"JobPostingsToDate\": \"2023-11-07T05:31:56Z\",\n \"ReturnCount\": 123,\n \"Skip\": 123,\n \"Cutoff\": 123,\n \"ContainsKeyword\": \"<string>\",\n \"DoesNotContainKeyword\": \"<string>\",\n \"CompanyName\": \"<string>\",\n \"OrderBy\": \"<string>\",\n \"Order\": \"<string>\",\n \"DownloadFormat\": \"<string>\",\n \"DownloadFields\": [\n \"<string>\"\n ],\n \"OnlyCompaniesWithWebsites\": true,\n \"OnlyCompaniesWithRegisteredAddressWithinFilterLocation\": true,\n \"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation\": true,\n \"CalculateInsightsBasedOnlyOnRegisteredAddresses\": true,\n \"UserCICs\": [\n \"<string>\"\n ],\n \"SelectedRTICs\": [\n \"<string>\"\n ],\n \"SelectedSICs\": [\n \"<string>\"\n ],\n \"SelectedRSICs\": [\n \"<string>\"\n ],\n \"SelectedISCodes\": [\n \"<string>\"\n ],\n \"SelectedExportCodes\": [\n \"<string>\"\n ],\n \"TradeFromDate\": \"2023-11-07T05:31:56Z\",\n \"TradeToDate\": \"2023-11-07T05:31:56Z\",\n \"SelectedImportCodes\": [\n \"<string>\"\n ],\n \"SelectedSICHLUs\": [\n \"<string>\"\n ],\n \"SelectedCategories\": [\n \"<string>\"\n ],\n \"SelectedCities\": [\n \"<string>\"\n ],\n \"SelectedLANames\": [\n \"<string>\"\n ],\n \"SelectedLACodes\": [\n \"<string>\"\n ],\n \"SelectedCountriesOfOrigin\": [\n \"<string>\"\n ],\n \"SelectedITL1Regions\": [\n \"<string>\"\n ],\n \"SelectedITL2Regions\": [\n \"<string>\"\n ],\n \"SelectedUKConstituencies\": [\n \"<string>\"\n ],\n \"SelectedUltimateParentNations\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityCodes\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityNames\": [\n \"<string>\"\n ],\n \"SelectedCompanySizes\": [\n \"<string>\"\n ],\n \"SelectedWebsiteMatchConfidence\": 123,\n \"NotKnownToBeForeign\": true,\n \"KnownToBeForeign\": true,\n \"ESTEMPLOYEES_MAX\": 123,\n \"ESTEMPLOYEES_MIN\": 123,\n \"ESTTURNOVER_MAX\": 123,\n \"ESTTURNOVER_MIN\": 123,\n \"EMPLOYEES_MIN\": 123,\n \"EMPLOYEES_MAX\": 123,\n \"TURN_MIN\": 123,\n \"TURN_MAX\": 123,\n \"PTP_MIN\": 123,\n \"PTP_MAX\": 123,\n \"PAT_MIN\": 123,\n \"PAT_MAX\": 123,\n \"CASH_MIN\": 123,\n \"CASH_MAX\": 123,\n \"TCA_MIN\": 123,\n \"TCA_MAX\": 123,\n \"TA_MIN\": 123,\n \"TA_MAX\": 123,\n \"TL_MIN\": 123,\n \"TL_MAX\": 123,\n \"SF_MIN\": 123,\n \"SF_MAX\": 123,\n \"NA_MIN\": 123,\n \"NA_MAX\": 123,\n \"NW_MIN\": 123,\n \"NW_MAX\": 123,\n \"EXPORT_MIN\": 123,\n \"EXPORT_MAX\": 123,\n \"EBITDA_MIN\": 123,\n \"EBITDA_MAX\": 123,\n \"Innovation_MIN\": 123,\n \"InnovateUKFunding_MIN\": 123,\n \"InnovateUKFunding_MAX\": 123,\n \"OnlyManufacturingCompanies\": true,\n \"OnlyESGCompanies\": true,\n \"IsLikelyDistinctBrand\": true,\n \"SearchPostcode\": \"<string>\",\n \"SearchPostcodeRadius\": 123,\n \"SelectedPostcodeOutcodes\": [\n \"<string>\"\n ],\n \"InstantSearchString\": \"<string>\",\n \"MinPoints\": 123,\n \"MinClusterSize\": 123,\n \"ClusterCount\": 123,\n \"OutlierPercentage\": 123,\n \"ClusteringMethod\": \"<string>\",\n \"TrimClustersBelowPercentage\": \"<string>\",\n \"ChangelogStartDate\": \"2023-11-07T05:31:56Z\",\n \"UseSemanticSearch\": true,\n \"RTICsToExclude\": [\n \"<string>\"\n ],\n \"IS8CodesToExclude\": [\n \"<string>\"\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://product-api.thedatacity.com/api/v2/companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rtics\": [\n \"<string>\"\n ],\n \"cics\": [\n \"<string>\"\n ],\n \"CompanyNumbers\": [\n \"<string>\"\n ],\n \"CompanyNumberSetId\": \"<string>\",\n \"AllowLargeAnalysis\": true,\n \"PreFilter\": {},\n \"PreFilterType\": \"<string>\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"Yes\": [\n \"<string>\"\n ],\n \"No\": [\n \"<string>\"\n ],\n \"InsightsFlag\": true,\n \"CustomGeographyGeoJSON\": \"<string>\",\n \"CustomGeographyWKT\": \"<string>\",\n \"ReturnCompanyIDsOnly\": true,\n \"ReturnBasicCompanyDetailsOnly\": true,\n \"NumberOfFolds\": 123,\n \"AllWomenLedDirected\": true,\n \"MajorityWomenLedDirected\": true,\n \"MixedLedDirected\": true,\n \"MajorityMenLedDirected\": true,\n \"AllMenLedDirected\": true,\n \"UncertainDirected\": true,\n \"AllWomenLedFounded\": true,\n \"MajorityWomenLedFounded\": true,\n \"MixedLedFounded\": true,\n \"MajorityMenLedFounded\": true,\n \"AllMenLedFounded\": true,\n \"UncertainFounded\": true,\n \"HasExported\": true,\n \"HasImported\": true,\n \"MaxGrowthRate\": 123,\n \"MinGrowthRate\": 123,\n \"ManuallyInclude\": [\n \"<string>\"\n ],\n \"ManuallyExclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyInclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyExclude\": [\n \"<string>\"\n ],\n \"FieldEditsSource\": [\n \"<string>\"\n ],\n \"MinInvestment\": 123,\n \"MaxInvestment\": 123,\n \"IncludeUnknownInvestment\": true,\n \"InvestmentRoundType\": [\n \"<string>\"\n ],\n \"InvestmentRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"InvestmentRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"InvestmentLatestRoundType\": true,\n \"MinDealroom\": 123,\n \"MaxDealroom\": 123,\n \"IncludeUnknownDealroom\": true,\n \"DealroomRoundType\": [\n \"<string>\"\n ],\n \"DealroomRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"DealroomRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"DealroomLatestRoundType\": true,\n \"ExcludeOutliers\": true,\n \"RemoveSubsidiaryCompanies\": true,\n \"CompanyStatus\": \"<string>\",\n \"CompanyStatusList\": [\n \"<string>\"\n ],\n \"ViewOutliers\": true,\n \"ExcludeForeignCompanies\": true,\n \"OECDScaleup\": true,\n \"IsSpinOut\": true,\n \"HasLightcastData\": true,\n \"HasProfilesData\": true,\n \"SelectedLOTCodes\": [\n \"<string>\"\n ],\n \"SelectedSOCCodes\": [\n \"<string>\"\n ],\n \"JobPostingsFromDate\": \"2023-11-07T05:31:56Z\",\n \"JobPostingsToDate\": \"2023-11-07T05:31:56Z\",\n \"ReturnCount\": 123,\n \"Skip\": 123,\n \"Cutoff\": 123,\n \"ContainsKeyword\": \"<string>\",\n \"DoesNotContainKeyword\": \"<string>\",\n \"CompanyName\": \"<string>\",\n \"OrderBy\": \"<string>\",\n \"Order\": \"<string>\",\n \"DownloadFormat\": \"<string>\",\n \"DownloadFields\": [\n \"<string>\"\n ],\n \"OnlyCompaniesWithWebsites\": true,\n \"OnlyCompaniesWithRegisteredAddressWithinFilterLocation\": true,\n \"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation\": true,\n \"CalculateInsightsBasedOnlyOnRegisteredAddresses\": true,\n \"UserCICs\": [\n \"<string>\"\n ],\n \"SelectedRTICs\": [\n \"<string>\"\n ],\n \"SelectedSICs\": [\n \"<string>\"\n ],\n \"SelectedRSICs\": [\n \"<string>\"\n ],\n \"SelectedISCodes\": [\n \"<string>\"\n ],\n \"SelectedExportCodes\": [\n \"<string>\"\n ],\n \"TradeFromDate\": \"2023-11-07T05:31:56Z\",\n \"TradeToDate\": \"2023-11-07T05:31:56Z\",\n \"SelectedImportCodes\": [\n \"<string>\"\n ],\n \"SelectedSICHLUs\": [\n \"<string>\"\n ],\n \"SelectedCategories\": [\n \"<string>\"\n ],\n \"SelectedCities\": [\n \"<string>\"\n ],\n \"SelectedLANames\": [\n \"<string>\"\n ],\n \"SelectedLACodes\": [\n \"<string>\"\n ],\n \"SelectedCountriesOfOrigin\": [\n \"<string>\"\n ],\n \"SelectedITL1Regions\": [\n \"<string>\"\n ],\n \"SelectedITL2Regions\": [\n \"<string>\"\n ],\n \"SelectedUKConstituencies\": [\n \"<string>\"\n ],\n \"SelectedUltimateParentNations\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityCodes\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityNames\": [\n \"<string>\"\n ],\n \"SelectedCompanySizes\": [\n \"<string>\"\n ],\n \"SelectedWebsiteMatchConfidence\": 123,\n \"NotKnownToBeForeign\": true,\n \"KnownToBeForeign\": true,\n \"ESTEMPLOYEES_MAX\": 123,\n \"ESTEMPLOYEES_MIN\": 123,\n \"ESTTURNOVER_MAX\": 123,\n \"ESTTURNOVER_MIN\": 123,\n \"EMPLOYEES_MIN\": 123,\n \"EMPLOYEES_MAX\": 123,\n \"TURN_MIN\": 123,\n \"TURN_MAX\": 123,\n \"PTP_MIN\": 123,\n \"PTP_MAX\": 123,\n \"PAT_MIN\": 123,\n \"PAT_MAX\": 123,\n \"CASH_MIN\": 123,\n \"CASH_MAX\": 123,\n \"TCA_MIN\": 123,\n \"TCA_MAX\": 123,\n \"TA_MIN\": 123,\n \"TA_MAX\": 123,\n \"TL_MIN\": 123,\n \"TL_MAX\": 123,\n \"SF_MIN\": 123,\n \"SF_MAX\": 123,\n \"NA_MIN\": 123,\n \"NA_MAX\": 123,\n \"NW_MIN\": 123,\n \"NW_MAX\": 123,\n \"EXPORT_MIN\": 123,\n \"EXPORT_MAX\": 123,\n \"EBITDA_MIN\": 123,\n \"EBITDA_MAX\": 123,\n \"Innovation_MIN\": 123,\n \"InnovateUKFunding_MIN\": 123,\n \"InnovateUKFunding_MAX\": 123,\n \"OnlyManufacturingCompanies\": true,\n \"OnlyESGCompanies\": true,\n \"IsLikelyDistinctBrand\": true,\n \"SearchPostcode\": \"<string>\",\n \"SearchPostcodeRadius\": 123,\n \"SelectedPostcodeOutcodes\": [\n \"<string>\"\n ],\n \"InstantSearchString\": \"<string>\",\n \"MinPoints\": 123,\n \"MinClusterSize\": 123,\n \"ClusterCount\": 123,\n \"OutlierPercentage\": 123,\n \"ClusteringMethod\": \"<string>\",\n \"TrimClustersBelowPercentage\": \"<string>\",\n \"ChangelogStartDate\": \"2023-11-07T05:31:56Z\",\n \"UseSemanticSearch\": true,\n \"RTICsToExclude\": [\n \"<string>\"\n ],\n \"IS8CodesToExclude\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://product-api.thedatacity.com/api/v2/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 \"rtics\": [\n \"<string>\"\n ],\n \"cics\": [\n \"<string>\"\n ],\n \"CompanyNumbers\": [\n \"<string>\"\n ],\n \"CompanyNumberSetId\": \"<string>\",\n \"AllowLargeAnalysis\": true,\n \"PreFilter\": {},\n \"PreFilterType\": \"<string>\",\n \"IncorporationDateFrom\": \"2023-12-25\",\n \"IncorporationDateTo\": \"2023-12-25\",\n \"Yes\": [\n \"<string>\"\n ],\n \"No\": [\n \"<string>\"\n ],\n \"InsightsFlag\": true,\n \"CustomGeographyGeoJSON\": \"<string>\",\n \"CustomGeographyWKT\": \"<string>\",\n \"ReturnCompanyIDsOnly\": true,\n \"ReturnBasicCompanyDetailsOnly\": true,\n \"NumberOfFolds\": 123,\n \"AllWomenLedDirected\": true,\n \"MajorityWomenLedDirected\": true,\n \"MixedLedDirected\": true,\n \"MajorityMenLedDirected\": true,\n \"AllMenLedDirected\": true,\n \"UncertainDirected\": true,\n \"AllWomenLedFounded\": true,\n \"MajorityWomenLedFounded\": true,\n \"MixedLedFounded\": true,\n \"MajorityMenLedFounded\": true,\n \"AllMenLedFounded\": true,\n \"UncertainFounded\": true,\n \"HasExported\": true,\n \"HasImported\": true,\n \"MaxGrowthRate\": 123,\n \"MinGrowthRate\": 123,\n \"ManuallyInclude\": [\n \"<string>\"\n ],\n \"ManuallyExclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyInclude\": [\n \"<string>\"\n ],\n \"ExploreManuallyExclude\": [\n \"<string>\"\n ],\n \"FieldEditsSource\": [\n \"<string>\"\n ],\n \"MinInvestment\": 123,\n \"MaxInvestment\": 123,\n \"IncludeUnknownInvestment\": true,\n \"InvestmentRoundType\": [\n \"<string>\"\n ],\n \"InvestmentRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"InvestmentRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"InvestmentLatestRoundType\": true,\n \"MinDealroom\": 123,\n \"MaxDealroom\": 123,\n \"IncludeUnknownDealroom\": true,\n \"DealroomRoundType\": [\n \"<string>\"\n ],\n \"DealroomRoundDateFrom\": \"2023-11-07T05:31:56Z\",\n \"DealroomRoundDateTo\": \"2023-11-07T05:31:56Z\",\n \"DealroomLatestRoundType\": true,\n \"ExcludeOutliers\": true,\n \"RemoveSubsidiaryCompanies\": true,\n \"CompanyStatus\": \"<string>\",\n \"CompanyStatusList\": [\n \"<string>\"\n ],\n \"ViewOutliers\": true,\n \"ExcludeForeignCompanies\": true,\n \"OECDScaleup\": true,\n \"IsSpinOut\": true,\n \"HasLightcastData\": true,\n \"HasProfilesData\": true,\n \"SelectedLOTCodes\": [\n \"<string>\"\n ],\n \"SelectedSOCCodes\": [\n \"<string>\"\n ],\n \"JobPostingsFromDate\": \"2023-11-07T05:31:56Z\",\n \"JobPostingsToDate\": \"2023-11-07T05:31:56Z\",\n \"ReturnCount\": 123,\n \"Skip\": 123,\n \"Cutoff\": 123,\n \"ContainsKeyword\": \"<string>\",\n \"DoesNotContainKeyword\": \"<string>\",\n \"CompanyName\": \"<string>\",\n \"OrderBy\": \"<string>\",\n \"Order\": \"<string>\",\n \"DownloadFormat\": \"<string>\",\n \"DownloadFields\": [\n \"<string>\"\n ],\n \"OnlyCompaniesWithWebsites\": true,\n \"OnlyCompaniesWithRegisteredAddressWithinFilterLocation\": true,\n \"OnlyCompaniesWithoutRegisteredAddressWithinFilterLocation\": true,\n \"CalculateInsightsBasedOnlyOnRegisteredAddresses\": true,\n \"UserCICs\": [\n \"<string>\"\n ],\n \"SelectedRTICs\": [\n \"<string>\"\n ],\n \"SelectedSICs\": [\n \"<string>\"\n ],\n \"SelectedRSICs\": [\n \"<string>\"\n ],\n \"SelectedISCodes\": [\n \"<string>\"\n ],\n \"SelectedExportCodes\": [\n \"<string>\"\n ],\n \"TradeFromDate\": \"2023-11-07T05:31:56Z\",\n \"TradeToDate\": \"2023-11-07T05:31:56Z\",\n \"SelectedImportCodes\": [\n \"<string>\"\n ],\n \"SelectedSICHLUs\": [\n \"<string>\"\n ],\n \"SelectedCategories\": [\n \"<string>\"\n ],\n \"SelectedCities\": [\n \"<string>\"\n ],\n \"SelectedLANames\": [\n \"<string>\"\n ],\n \"SelectedLACodes\": [\n \"<string>\"\n ],\n \"SelectedCountriesOfOrigin\": [\n \"<string>\"\n ],\n \"SelectedITL1Regions\": [\n \"<string>\"\n ],\n \"SelectedITL2Regions\": [\n \"<string>\"\n ],\n \"SelectedUKConstituencies\": [\n \"<string>\"\n ],\n \"SelectedUltimateParentNations\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityCodes\": [\n \"<string>\"\n ],\n \"SelectedStrategicAuthorityNames\": [\n \"<string>\"\n ],\n \"SelectedCompanySizes\": [\n \"<string>\"\n ],\n \"SelectedWebsiteMatchConfidence\": 123,\n \"NotKnownToBeForeign\": true,\n \"KnownToBeForeign\": true,\n \"ESTEMPLOYEES_MAX\": 123,\n \"ESTEMPLOYEES_MIN\": 123,\n \"ESTTURNOVER_MAX\": 123,\n \"ESTTURNOVER_MIN\": 123,\n \"EMPLOYEES_MIN\": 123,\n \"EMPLOYEES_MAX\": 123,\n \"TURN_MIN\": 123,\n \"TURN_MAX\": 123,\n \"PTP_MIN\": 123,\n \"PTP_MAX\": 123,\n \"PAT_MIN\": 123,\n \"PAT_MAX\": 123,\n \"CASH_MIN\": 123,\n \"CASH_MAX\": 123,\n \"TCA_MIN\": 123,\n \"TCA_MAX\": 123,\n \"TA_MIN\": 123,\n \"TA_MAX\": 123,\n \"TL_MIN\": 123,\n \"TL_MAX\": 123,\n \"SF_MIN\": 123,\n \"SF_MAX\": 123,\n \"NA_MIN\": 123,\n \"NA_MAX\": 123,\n \"NW_MIN\": 123,\n \"NW_MAX\": 123,\n \"EXPORT_MIN\": 123,\n \"EXPORT_MAX\": 123,\n \"EBITDA_MIN\": 123,\n \"EBITDA_MAX\": 123,\n \"Innovation_MIN\": 123,\n \"InnovateUKFunding_MIN\": 123,\n \"InnovateUKFunding_MAX\": 123,\n \"OnlyManufacturingCompanies\": true,\n \"OnlyESGCompanies\": true,\n \"IsLikelyDistinctBrand\": true,\n \"SearchPostcode\": \"<string>\",\n \"SearchPostcodeRadius\": 123,\n \"SelectedPostcodeOutcodes\": [\n \"<string>\"\n ],\n \"InstantSearchString\": \"<string>\",\n \"MinPoints\": 123,\n \"MinClusterSize\": 123,\n \"ClusterCount\": 123,\n \"OutlierPercentage\": 123,\n \"ClusteringMethod\": \"<string>\",\n \"TrimClustersBelowPercentage\": \"<string>\",\n \"ChangelogStartDate\": \"2023-11-07T05:31:56Z\",\n \"UseSemanticSearch\": true,\n \"RTICsToExclude\": [\n \"<string>\"\n ],\n \"IS8CodesToExclude\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"companies": [
{
"AccountsOverdueByMoreThanAYear": true,
"BestEstimateEBITDA": 123,
"BestEstimateEmployees": 123,
"BestEstimateTurnover": 123,
"BestEstimateUKEmployees": 123,
"Bluesky": "<string>",
"CICs": [
{}
],
"CompanyCategory": "<string>",
"CompanyDescription": "<string>",
"CompanyExports": [
{}
],
"CompanyFinancials_CreditSafe": [
{
"ACCOUNTANT_NAME": "<string>",
"ACCOUNTS_FORMAT": "<string>",
"AMORTISATION_OF_INTANGIBLES": 123,
"AUDITORS": "<string>",
"BANK_OVERDRAFT": 123,
"CASH": 123,
"CONSOLIDATED_ACS": true,
"CREDITORS": 123,
"CURRENCY": "<string>",
"DEBTORS": 123,
"DEBTORS_DUE_AFTER_ONE_YEAR": 123,
"DECREASE_OR_INCREASE_IN_CASH": 123,
"DEPRECIATION_OF_TANGIBLES": 123,
"EBITDA": 123,
"EMPLOYEES_ANOMALOUS": true,
"EMPLOYEES_ANOMALOUS_PROBABILITY": 123,
"EXPORT": 123,
"GROUP_DEBTORS": 123,
"LIKELY_AGENCY": true,
"LIKELY_AGENCY_PROBABILITY": 123,
"MADE_FROM_DATE": "2023-11-07T05:31:56Z",
"MADE_UPTO_DATE": "2023-11-07T05:31:56Z",
"NET_ASSETS": 123,
"NET_WORTH": 123,
"NUMBER_OF_EMPLOYEES": 123,
"NUM_OF_MONTHS": 123,
"OPERATING_PROFIT": 123,
"PRE_TAX_PROFIT": 123,
"PROFIT_AFTER_TAX": 123,
"SHAREHOLDER_FUNDS": 123,
"TOTAL_ASSETS": 123,
"TOTAL_CURRENT_ASSETS": 123,
"TOTAL_CURRENT_LIABILITIES": 123,
"TOTAL_LIABILITIES": 123,
"TRADE_DEBTORS": 123,
"TURNOVER": 123,
"TURNOVER_ANOMALOUS": true,
"TURNOVER_ANOMALOUS_PROBABILITY": 123,
"WAGES_AND_SALARIES": 123,
"YEAR": 123
}
],
"CompanyGrowthTrends": {
"BestEstimateCurrentEmployees": 123,
"BestEstimateCurrentTurnover": 123,
"BestEstimateEmployeeGrowthPercentagePerYear": 123,
"BestEstimateGrowthPercentagePerYear": 123,
"BestEstimateTurnoverGrowthPercentagePerYear": 123,
"BestEstimatedTurnoverToEmployeeRatio": 123,
"CompanyAgeInDays": 123,
"CompanySizeEstimate": "<string>",
"EmploymentEstimates": [
{
"Estimated": 123,
"Measure": 123,
"Year": 123
}
],
"OECDScaleup": true,
"SICs": [
"<string>"
],
"TurnoverEstimates": [
{
"Estimated": 123,
"Measure": 123,
"Year": 123
}
]
},
"CompanyImports": [
{}
],
"CompanyJobPostings": [
{
"MedianSalary": 123,
"Postings": 123,
"SOC4Code": "<string>",
"SOC4Name": "<string>"
}
],
"CompanyJobPostingsByLOTCodeOverTime": [
{
"AverageMedianSalary": 123,
"Count": 123,
"LOTCode": "<string>",
"Timestamp": 123
}
],
"CompanyJobPostingsByLot": [
{
"LotCode": "<string>",
"LotName": "<string>",
"MedianSalary": 123,
"Postings": 123
}
],
"CompanyJobPostingsBySOC4CodeOverTime": [
{
"AverageMedianSalary": 123,
"Count": 123,
"SOC4Code": "<string>",
"Timestamp": 123
}
],
"CompanyJobPostingsBySkill": [
{
"MedianPostingDuration": 123,
"SkillName": "<string>",
"UniquePostings": 123
}
],
"CompanyJobPostingsOverTime": {
"CompanyJobPostingsOverTimeByLot": [
{
"Count": 123,
"Timestamp": 123
}
],
"CompanyJobPostingsOverTimeBySoc4": [
{
"Count": 123,
"Timestamp": 123
}
]
},
"CompanyName": "<string>",
"CompanyNation": "<string>",
"CompanyNumber": "<string>",
"CompanyStatus": "<string>",
"ConsolidatedAccountsCompanyName": [
"<string>"
],
"ConsolidatedAccountsCompanyNumber": [
"<string>"
],
"CountryOfOrigin": "<string>",
"DealroomFunding": [
{
"CompanyId": "<string>",
"LastInvestmentDate": "2023-11-07T05:31:56Z",
"ParticipatingInvestorTypes": "<string>",
"ProviderCompanyName": "<string>",
"RoundAmount_GBP_Million": 123,
"RoundDate": "2023-11-07T05:31:56Z",
"RoundInvestorName": "<string>",
"RoundInvestorType": "<string>",
"RoundLeadInvestorName": "<string>",
"RoundType": "<string>",
"RoundVerified": 123,
"Spinout": 123,
"TotalInvestmentRaised_GBP_Million": 123
}
],
"DistinctBrandsInGroup": [
{}
],
"ESGStatementAnchors": [
{
"Anchor": "<string>",
"Domain": "<string>",
"Word": "<string>"
}
],
"ESG_RTIC": true,
"EmailAddresses": [
"<string>"
],
"EstimatedGVA": 123,
"EstimatedUKGVA": 123,
"Facebook": "<string>",
"GenderFoundedCategory": "<string>",
"GenderLedCategory": "<string>",
"HasBeenAcquired": true,
"HasIPO": true,
"HasMadeAcquisitions": true,
"HighGrowth": true,
"Homepage_domain": "<string>",
"IS8Codes": [
{
"ISCode": "<string>",
"ISCodeName": "<string>",
"ISVerticalCode": "<string>",
"ISVerticalName": "<string>"
}
],
"IncorporationDate": "2023-12-25",
"InnovateUKFunding": [
{
"ActualSpendtoDate": 123,
"ApplicationNumber": "<string>",
"AwardOffered": 123,
"CompetitionReference": "<string>",
"CompetitionTitle": "<string>",
"CompetitionYear": 123,
"EnterpriseSize": "<string>",
"IndustrialStrategyChallengeFundISCF": "<string>",
"InnovateUKProductType": "<string>",
"IsLeadParticipant": "<string>",
"ParticipantName": "<string>",
"ParticipantWithdrawnFromProject": "<string>",
"Postcode": "<string>",
"ProgrammeTitle": "<string>",
"ProjectEndDate": "2023-11-07T05:31:56Z",
"ProjectNumber": "<string>",
"ProjectStartDate": "2023-11-07T05:31:56Z",
"ProjectStatus": "<string>",
"ProjectTitle": "<string>",
"PublicDescription": "<string>",
"Sector": "<string>",
"TotalCosts": 123
}
],
"InnovationKeywords": [
"<string>"
],
"InnovationScore": 123,
"Instagram": "<string>",
"Investment": [
{
"CompanyId": "<string>",
"LastInvestmentDate": "2023-11-07T05:31:56Z",
"ParticipatingInvestorTypes": "<string>",
"ProviderCompanyName": "<string>",
"RoundAmount_GBP_Million": 123,
"RoundDate": "2023-11-07T05:31:56Z",
"RoundInvestorName": "<string>",
"RoundInvestorType": "<string>",
"RoundLeadInvestorName": "<string>",
"RoundType": "<string>",
"RoundVerified": 123,
"Spinout": 123,
"TotalInvestmentRaised_GBP_Million": 123
}
],
"IsBCorp": true,
"IsLikelyAgency": true,
"IsLikelySPV": true,
"LatestRoundAmount": 123,
"LatestRoundDate": "2023-11-07T05:31:56Z",
"LatestRoundType": "<string>",
"LatestRoundValuation": 123,
"LinkedCompanyNumbers": [
"<string>"
],
"Linkedin": "<string>",
"LocationDetails": [
{
"AssociatedAddress": "<string>",
"BestEstimateLocationEmployees": 123,
"BestEstimateLocationGVA": 123,
"BestEstimateLocationTurnover": 123,
"FoundOnWebpage": true,
"ITL1": "<string>",
"ITL1NM": "<string>",
"ITL2": "<string>",
"ITL2NM": "<string>",
"ITL3": "<string>",
"IsBlacklisted": true,
"IsOperatingAddress": true,
"IsSubsidiaryAddress": true,
"LAcode": "<string>",
"LAname": "<string>",
"LSOA": "<string>",
"Latitude": 123,
"Longitude": 123,
"MSOA": "<string>",
"OECDFUACorePlusCommuting": "<string>",
"Postcode": "<string>",
"Postcode_withspaces": "<string>",
"RegisteredPostcode": true,
"StrategicAuthorityCode": "<string>",
"StrategicAuthorityName": "<string>",
"UKConstituency": "<string>"
}
],
"ManufacturingKeywords": [
"<string>"
],
"NumberOfCurrentDirectors": 123,
"NumberOfCurrentOfficers": 123,
"OECDScaleup": true,
"Officers": [
{
"AddressLine1": "<string>",
"AddressLine2": "<string>",
"Appointedon": "2023-12-25",
"Careof": "<string>",
"Country": "<string>",
"County": "<string>",
"DOB": "2023-12-25",
"Forenames": "<string>",
"Honours": "<string>",
"Nationality": "<string>",
"Occupation": "<string>",
"PersonNumber": "<string>",
"PostTown": "<string>",
"ResignationDate": "2023-12-25",
"Role": "<string>",
"Surname": "<string>",
"Title": "<string>",
"UsualResidentialCountry": "<string>"
}
],
"ParentNation": "<string>",
"PhoneNumbers": [
"<string>"
],
"RSICs": [
{
"SIC_Code": "<string>",
"Score": 123
}
],
"RTICs": [
{}
],
"RegisteredAddress": "<string>",
"RegisteredPostcode": "<string>",
"SICHLUs": [
"<string>"
],
"SICs": [
"<string>"
],
"SectorKeywords": [
"<string>"
],
"SimilarCompanies": [
{
"CompanyOne": "<string>",
"CompanyTwo": "<string>",
"Similarity": 123
}
],
"SimilarCompositeCompanies": [
{
"CompanyOne": "<string>",
"CompanyTwo": "<string>",
"Similarity": 123
}
],
"Spinout": true,
"TonnesOfC02equivGHGPerYear": 123,
"Twitter": "<string>",
"URLMatchStats": {
"MatchedWebsite": "<string>",
"MatchedWebsiteConfidence": "<string>",
"MatchedWebsiteReasoning": [
"<string>"
],
"MatchedWebsiteScore": 123
},
"UltimateLinkedCompanyNumber": "<string>",
"UltimateParentNation": "<string>",
"UltimateUKParentCompanyNames": [
"<string>"
],
"UltimateUKParentCompanyNumbers": [
"<string>"
],
"WomenLedStats": {
"ActiveFemaleDirectors": 123,
"ActiveFemaleFounders": 123,
"ActiveMaleDirectors": 123,
"ActiveMaleFounders": 123,
"InitialFemaleFounders": 123,
"InitialMaleFounders": 123,
"TotalActiveDirectors": 123,
"TotalActiveFounders": 123,
"TotalInitialFounders": 123
},
"Youtube": "<string>",
"_360GivingFunding": [
{
"ImpactCategory": "<string>",
"Primaryissue": "<string>",
"amountAwarded": 123,
"awardDate": "2023-11-07T05:31:56Z",
"currency": "<string>",
"description": "<string>",
"funderName": "<string>",
"grantProgrammeTitle": "<string>",
"recipientName": "<string>",
"recipientURL": "<string>",
"title": "<string>"
}
]
}
],
"insights": {
"BestEstimateTotalEmployeesAttributedToLocation": 123,
"BestEstimateTotalGVAAttributedToLocation": 123,
"BestEstimateTotalTurnoverAttributedToLocation": 123,
"TopInvestorsByRoundCount": [
{}
],
"TopInvestorsByValue": [
{}
]
},
"CompanyChanges": [
{}
],
"JobPostingsBySOC4Code": [
{}
],
"JobPostingsBySOC4Name": [
{}
],
"JobPostingsByLotName": [
{}
],
"AverageAdvertisedSalaryBySOC4Code": [
{}
],
"AverageAdvertisedSalaryBySOC4Name": [
{}
],
"AverageAdvertisedSalaryByLotName": [
{}
],
"JobPostingsBySkill": [
{}
],
"AveragePostingDurationBySkill": [
{}
],
"RTICJobPostings": [
{}
],
"RTICVerticalJobPostings": [
{}
],
"CICJobPostings": [
{}
],
"CICVerticalJobPostings": [
{}
],
"CompanyJobPostingsOverTimeBySOC4": [
{}
],
"CompanyJobPostingsOverTimeByLOT": [
{}
],
"JobPostingsByCommonSkill": [
{}
],
"AveragePostingDurationByCommonSkill": [
{}
],
"JobPostingsByCertificationsSkill": [
{}
],
"AveragePostingDurationByCertificationsSkill": [
{}
],
"JobPostingsBySpecializedSkill": [
{}
],
"AveragePostingDurationBySpecializedSkill": [
{}
],
"JobPostingInsights": [
{}
],
"JobPostingInsightsLOT": [
{}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
When true, include dashboard-style insights in the filtered-companies response.
Comma-separated company fields to include per row (sparse fieldset). Unknown fields return 400 from the upstream API.
"CompanyNumber,CompanyName,BestEstimateEmployees"
Comma-separated predefined field groups (union with fields[companies]).
"identity"
Body
Composed of shared filter criteria plus extended filter fields. Query parameter insights is documented on each operation. Full field list is under Schema; this example is intentionally minimal.
Selected RTIC codes.
User CIC codes.
Inline company numbers (typically up to ~50k). Use a low returnCount for huge portfolios so the JSON response stays small — with ?insights=true, insights still aggregates the full matched set.
Use instead of CompanyNumbers when the list is too large to send inline (roughly >50k) — upload via POST /v2/company-number-sets first.
Required when using a large uploaded company number set.
Nested FiltersInPostRequestBody payload.
Product API pre-filter selector (upstream-defined).
Company numbers to explicitly include (upstream Yes list).
Company numbers to explicitly exclude (upstream No list).
Number of cross-validation or sampling folds for upstream analysis workflows.
Gender-leadership filters: one boolean per mutually-exclusive category, for directors (…Directed) and founders (…Founded). Ticking several within an axis is a union (OR); the two axes combine with AND. Replaces the pre-2026 overlapping flags (WomenLed, MenLedIncludingMixed, etc.), which are no longer accepted.
Minimum total investment, same currency/units as upstream.
Maximum total investment, same currency/units as upstream.
Whether to include companies with no investment amount.
Investment round types to match.
Obsolete alias for MinInvestment.
Obsolete alias for MaxInvestment.
Obsolete alias for IncludeUnknownInvestment.
Obsolete alias for InvestmentRoundType.
Obsolete alias for InvestmentRoundDateFrom.
Obsolete alias for InvestmentRoundDateTo.
Obsolete alias for InvestmentLatestRoundType.
Lightcast LOT (level of title) occupation codes.
SOC (Standard Occupational Classification) codes for job postings filter.
Consumed by this API gateway; not forwarded as part of the filter object.
Pagination offset (number of rows to skip).
Score or relevance threshold for ranked or similarity results (upstream-defined scale).
Same as JSON cics when sent via this gateway.
Same as JSON rtics when sent via this gateway.
UK SIC 2007 industry codes.
RSIC (Real-Time SIC) codes: UK SIC codes that correct, replace or fill missing Companies House SICs.
Industry Standard (IS) classification codes used by the product.
SIC high-level unit or grouping codes (aggregated SIC bands).
UK ITL1 (international territorial level 1) region codes.
UK ITL2 sub-region codes.
Maximum estimated employee count (modeled estimate, not only filed headcount).
Minimum estimated employee count (modeled estimate).
Maximum estimated turnover (modeled estimate).
Minimum estimated turnover (modeled estimate).
Minimum employees from filed or normalised accounts.
Maximum employees from filed or normalised accounts.
Minimum turnover (TURN): revenue / sales per filed accounts.
Maximum turnover (TURN): revenue / sales per filed accounts.
Minimum profit before tax (pre-tax profit) from filed accounts. Same currency/units as upstream.
Maximum profit before tax (pre-tax profit) from filed accounts.
Minimum profit after tax from filed accounts.
Maximum profit after tax from filed accounts.
Minimum cash or cash-like balance sheet line (filed accounts).
Maximum cash or cash-like balance sheet line (filed accounts).
Minimum total current assets (TCA).
Maximum total current assets (TCA).
Minimum total assets (TA).
Maximum total assets (TA).
Minimum total liabilities (TL).
Maximum total liabilities (TL).
Minimum shareholders funds / equity (SF).
Maximum shareholders funds / equity (SF).
Minimum net assets (NA).
Maximum net assets (NA).
Minimum net worth (NW), as defined in upstream normalised accounts.
Maximum net worth (NW), as defined in upstream normalised accounts.
Minimum export value (trade statistics field; units per upstream).
Maximum export value (trade statistics field; units per upstream).
Minimum EBITDA where available in upstream financials.
Maximum EBITDA where available in upstream financials.
Minimum innovation score or index (product-specific metric).
Minimum total Innovate UK grant funding (or equivalent normalised amount).
Maximum total Innovate UK grant funding (or equivalent normalised amount).
Industry Standard codes (IS-8 scheme) to exclude from results.
Response
Filtered companies from the product API.
Filtered / classify list response from the product API. Top-level keys use camelCase JSON (companies, insights); the ListInsights component schema describes the shape of the insights object, not its JSON key name.
Company objects (ClassifiedCompany) or plain company number strings when ReturnCompanyIDsOnly is set.
Generated from The Data City data dictionary (schema ClassifiedCompany, version 1.0). See https://docs.thedatacity.com/data-dictionary/
Show child attributes
Show child attributes
Present when the insights query parameter is true and the token supports it. Field names inside this object are PascalCase (see data dictionary / ListInsights schema).
Show child attributes
Show child attributes
Omitted without companies:changes.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.
Omitted without lightcast:read.