Preview matching companies
curl --request POST \
--url https://api.companyenrich.com/v2/companies/search/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filter": {
"query": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"keywords": "<string>",
"technologies": "<string>",
"region": "<string>",
"country": "<string>",
"state": 123,
"city": 123,
"workforceGrowth": {
"min": 123,
"max": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"naicsCodes": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
}
},
"semantic": {
"query": "<string>",
"weight": 0.5,
"autoFilter": true
},
"lookalike": {
"domains": [
"<string>"
],
"weight": 0,
"minScore": 0.5
}
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filter: {
query: '<string>',
id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
domain: '<string>',
keywords: '<string>',
technologies: '<string>',
region: '<string>',
country: '<string>',
state: 123,
city: 123,
workforceGrowth: {min: 123, max: 123},
workforceSize: [{min: 123, max: 123}],
naicsCodes: '<string>',
foundedYear: {min: 123, max: 123},
fundingAmount: {min: 123, max: 123},
fundingYear: {min: 123, max: 123}
},
semantic: {query: '<string>', weight: 0.5, autoFilter: true},
lookalike: {domains: ['<string>'], weight: 0, minScore: 0.5}
})
};
fetch('https://api.companyenrich.com/v2/companies/search/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/search/preview"
payload = {
"filter": {
"query": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"keywords": "<string>",
"technologies": "<string>",
"region": "<string>",
"country": "<string>",
"state": 123,
"city": 123,
"workforceGrowth": {
"min": 123,
"max": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"naicsCodes": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
}
},
"semantic": {
"query": "<string>",
"weight": 0.5,
"autoFilter": True
},
"lookalike": {
"domains": ["<string>"],
"weight": 0,
"minScore": 0.5
}
}
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",
"logoUrl": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"industry": "<string>"
}
],
"total": 123,
"scores": {},
"interpretation": {
"filter": {
"query": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"keywords": "<string>",
"technologies": "<string>",
"region": "<string>",
"country": "<string>",
"state": 123,
"city": 123,
"type": "private",
"employees": "1-10",
"reportedEmployees": "1-10",
"revenue": "under-1m",
"workforceGrowth": {
"period": "m6",
"department": "overall",
"min": 123,
"max": 123
},
"workforceSize": [
{
"department": "overall",
"min": 123,
"max": 123
}
],
"naicsCodes": "<string>",
"categories": "b2b",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingRounds": "seed",
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
},
"require": "linkedin"
},
"boost": {
"names": [
"<string>"
],
"categories": [
"b2b"
],
"revenue": [
"under-1m"
]
}
}
}{
"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>"
}Company · Search
Preview matching companies
Returns up to 25 company summaries using the same filters and ranking as search, without pagination or response expansions. Send an empty object ({}) to preview companies without filters.
Requires a plan with company previews and does not consume credits. Lookalike previews use the same first-150 reranking as search.
POST
/
v2
/
companies
/
search
/
preview
Preview matching companies
curl --request POST \
--url https://api.companyenrich.com/v2/companies/search/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filter": {
"query": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"keywords": "<string>",
"technologies": "<string>",
"region": "<string>",
"country": "<string>",
"state": 123,
"city": 123,
"workforceGrowth": {
"min": 123,
"max": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"naicsCodes": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
}
},
"semantic": {
"query": "<string>",
"weight": 0.5,
"autoFilter": true
},
"lookalike": {
"domains": [
"<string>"
],
"weight": 0,
"minScore": 0.5
}
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filter: {
query: '<string>',
id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
domain: '<string>',
keywords: '<string>',
technologies: '<string>',
region: '<string>',
country: '<string>',
state: 123,
city: 123,
workforceGrowth: {min: 123, max: 123},
workforceSize: [{min: 123, max: 123}],
naicsCodes: '<string>',
foundedYear: {min: 123, max: 123},
fundingAmount: {min: 123, max: 123},
fundingYear: {min: 123, max: 123}
},
semantic: {query: '<string>', weight: 0.5, autoFilter: true},
lookalike: {domains: ['<string>'], weight: 0, minScore: 0.5}
})
};
fetch('https://api.companyenrich.com/v2/companies/search/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/search/preview"
payload = {
"filter": {
"query": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"keywords": "<string>",
"technologies": "<string>",
"region": "<string>",
"country": "<string>",
"state": 123,
"city": 123,
"workforceGrowth": {
"min": 123,
"max": 123
},
"workforceSize": [
{
"min": 123,
"max": 123
}
],
"naicsCodes": "<string>",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
}
},
"semantic": {
"query": "<string>",
"weight": 0.5,
"autoFilter": True
},
"lookalike": {
"domains": ["<string>"],
"weight": 0,
"minScore": 0.5
}
}
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",
"logoUrl": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"industry": "<string>"
}
],
"total": 123,
"scores": {},
"interpretation": {
"filter": {
"query": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"keywords": "<string>",
"technologies": "<string>",
"region": "<string>",
"country": "<string>",
"state": 123,
"city": 123,
"type": "private",
"employees": "1-10",
"reportedEmployees": "1-10",
"revenue": "under-1m",
"workforceGrowth": {
"period": "m6",
"department": "overall",
"min": 123,
"max": 123
},
"workforceSize": [
{
"department": "overall",
"min": 123,
"max": 123
}
],
"naicsCodes": "<string>",
"categories": "b2b",
"foundedYear": {
"min": 123,
"max": 123
},
"fundingRounds": "seed",
"fundingAmount": {
"min": 123,
"max": 123
},
"fundingYear": {
"min": 123,
"max": 123
},
"require": "linkedin"
},
"boost": {
"names": [
"<string>"
],
"categories": [
"b2b"
],
"revenue": [
"under-1m"
]
}
}
}{
"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>"
}Authorizations
Body
application/json
Response
OK