Find similar
curl --request POST \
--url https://api.companyenrich.com/companies/similar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "<string>",
"page": 123,
"pageSize": 50,
"domains": [
"<string>"
],
"similarityWeight": 0,
"minScore": 0.5,
"exclude": {
"domains": [
"<string>"
],
"regions": [
"<string>"
],
"countries": [
"<string>"
],
"states": [
123
],
"cities": [
123
],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [
123
],
"keywords": [
"<string>"
],
"technologies": [
"<string>"
],
"fundingRounds": []
},
"query": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
},
"workforceGrowth": {
"minPercent": 123,
"maxPercent": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"require": [],
"regions": [
"<string>"
],
"countries": [
"<string>"
],
"states": [
123
],
"cities": [
123
],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [
123
],
"keywords": [
"<string>"
],
"technologies": [
"<string>"
],
"fundingRounds": []
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
domain: '<string>',
page: 123,
pageSize: 50,
domains: ['<string>'],
similarityWeight: 0,
minScore: 0.5,
exclude: {
domains: ['<string>'],
regions: ['<string>'],
countries: ['<string>'],
states: [123],
cities: [123],
type: [],
category: [],
employees: [],
reportedEmployees: [],
revenue: [],
naicsCode: [123],
keywords: ['<string>'],
technologies: ['<string>'],
fundingRounds: []
},
query: '<string>',
foundedYear: {min: 123, max: 123},
fundingAmount: {min: 123, max: 123},
fundingYear: {min: 123, max: 123},
workforceGrowth: {minPercent: 123, maxPercent: 123},
workforceSize: [{min: 123, max: 123}],
require: [],
regions: ['<string>'],
countries: ['<string>'],
states: [123],
cities: [123],
type: [],
category: [],
employees: [],
reportedEmployees: [],
revenue: [],
naicsCode: [123],
keywords: ['<string>'],
technologies: ['<string>'],
fundingRounds: []
})
};
fetch('https://api.companyenrich.com/companies/similar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/companies/similar"
payload = {
"domain": "<string>",
"page": 123,
"pageSize": 50,
"domains": ["<string>"],
"similarityWeight": 0,
"minScore": 0.5,
"exclude": {
"domains": ["<string>"],
"regions": ["<string>"],
"countries": ["<string>"],
"states": [123],
"cities": [123],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [123],
"keywords": ["<string>"],
"technologies": ["<string>"],
"fundingRounds": []
},
"query": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
},
"workforceGrowth": {
"minPercent": 123,
"maxPercent": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"require": [],
"regions": ["<string>"],
"countries": ["<string>"],
"states": [123],
"cities": [123],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [123],
"keywords": ["<string>"],
"technologies": ["<string>"],
"fundingRounds": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"domain": "<string>",
"website": "<string>",
"type": "unknown",
"legalName": "<string>",
"industry": "<string>",
"industries": [
"<string>"
],
"categories": [
"b2b"
],
"employees": "1-10",
"reported_employees": "1-10",
"revenue": "under-1m",
"description": "<string>",
"keywords": [
"<string>"
],
"technologies": [
"<string>"
],
"subsidiaries": [
"<string>"
],
"founded_year": 123,
"naics_codes": [
"<string>"
],
"location": {
"country": {
"code": "<string>",
"name": "<string>",
"latitude": 123,
"longitude": 123
},
"state": {
"id": 123,
"name": "<string>",
"code": "<string>",
"latitude": 123,
"longitude": 123
},
"city": {
"id": 123,
"name": "<string>",
"latitude": 123,
"longitude": 123
},
"address": "<string>",
"postal_code": "<string>",
"phone": "<string>"
},
"financial": {
"stock_symbol": "<string>",
"stock_exchange": "<string>",
"total_funding": 123,
"funding_stage": "<string>",
"funding_date": "2023-11-07T05:31:56Z",
"funding": [
{
"date": "2023-11-07T05:31:56Z",
"amount": "<string>",
"type": "<string>",
"url": "<string>",
"from": "<string>"
}
]
},
"socials": {
"linkedin_url": "<string>",
"linkedin_id": "<string>",
"twitter_url": "<string>",
"facebook_url": "<string>",
"instagram_url": "<string>",
"angellist_url": "<string>",
"crunchbase_url": "<string>",
"youtube_url": "<string>",
"github_url": "<string>",
"g2_url": "<string>"
},
"page_rank": 123,
"workforce": {
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"department_headcount": {
"c_suite": 123,
"product_management": 123,
"engineering_technical": 123,
"design": 123,
"education": 123,
"finance": 123,
"human_resources": 123,
"information_technology": 123,
"legal": 123,
"marketing": 123,
"medical_health": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"observed_employee_count": 123,
"employee_count_range": "1-10",
"unclassified_headcount": 123,
"history": [
{
"date": "2023-12-25",
"department_headcount": {
"c_suite": 123,
"product_management": 123,
"engineering_technical": 123,
"design": 123,
"education": 123,
"finance": 123,
"human_resources": 123,
"information_technology": 123,
"legal": 123,
"marketing": 123,
"medical_health": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"observed_employee_count": 123,
"employee_count_range": "1-10",
"unclassified_headcount": 123
}
]
},
"logo_url": "<string>",
"seo_description": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"metadata": {
"scores": {}
},
"page": 123,
"totalPages": 123,
"totalItems": 123
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Company · Similar
Find similar
Cost: 5 credit per company returned. 5 credits if no results are found.
Finds similar companies to the given company by id or domain. The POST route allows specifying further filtering parameters. At most 100 companies are returned per request.
POST
/
companies
/
similar
Find similar
curl --request POST \
--url https://api.companyenrich.com/companies/similar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "<string>",
"page": 123,
"pageSize": 50,
"domains": [
"<string>"
],
"similarityWeight": 0,
"minScore": 0.5,
"exclude": {
"domains": [
"<string>"
],
"regions": [
"<string>"
],
"countries": [
"<string>"
],
"states": [
123
],
"cities": [
123
],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [
123
],
"keywords": [
"<string>"
],
"technologies": [
"<string>"
],
"fundingRounds": []
},
"query": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
},
"workforceGrowth": {
"minPercent": 123,
"maxPercent": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"require": [],
"regions": [
"<string>"
],
"countries": [
"<string>"
],
"states": [
123
],
"cities": [
123
],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [
123
],
"keywords": [
"<string>"
],
"technologies": [
"<string>"
],
"fundingRounds": []
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
domain: '<string>',
page: 123,
pageSize: 50,
domains: ['<string>'],
similarityWeight: 0,
minScore: 0.5,
exclude: {
domains: ['<string>'],
regions: ['<string>'],
countries: ['<string>'],
states: [123],
cities: [123],
type: [],
category: [],
employees: [],
reportedEmployees: [],
revenue: [],
naicsCode: [123],
keywords: ['<string>'],
technologies: ['<string>'],
fundingRounds: []
},
query: '<string>',
foundedYear: {min: 123, max: 123},
fundingAmount: {min: 123, max: 123},
fundingYear: {min: 123, max: 123},
workforceGrowth: {minPercent: 123, maxPercent: 123},
workforceSize: [{min: 123, max: 123}],
require: [],
regions: ['<string>'],
countries: ['<string>'],
states: [123],
cities: [123],
type: [],
category: [],
employees: [],
reportedEmployees: [],
revenue: [],
naicsCode: [123],
keywords: ['<string>'],
technologies: ['<string>'],
fundingRounds: []
})
};
fetch('https://api.companyenrich.com/companies/similar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/companies/similar"
payload = {
"domain": "<string>",
"page": 123,
"pageSize": 50,
"domains": ["<string>"],
"similarityWeight": 0,
"minScore": 0.5,
"exclude": {
"domains": ["<string>"],
"regions": ["<string>"],
"countries": ["<string>"],
"states": [123],
"cities": [123],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [123],
"keywords": ["<string>"],
"technologies": ["<string>"],
"fundingRounds": []
},
"query": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
},
"workforceGrowth": {
"minPercent": 123,
"maxPercent": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"require": [],
"regions": ["<string>"],
"countries": ["<string>"],
"states": [123],
"cities": [123],
"type": [],
"category": [],
"employees": [],
"reportedEmployees": [],
"revenue": [],
"naicsCode": [123],
"keywords": ["<string>"],
"technologies": ["<string>"],
"fundingRounds": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"domain": "<string>",
"website": "<string>",
"type": "unknown",
"legalName": "<string>",
"industry": "<string>",
"industries": [
"<string>"
],
"categories": [
"b2b"
],
"employees": "1-10",
"reported_employees": "1-10",
"revenue": "under-1m",
"description": "<string>",
"keywords": [
"<string>"
],
"technologies": [
"<string>"
],
"subsidiaries": [
"<string>"
],
"founded_year": 123,
"naics_codes": [
"<string>"
],
"location": {
"country": {
"code": "<string>",
"name": "<string>",
"latitude": 123,
"longitude": 123
},
"state": {
"id": 123,
"name": "<string>",
"code": "<string>",
"latitude": 123,
"longitude": 123
},
"city": {
"id": 123,
"name": "<string>",
"latitude": 123,
"longitude": 123
},
"address": "<string>",
"postal_code": "<string>",
"phone": "<string>"
},
"financial": {
"stock_symbol": "<string>",
"stock_exchange": "<string>",
"total_funding": 123,
"funding_stage": "<string>",
"funding_date": "2023-11-07T05:31:56Z",
"funding": [
{
"date": "2023-11-07T05:31:56Z",
"amount": "<string>",
"type": "<string>",
"url": "<string>",
"from": "<string>"
}
]
},
"socials": {
"linkedin_url": "<string>",
"linkedin_id": "<string>",
"twitter_url": "<string>",
"facebook_url": "<string>",
"instagram_url": "<string>",
"angellist_url": "<string>",
"crunchbase_url": "<string>",
"youtube_url": "<string>",
"github_url": "<string>",
"g2_url": "<string>"
},
"page_rank": 123,
"workforce": {
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"department_headcount": {
"c_suite": 123,
"product_management": 123,
"engineering_technical": 123,
"design": 123,
"education": 123,
"finance": 123,
"human_resources": 123,
"information_technology": 123,
"legal": 123,
"marketing": 123,
"medical_health": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"observed_employee_count": 123,
"employee_count_range": "1-10",
"unclassified_headcount": 123,
"history": [
{
"date": "2023-12-25",
"department_headcount": {
"c_suite": 123,
"product_management": 123,
"engineering_technical": 123,
"design": 123,
"education": 123,
"finance": 123,
"human_resources": 123,
"information_technology": 123,
"legal": 123,
"marketing": 123,
"medical_health": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"observed_employee_count": 123,
"employee_count_range": "1-10",
"unclassified_headcount": 123
}
]
},
"logo_url": "<string>",
"seo_description": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"metadata": {
"scores": {}
},
"page": 123,
"totalPages": 123,
"totalItems": 123
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Authorizations
Query Parameters
Whether to wait for on-demand enrichment when a seed company is not stored yet. When false, valid missing domains are scheduled for background enrichment and the request returns a 404 if any seed company is missing, so it can be retried with a stable seed set later. This only controls seed-company enrichment; preparing a similarity vector for a stored company may still require processing.
Body
application/json
Response
OK