Enrich company domains asynchronously
curl --request POST \
--url https://api.companyenrich.com/v2/companies/enrich/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domains": [
"<string>"
],
"expand": [],
"waitForEnrichment": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domains: ['<string>'], expand: [], waitForEnrichment: true})
};
fetch('https://api.companyenrich.com/v2/companies/enrich/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/enrich/bulk"
payload = {
"domains": ["<string>"],
"expand": [],
"waitForEnrichment": True
}
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",
"kind": "<string>",
"status": "pending",
"progress": {
"total": 123,
"pending": 123,
"running": 123,
"succeeded": 123,
"failed": 123,
"unknown": 123,
"cancelled": 123
},
"creditsCharged": 123,
"createdAt": "2023-11-07T05:31:56Z",
"statusUrl": "<string>",
"resultsUrl": "<string>",
"rawResultsUrl": "<string>",
"recordCount": 123,
"recordLimit": 123,
"completedAt": "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>"
}{
"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>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Company · Bulk Enrichment
Enrich company domains asynchronously
Creates one API request per input domain, preserving input order and duplicates. Requires an API key. Requests use the ordinary V2 enrichment price and requested expansions; completed results become downloadable after their charges settle. Returns 402 unless the available balance covers every domain at that price; credits are not reserved. The request body must be UTF-8 JSON of at most 10 MiB.
POST
/
v2
/
companies
/
enrich
/
bulk
Enrich company domains asynchronously
curl --request POST \
--url https://api.companyenrich.com/v2/companies/enrich/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domains": [
"<string>"
],
"expand": [],
"waitForEnrichment": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domains: ['<string>'], expand: [], waitForEnrichment: true})
};
fetch('https://api.companyenrich.com/v2/companies/enrich/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/enrich/bulk"
payload = {
"domains": ["<string>"],
"expand": [],
"waitForEnrichment": True
}
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",
"kind": "<string>",
"status": "pending",
"progress": {
"total": 123,
"pending": 123,
"running": 123,
"succeeded": 123,
"failed": 123,
"unknown": 123,
"cancelled": 123
},
"creditsCharged": 123,
"createdAt": "2023-11-07T05:31:56Z",
"statusUrl": "<string>",
"resultsUrl": "<string>",
"rawResultsUrl": "<string>",
"recordCount": 123,
"recordLimit": 123,
"completedAt": "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>"
}{
"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>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Authorizations
Body
application/json
Additional company data to include. Each requested expansion is charged per returned company, on top of the base cost:
financial: 1 creditkeywords: 1 creditnaicsCodes: 1 credittechnologies: 1 creditworkforce: 1 credit. Includes the latest 12 months of history; each earlier 12-month page fromGET /v2/companies/workforcecosts another 1 credit.
Available options:
financial, keywords, naicsCodes, technologies, workforce Response
Accepted