Batch enrich
curl --request POST \
--url https://api.companyenrich.com/companies/enrich/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domains": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domains: ['<string>']})
};
fetch('https://api.companyenrich.com/companies/enrich/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/companies/enrich/batch"
payload = { "domains": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"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"
}
]{
"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 · Enrichment
Batch enrich
Cost: 1 credit per unique domain successfully enriched
Enriches a list of companies using their domain names. Up to 50 domains can be provided in a single request.
Domains that could not be enriched return null and do not consume credits. Duplicate domains are charged only once.
We map each domain to a unique company so lookups via domain are fast and reliable. It is the preferred way to enrich a company.
Batching is recommended for larger lists of domains. It allows you to enrich multiple companies in a single request. Eliminating the need to make multiple requests to the API. Also the rate limiter would be able to handle more requests.
POST
/
companies
/
enrich
/
batch
Batch enrich
curl --request POST \
--url https://api.companyenrich.com/companies/enrich/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domains": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domains: ['<string>']})
};
fetch('https://api.companyenrich.com/companies/enrich/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/companies/enrich/batch"
payload = { "domains": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"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"
}
]{
"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
Body
application/json
Response
OK