curl --request POST 'https://api.companyenrich.com/v2/companies/search' \
--header "Authorization: Bearer $COMPANYENRICH_API_KEY" \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"semantic": {
"query": "AI customer support platforms with shared inboxes",
"weight": 0.85
},
"filter": {
"employees": ["51-200", "201-500", "501-1K", "1K-5K", "5K-10K"],
"revenue": ["10m-50m", "50m-100m", "100m-200m", "200m-1b", "over-1b"],
"foundedYear": {
"min": 2000,
"max": 2020
},
"technologies": {
"in": ["hubspot", "google analytics"]
},
"country": {
"notIn": ["GB"]
},
"require": ["linkedin", "revenue"]
},
"expand": ["keywords", "technologies"],
"pageSize": 25
}'
import os
import requests
response = requests.post(
"https://api.companyenrich.com/v2/companies/search",
headers={
"Authorization": f"Bearer {os.environ['COMPANYENRICH_API_KEY']}"
},
json={
"semantic": {
"query": "AI customer support platforms with shared inboxes",
"weight": 0.85
},
"filter": {
"employees": ["51-200", "201-500", "501-1K", "1K-5K", "5K-10K"],
"revenue": ["10m-50m", "50m-100m", "100m-200m", "200m-1b", "over-1b"],
"foundedYear": {
"min": 2000,
"max": 2020
},
"technologies": {
"in": ["hubspot", "google analytics"]
},
"country": {
"notIn": ["GB"]
},
"require": ["linkedin", "revenue"]
},
"expand": ["keywords", "technologies"],
"pageSize": 25
},
timeout=30,
)
response.raise_for_status()
print(response.json())
const response = await fetch(
"https://api.companyenrich.com/v2/companies/search",
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.COMPANYENRICH_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"semantic": {
"query": "AI customer support platforms with shared inboxes",
"weight": 0.85
},
"filter": {
"employees": ["51-200", "201-500", "501-1K", "1K-5K", "5K-10K"],
"revenue": ["10m-50m", "50m-100m", "100m-200m", "200m-1b", "over-1b"],
"foundedYear": {
"min": 2000,
"max": 2020
},
"technologies": {
"in": ["hubspot", "google analytics"]
},
"country": {
"notIn": ["GB"]
},
"require": ["linkedin", "revenue"]
},
"expand": ["keywords", "technologies"],
"pageSize": 25
})
}
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
{
"items": [
{
"id": "01925249-877f-7e49-9e4d-f1ce77eb52b4",
"name": "Help Scout",
"domain": "helpscout.com",
"type": "private",
"employees": "51-200",
"revenue": "10m-50m",
"foundedYear": 2011,
"keywords": [
"shared inbox",
"AI chatbot",
"customer support software"
],
"technologies": [
"hubspot",
"amazon aws",
"python"
],
"location": {
"country": {
"code": "US",
"name": "United States"
}
},
"socials": {
"linkedinUrl": "https://www.linkedin.com/company/help-scout"
}
},
{
"id": "019257ab-3925-788e-b4dd-8635bed707d7",
"name": "Intercom",
"domain": "intercom.com",
"type": "private",
"employees": "1K-5K",
"revenue": "50m-100m",
"foundedYear": 2011,
"keywords": [
"shared inbox",
"AI customer service",
"customer service software"
],
"technologies": [
"intercom",
"google analytics",
"react"
],
"location": {
"country": {
"code": "US",
"name": "United States"
}
},
"socials": {
"linkedinUrl": "https://www.linkedin.com/company/intercom"
}
},
{
"id": "01924e9c-6396-766f-bb6c-75cf748b66ba",
"name": "Zendesk",
"domain": "zendesk.com",
"employees": "5K-10K",
"revenue": "over-1b",
"foundedYear": 2007,
"keywords": [
"customer service",
"help desk",
"ticketing system"
],
"technologies": [
"google analytics",
"wordpress",
"cloudflare cdn"
],
"location": {
"country": {
"code": "US",
"name": "United States"
}
},
"socials": {
"linkedinUrl": "https://www.linkedin.com/company/zendesk"
}
}
],
"nextCursor": "<opaque cursor>"
}