HigherData / Tool
search.count
Count companies matching the active filters in HigherData Core, before suppression. isIcpBaseline is true only when the backend cannot apply every refinement.
Scopes: data:read
This tool reads. It does not write.
REST: POST /api/v1/tools/search.count?execute=false. The same call is POST /api/v1/search/count?execute=false.
MCP tool name: search_count. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| companyNames | array | no | Company name prefixes, up to 5 values. Match any name. 1 to 5 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludeCompanyNames | array | no | Company name prefixes to leave out. 1 to 5 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludeCompaniesWithTitles | array | no | Exclude companies with any current employee whose title contains one of these keywords, at least 3 characters each. Uses a bounded live lookup; narrow the company filters if it is too broad. 1 to 50 items. Each item: 3 to 120 characters. |
| excludeCompaniesWithRoleFamilies | array | no | Exclude companies with any current employee in one of these go-to-market role families. Uses the same bounded live lookup as excludeCompaniesWithTitles. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| domain | string | no | Company website domain. Exact host matching; root sites rank first. 1 to 320 characters. |
| countryCodes | array | no | Two-letter country codes to include. 1 to 50 items. Each item: Pattern: ^\s*[a-z]{2}\s*$. |
| stateCodes | array | no | State or region codes to include. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| cities | array | no | Company HQ cities to include. Requires countryCodes. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludeCities | array | no | Company HQ cities to leave out. Requires countryCodes. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| postcodes | array | no | Company HQ postcode prefixes to include. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludePostcodes | array | no | Company HQ postcode prefixes to leave out. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| foundedYearMin | integer | no | Earliest company founding year. At least 0. |
| foundedYearMax | integer | no | Latest company founding year. At least 0. |
| totalFundingMinUsd | integer | no | Lowest total company funding, in US dollars. At least 0. |
| totalFundingMaxUsd | integer | no | Highest total company funding, in US dollars. At least 0. |
| industries | array | no | Industries to include. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludeCountryCodes | array | no | Two-letter country codes to leave out. 1 to 50 items. Each item: Pattern: ^\s*[a-z]{2}\s*$. |
| excludeStateCodes | array | no | State or region codes to leave out. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludeIndustries | array | no | Industries to leave out. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| employeeCountMin | integer | no | Lowest employee count to include. At least 0. |
| employeeCountMax | integer | no | Highest employee count to include. At least 0. |
| revenueMinUsd | integer | no | Lowest annual revenue to include, in US dollars. At least 0. |
| revenueMaxUsd | integer | no | Highest annual revenue to include, in US dollars. At least 0. |
| sizeAny | array | no | Size alternatives. Match any alternative; all bounds within one alternative must match known values. Combined with the other filters using AND. Bounds are inclusive; use 49 for under 50 employees and 2999999 for under $3M annual revenue. 1 to 50 items. |
| sizeAny[]. | integer | no | Lowest known employee count in this alternative, inclusive. At least 0. |
| sizeAny[]. | integer | no | Highest known employee count in this alternative, inclusive. At least 0. |
| sizeAny[]. | integer | no | Lowest known annual revenue in this alternative, in US dollars, inclusive. At least 0. |
| sizeAny[]. | integer | no | Highest known annual revenue in this alternative, in US dollars, inclusive. At least 0. |
| naics2022Codes | array | no | NAICS 2022 codes to include. 1 to 50 items. Each item: Pattern: ^[0-9]{6}$. |
| excludeNaics2022Codes | array | no | NAICS 2022 codes to leave out. 1 to 50 items. Each item: Pattern: ^[0-9]{6}$. |
| fundingTypes | array | no | Funding round types to include. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludeFundingTypes | array | no | Funding round types to leave out. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| keywords | array | no | Match company industry labels, headlines, specialties, and descriptions. A company can match any keyword. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| requiredKeywords | array | no | Keywords the company must match. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| requiredKeywordGroups | array | no | Keyword groups. The company must match every group, and any keyword inside a group. At most 10 items. Each item: 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| excludeKeywords | array | no | Keywords that remove a company. 1 to 50 items. Each item: 1 to 120 characters. Pattern: \S. |
| websiteAvailability | string | no | Whether the company has a website. One of: any, available, missing. |
| linkedinAvailability | string | no | Whether the company has a LinkedIn page. One of: any, available, missing. |
| fundingDateAfter | string | no | Include funding on or after this date. ISO date (YYYY-MM-DD). |
| fundingDateBefore | string | no | Include funding on or before this date. ISO date (YYYY-MM-DD). |
| excludeOrganizationIds | array | no | Opaque company ids (hdo_) to leave out. At most 1000 items. Each item: Pattern: ^hdo_(?:[0-9a-f]{32}|s(?:0[1-9a-f]|1[0-9a-f]|20)[A-Za-z0-9_-]{24,224})$. |
| excludeDomains | array | no | Website domains to leave out. At most 1000 items. Each item: 1 to 320 characters. |
| insights | object | no | Insights filters. Supply at least one. |
| insights. | object | no | Monthly organic visits. |
| insights. | number | no | Lower bound, inclusive. At least 0. |
| insights. | number | no | Upper bound, inclusive. At least 0. |
| insights. | object | no | Monthly paid visits. |
| insights. | number | no | Lower bound, inclusive. At least 0. |
| insights. | number | no | Upper bound, inclusive. At least 0. |
| insights. | object | no | Monthly visits, organic and paid. |
| insights. | number | no | Lower bound, inclusive. At least 0. |
| insights. | number | no | Upper bound, inclusive. At least 0. |
| insights. | object | no | Monthly Google ad spend, in cents. |
| insights. | integer | no | Lower bound, inclusive, in cents. At least 0. |
| insights. | integer | no | Upper bound, inclusive, in cents. At least 0. |
| insights. | object | no | Latest funding round amount, in cents. |
| insights. | integer | no | Lower bound, inclusive, in cents. At least 0. |
| insights. | integer | no | Upper bound, inclusive, in cents. At least 0. |
| insights. | object | no | Total funding raised, in cents. |
| insights. | integer | no | Lower bound, inclusive, in cents. At least 0. |
| insights. | integer | no | Upper bound, inclusive, in cents. At least 0. |
| insights. | object | no | Employee growth rate, as reported in the release. Negative values include shrinking teams. |
| insights. | number | no | Lower bound, inclusive, for the reported growth rate. |
| insights. | number | no | Upper bound, inclusive, for the reported growth rate. |
| insights. | object | no | Account executive open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Business development open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Customer success open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Demand generation open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | DevOps open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Governance, risk and compliance open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | IT open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Marketing open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Network infrastructure open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Operations open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Sales open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Security open roles. |
| insights. | integer | no | Minimum open roles, inclusive. At least 0. |
| insights. | integer | no | Maximum open roles, inclusive. At least 0. |
| insights. | object | no | Apple App Store rating, from 0 to 5. |
| insights. | number | no | Minimum rating, inclusive, from 0 to 5. From 0 to 5. |
| insights. | number | no | Maximum rating, inclusive, from 0 to 5. From 0 to 5. |
| insights. | object | no | Google Play rating, from 0 to 5. |
| insights. | number | no | Minimum rating, inclusive, from 0 to 5. From 0 to 5. |
| insights. | number | no | Maximum rating, inclusive, from 0 to 5. From 0 to 5. |
| insights. | array | no | CRM product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude CRM product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Marketing automation product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Marketing automation product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | ABM product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude ABM product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Sales automation product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Sales automation product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Analytics product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Analytics product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | CMS product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude CMS product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Cloud provider product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Cloud provider product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Ecommerce product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Ecommerce product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | ERP product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude ERP product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Application security product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Application security product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Cloud security product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Cloud security product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Email security product names. Match any reported product, ignoring case and surrounding spaces. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Exclude Email security product names. Companies with no reported product remain included. 1 to 100 items. Each item: 1 to 200 characters. |
| insights. | array | no | Technology categories the company must have. 1 to 10 items. Each item: One of: crm, marketingAutomation, abm, salesAutomation, analytics, cms, cloudProvider, ecommerce, erp, security. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| companyCount | integer | yes | At least 0. |
| estimatedContactCount | value | yes | |
| isIcpBaseline | boolean | no | |
| zeroResults | boolean | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/search.count?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"countryCodes": [
"CA"
]
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("search.count", {
"countryCodes": [
"CA"
]
}, { execute: false });Example
{
"input": {
"countryCodes": [
"CA"
]
},
"output": {
"companyCount": 7,
"estimatedContactCount": 21,
"zeroResults": false
}
}