Company Insights
curl --request POST \
--url https://api.revenuebase.ai/v2/contact/company/insights \
--header 'Content-Type: application/json' \
--header 'X-Key: <api-key>' \
--data '
{
"filter": {
"type": "group",
"op": "AND",
"children": [
{
"type": "condition",
"column": "HEADQUARTERS_COUNTRY_NAME_ORG",
"operator": "eq",
"value": "United States"
}
]
},
"section": "fillRate",
"fields": [
"DOMAIN_ORG",
"LINKEDIN_URL_ORG"
]
}
'import requests
url = "https://api.revenuebase.ai/v2/contact/company/insights"
payload = {
"filter": {
"type": "group",
"op": "AND",
"children": [
{
"type": "condition",
"column": "HEADQUARTERS_COUNTRY_NAME_ORG",
"operator": "eq",
"value": "United States"
}
]
},
"section": "fillRate",
"fields": ["DOMAIN_ORG", "LINKEDIN_URL_ORG"]
}
headers = {
"X-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filter: {
type: 'group',
op: 'AND',
children: [
{
type: 'condition',
column: 'HEADQUARTERS_COUNTRY_NAME_ORG',
operator: 'eq',
value: 'United States'
}
]
},
section: 'fillRate',
fields: ['DOMAIN_ORG', 'LINKEDIN_URL_ORG']
})
};
fetch('https://api.revenuebase.ai/v2/contact/company/insights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.revenuebase.ai/v2/contact/company/insights",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filter' => [
'type' => 'group',
'op' => 'AND',
'children' => [
[
'type' => 'condition',
'column' => 'HEADQUARTERS_COUNTRY_NAME_ORG',
'operator' => 'eq',
'value' => 'United States'
]
]
],
'section' => 'fillRate',
'fields' => [
'DOMAIN_ORG',
'LINKEDIN_URL_ORG'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.revenuebase.ai/v2/contact/company/insights"
payload := strings.NewReader("{\n \"filter\": {\n \"type\": \"group\",\n \"op\": \"AND\",\n \"children\": [\n {\n \"type\": \"condition\",\n \"column\": \"HEADQUARTERS_COUNTRY_NAME_ORG\",\n \"operator\": \"eq\",\n \"value\": \"United States\"\n }\n ]\n },\n \"section\": \"fillRate\",\n \"fields\": [\n \"DOMAIN_ORG\",\n \"LINKEDIN_URL_ORG\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.revenuebase.ai/v2/contact/company/insights")
.header("X-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filter\": {\n \"type\": \"group\",\n \"op\": \"AND\",\n \"children\": [\n {\n \"type\": \"condition\",\n \"column\": \"HEADQUARTERS_COUNTRY_NAME_ORG\",\n \"operator\": \"eq\",\n \"value\": \"United States\"\n }\n ]\n },\n \"section\": \"fillRate\",\n \"fields\": [\n \"DOMAIN_ORG\",\n \"LINKEDIN_URL_ORG\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.revenuebase.ai/v2/contact/company/insights")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filter\": {\n \"type\": \"group\",\n \"op\": \"AND\",\n \"children\": [\n {\n \"type\": \"condition\",\n \"column\": \"HEADQUARTERS_COUNTRY_NAME_ORG\",\n \"operator\": \"eq\",\n \"value\": \"United States\"\n }\n ]\n },\n \"section\": \"fillRate\",\n \"fields\": [\n \"DOMAIN_ORG\",\n \"LINKEDIN_URL_ORG\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"section": "fillRate",
"fillRates": [
{
"field": "DOMAIN_ORG",
"total": 7042375,
"populated": 5377353
},
{
"field": "LINKEDIN_URL_ORG",
"total": 7042375,
"populated": 7042375
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Company Endpoints
Company Insights
Analyze the composition and field availability of a company audience.
POST
/
company
/
insights
Company Insights
curl --request POST \
--url https://api.revenuebase.ai/v2/contact/company/insights \
--header 'Content-Type: application/json' \
--header 'X-Key: <api-key>' \
--data '
{
"filter": {
"type": "group",
"op": "AND",
"children": [
{
"type": "condition",
"column": "HEADQUARTERS_COUNTRY_NAME_ORG",
"operator": "eq",
"value": "United States"
}
]
},
"section": "fillRate",
"fields": [
"DOMAIN_ORG",
"LINKEDIN_URL_ORG"
]
}
'import requests
url = "https://api.revenuebase.ai/v2/contact/company/insights"
payload = {
"filter": {
"type": "group",
"op": "AND",
"children": [
{
"type": "condition",
"column": "HEADQUARTERS_COUNTRY_NAME_ORG",
"operator": "eq",
"value": "United States"
}
]
},
"section": "fillRate",
"fields": ["DOMAIN_ORG", "LINKEDIN_URL_ORG"]
}
headers = {
"X-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filter: {
type: 'group',
op: 'AND',
children: [
{
type: 'condition',
column: 'HEADQUARTERS_COUNTRY_NAME_ORG',
operator: 'eq',
value: 'United States'
}
]
},
section: 'fillRate',
fields: ['DOMAIN_ORG', 'LINKEDIN_URL_ORG']
})
};
fetch('https://api.revenuebase.ai/v2/contact/company/insights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.revenuebase.ai/v2/contact/company/insights",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filter' => [
'type' => 'group',
'op' => 'AND',
'children' => [
[
'type' => 'condition',
'column' => 'HEADQUARTERS_COUNTRY_NAME_ORG',
'operator' => 'eq',
'value' => 'United States'
]
]
],
'section' => 'fillRate',
'fields' => [
'DOMAIN_ORG',
'LINKEDIN_URL_ORG'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.revenuebase.ai/v2/contact/company/insights"
payload := strings.NewReader("{\n \"filter\": {\n \"type\": \"group\",\n \"op\": \"AND\",\n \"children\": [\n {\n \"type\": \"condition\",\n \"column\": \"HEADQUARTERS_COUNTRY_NAME_ORG\",\n \"operator\": \"eq\",\n \"value\": \"United States\"\n }\n ]\n },\n \"section\": \"fillRate\",\n \"fields\": [\n \"DOMAIN_ORG\",\n \"LINKEDIN_URL_ORG\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.revenuebase.ai/v2/contact/company/insights")
.header("X-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filter\": {\n \"type\": \"group\",\n \"op\": \"AND\",\n \"children\": [\n {\n \"type\": \"condition\",\n \"column\": \"HEADQUARTERS_COUNTRY_NAME_ORG\",\n \"operator\": \"eq\",\n \"value\": \"United States\"\n }\n ]\n },\n \"section\": \"fillRate\",\n \"fields\": [\n \"DOMAIN_ORG\",\n \"LINKEDIN_URL_ORG\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.revenuebase.ai/v2/contact/company/insights")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filter\": {\n \"type\": \"group\",\n \"op\": \"AND\",\n \"children\": [\n {\n \"type\": \"condition\",\n \"column\": \"HEADQUARTERS_COUNTRY_NAME_ORG\",\n \"operator\": \"eq\",\n \"value\": \"United States\"\n }\n ]\n },\n \"section\": \"fillRate\",\n \"fields\": [\n \"DOMAIN_ORG\",\n \"LINKEDIN_URL_ORG\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"section": "fillRate",
"fillRates": [
{
"field": "DOMAIN_ORG",
"total": 7042375,
"populated": 5377353
},
{
"field": "LINKEDIN_URL_ORG",
"total": 7042375,
"populated": 7042375
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Credits and plans
PAYG is Pay-as-you-go. AYCE is All-you-can-eat.| Usage | PAYG | AYCE |
|---|---|---|
| Analysis, including SmartSearch | Free 0 credits | Free 0 credits |
When to use Company Insights
Check industry, location, or employee-size distribution before retrieving companies, or find how often the fields you need are populated. Insights analyzes the filtered audience, rather than a Preview sample.Example
SetREVENUEBASE_API_KEY to your API key.
curl --request POST 'https://api.revenuebase.ai/v2/contact/company/insights' \
--header "X-Key: $REVENUEBASE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"type": "group",
"op": "AND",
"children": [
{
"type": "condition",
"column": "HEADQUARTERS_COUNTRY_NAME_ORG",
"operator": "eq",
"value": "United States"
}
]
},
"section": "fillRate",
"fields": [
"DOMAIN_ORG",
"LINKEDIN_URL_ORG"
]
}'
{
"section": "fillRate",
"fillRates": [
{
"field": "DOMAIN_ORG",
"total": 7042375,
"populated": 5377353
},
{
"field": "LINKEDIN_URL_ORG",
"total": 7042375,
"populated": 7042375
}
]
}
Choose one section
| section | Purpose | Result |
|---|---|---|
coverage | Group the audience by a company field. | coverage.groupField and grouped rows with companies and available contact totals. |
fillRate | Measure availability of selected fields. | fillRates entries with field, total, and populated counts. |
Options and limits
- Use company filters and fields from Company Columns. Person and job filters are unsupported.
- For coverage, groupField defaults to EMPLOYEE_COUNT_RANGE_ORG. Smaller categories can be combined as Other.
- For fillRate, provide fields explicitly. The service uses up to 12 recognized, distinct fields; no usable fields produces an empty fillRates list.
- Calculate a fill percentage as populated / total when total is greater than zero. These are counts, not returned company records.
Errors and retries
Correct unsupported fields or filters before retrying a 400 or 422 response. If a 429 response is returned, wait for Retry-After. Contact and company routes share the default 10 requests per second per user.Next steps
Retrieve inline companies or estimate a file using the same company filter.Authorizations
Body
application/json
One case-sensitive section: coverage or fillRate.
Available options:
coverage, fillRate Company conditions only.
Show child attributes
Show child attributes
For fillRate, up to 12 recognized distinct company fields.
For coverage, a company field. Defaults to EMPLOYEE_COUNT_RANGE_ORG.
Response
Successful Response
The response is of type Response Company Insights V1 Company Insights Post · object.
Was this page helpful?
