curl --request POST \
--url https://api.companyenrich.com/v2/companies/enrich \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"linkedinUrl": "<string>",
"linkedinId": "<string>",
"twitterUrl": "<string>",
"facebookUrl": "<string>",
"instagramUrl": "<string>",
"youtubeUrl": "<string>",
"expand": []
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
linkedinUrl: '<string>',
linkedinId: '<string>',
twitterUrl: '<string>',
facebookUrl: '<string>',
instagramUrl: '<string>',
youtubeUrl: '<string>',
expand: []
})
};
fetch('https://api.companyenrich.com/v2/companies/enrich', 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"
payload = {
"name": "<string>",
"linkedinUrl": "<string>",
"linkedinId": "<string>",
"twitterUrl": "<string>",
"facebookUrl": "<string>",
"instagramUrl": "<string>",
"youtubeUrl": "<string>",
"expand": []
}
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",
"domain": "<string>",
"website": "<string>",
"logoUrl": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"legalName": "<string>",
"description": "<string>",
"type": "private",
"foundedYear": 123,
"employees": "1-10",
"revenue": "under-1m",
"industry": "<string>",
"industries": [
"<string>"
],
"categories": [
"b2b"
],
"location": {
"country": {
"code": "<string>",
"name": "<string>"
},
"state": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"city": {
"id": 123,
"name": "<string>"
},
"address": "<string>",
"postalCode": "<string>",
"phone": "<string>"
},
"socials": {
"linkedinUrl": "<string>",
"linkedinId": "<string>",
"twitterUrl": "<string>",
"facebookUrl": "<string>",
"instagramUrl": "<string>",
"angellistUrl": "<string>",
"crunchbaseUrl": "<string>",
"youtubeUrl": "<string>",
"githubUrl": "<string>",
"g2Url": "<string>"
},
"financial": {
"stockSymbol": "<string>",
"stockExchange": "<string>",
"totalFunding": 123,
"fundingStage": "<string>",
"fundingDate": "2023-11-07T05:31:56Z",
"fundingRounds": [
{
"date": "2023-11-07T05:31:56Z",
"amount": "<string>",
"type": "<string>",
"url": "<string>",
"investors": "<string>"
}
]
},
"keywords": [
"<string>"
],
"naicsCodes": [
"<string>"
],
"technologies": [
"<string>"
],
"workforce": {
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"historyFrom": "2023-12-25",
"historyTo": "2023-12-25",
"employeeCountRange": "1-10",
"history": [
{
"date": "2023-12-25",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"employeeCountRange": "1-10"
}
],
"nextCursor": "<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>"
}Enrich a company by properties
Cost: 1 credit when a company is returned or when the properties cannot resolve a company domain. Paid expansions are charged only when returned.
Each requested expansion (financial, keywords, naicsCodes, technologies, or workforce) adds 1 credit per returned company. workforce includes the latest 12 months of history. Use its nextCursor with GET /v2/companies/workforce to retrieve each preceding 12-month page for another 1 credit. Repeating an expansion does not multiply its cost.
Resolves and enriches a company using one or more identifying properties. When several properties are provided, all of them must match. If several companies match, the highest-ranked company is used.
curl --request POST \
--url https://api.companyenrich.com/v2/companies/enrich \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"linkedinUrl": "<string>",
"linkedinId": "<string>",
"twitterUrl": "<string>",
"facebookUrl": "<string>",
"instagramUrl": "<string>",
"youtubeUrl": "<string>",
"expand": []
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
linkedinUrl: '<string>',
linkedinId: '<string>',
twitterUrl: '<string>',
facebookUrl: '<string>',
instagramUrl: '<string>',
youtubeUrl: '<string>',
expand: []
})
};
fetch('https://api.companyenrich.com/v2/companies/enrich', 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"
payload = {
"name": "<string>",
"linkedinUrl": "<string>",
"linkedinId": "<string>",
"twitterUrl": "<string>",
"facebookUrl": "<string>",
"instagramUrl": "<string>",
"youtubeUrl": "<string>",
"expand": []
}
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",
"domain": "<string>",
"website": "<string>",
"logoUrl": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"legalName": "<string>",
"description": "<string>",
"type": "private",
"foundedYear": 123,
"employees": "1-10",
"revenue": "under-1m",
"industry": "<string>",
"industries": [
"<string>"
],
"categories": [
"b2b"
],
"location": {
"country": {
"code": "<string>",
"name": "<string>"
},
"state": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"city": {
"id": 123,
"name": "<string>"
},
"address": "<string>",
"postalCode": "<string>",
"phone": "<string>"
},
"socials": {
"linkedinUrl": "<string>",
"linkedinId": "<string>",
"twitterUrl": "<string>",
"facebookUrl": "<string>",
"instagramUrl": "<string>",
"angellistUrl": "<string>",
"crunchbaseUrl": "<string>",
"youtubeUrl": "<string>",
"githubUrl": "<string>",
"g2Url": "<string>"
},
"financial": {
"stockSymbol": "<string>",
"stockExchange": "<string>",
"totalFunding": 123,
"fundingStage": "<string>",
"fundingDate": "2023-11-07T05:31:56Z",
"fundingRounds": [
{
"date": "2023-11-07T05:31:56Z",
"amount": "<string>",
"type": "<string>",
"url": "<string>",
"investors": "<string>"
}
]
},
"keywords": [
"<string>"
],
"naicsCodes": [
"<string>"
],
"technologies": [
"<string>"
],
"workforce": {
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"historyFrom": "2023-12-25",
"historyTo": "2023-12-25",
"employeeCountRange": "1-10",
"history": [
{
"date": "2023-12-25",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"employeeCountRange": "1-10"
}
],
"nextCursor": "<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>"
}Authorizations
Body
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.
financial, keywords, naicsCodes, technologies, workforce Response
OK