companies_search
Paginated search across the shared database of 35M+ companies. Use this as the first step of prospecting: narrow to companies matching the user's ideal customer profile (ICP), then call company_persons_list to see the people at each company, then leads_bulk_add_to_segment to pull selected people into a workspace segment as leads.
Filters — all optional, AND-combined. Pass as query params. Multi-value filters take a list of integer IDs (django REST style: ?countries=3&countries=5 or countries=[3,5] in JSON-body MCP calls). Use the listed lookup tools to resolve human terms to IDs.
Full-text:
name— websearch full-text against company name (e.g."Acme OR Globex"). Filters AND ranks: matches sort by relevance.about— same, but against the company description. Use specific multi-word phrases for precision (single weak terms can be too loose). Combine with industry/country to narrow.
Geo (multi-select; lookup IDs via discovery_countries_list / discovery_regions_list / discovery_localities_list):
countries— list of country IDs. Singularcountryalso works (single ID).regions— list of region IDs (states/provinces). Singularregionok.cities— list of locality IDs. Singularcityok.
Industry — prefer industry_tags:
industry_tags— comma-separated slugs from the Layer 2 taxonomy, e.g.?industry_tags=b2b-saas,fintech. Resolve slugs withdiscovery_industry_tags_listfirst; free text does not match and neither do names. That tool'sqparameter searches labels, descriptions and synonyms, so 'swag' findspromotional-products. Most companies carry more than one tag (1.68 on average), and matching is OR across the slugs given.industry_confidence_min— defaults to what the product shows. Every tag the classifier produced is stored including low-confidence ones, so lower this only when deliberately trading precision for reach.include_unclassified— a tag filter otherwise excludes every company not yet classified, which is still most of the corpus. Pass true to keep them.
Legacy industry / keywords (multi-select; IDs via discovery_industries_list / discovery_keywords_list):
industries— list of industry IDs against the old free-text industry field. Superseded byindustry_tags; kept for stored filters. Singularindustrymatches the primary only.keywords— list of keyword IDs. Companies tagged with any of the listed keywords match (e.g. 'SaaS', 'hiring', 'recently-funded').
Firmographics:
size— list of size buckets (integer enum):1=Micro 1-9,2=Small 10-49,3=Medium 50-249,4=Large 250+.founded_year— exact year. Usefounded_year_from/founded_year_tofor ranges.website— case-insensitive substring match on website URL.has_website/has_email/has_phone— booleans; restrict to companies with a non-empty value in that field.has_profiles— comma-separated SocialMediaType IDs. Companies must have a profile for EACH listed platform (AND). IDs: 1=LinkedIn, 2=Twitter/X, 3=Facebook, 4=Instagram, 5=GitHub, 6=YouTube, 7=Reddit, 8=Pinterest, 9=Snapchat, 10=TikTok, 11=WhatsApp, 12=Telegram, 13=Discord, 14=Product Hunt, 15=Blog, 16=App Store, 17=Play Store, 18=AngelList, 19=Threads, 20=Medium, 22=Foursquare, 23=WeChat, 24=Signal, 25=Wikidata, 26=OpenStreetMap, 27=Owler.
Date filters (relative to now, ideal for saved searches):
updated_within_days— companies updated within N days.updated_older_than_days— companies NOT updated in N days.created_within_days— companies created within N days.created_older_than_days— companies created more than N days ago.
Format gotcha. The companies_search endpoint accepts plain integer IDs only. The UI persists multi-value filters in SavedSearch.params_json as [{"value": 3, "label": "United States"}, …] for display, and SavedSearch extracts .value before running. So when you call saved_searches_create you may pass either shape in params_json; when you call companies_search directly, pass integers.
Cost. Listing is free, but returns 402 if the account's connects balance is zero — a guard against unauthenticated scraping. Actually pulling people into a segment via leads_bulk_add_to_segment charges connects per lead.
Ranking. When name or about is used, results sort by FTS relevance. Otherwise default model ordering.
Result shape. Each company has a guid (UUID, NOT a sqid) used by downstream tools; name, size, industry, country, website, linkedin_url, about, and tagged keywords/industries.
Method: GET /api/v1/discovery/companies/
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "companies_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| name | No | ||
| size | No | Headcount bands, any-of. Reads `size_bucket` where a source stated a number and falls back to the legacy `size` where none did. Band 5 (1000+) exists only in `size_bucket`. * `1` - 1-9 * `2` - 10-49 * `3` - 50-249 * `4` - 250-999 * `5` - 1000+ | |
| about | No | ||
| limit | No | Number of results to return per page. | |
| cities | No | ||
| offset | No | The initial index from which to return the results. | |
| region | No | ||
| country | No | ||
| regions | No | ||
| web_has | No | Watched parameter terms, comma-separated, each `parameter` or `parameter:value`, e.g. `cms:wordpress,ad_tag:google_ads`. Parameters: hiring_role_family, hiring_role_family_board, ats_board, ad_tag, tag_manager, analytics, cms, ecommerce, consent_platform, chat_widget, booking_tool, crm_hint, marketing_automation, error_monitoring, certification_badge, reviews_platform, api_docs, privacy_policy, languages_offered, copyright_year, careers_page, job_count_bucket, mx_provider, dmarc_policy, contact_mail_domain. Values are listed by GET /api/v1/discovery/watched-parameters/. Matches what the site carries now, as of the last successful crawl. Values of one parameter are any-of; different parameters must all match, so `cms:wordpress,ad_tag` is a WordPress site with some ad tag. | |
| website | No | ||
| industry | No | ||
| keywords | No | ||
| relation | No | How a row relates to the entity it belongs to: headquarters, subsidiary, branch, franchise, division, location. Empty for a company that is the entity. Repeatable; any-of. * `1` - Headquarters * `2` - Subsidiary * `3` - Branch * `4` - Franchise * `5` - Division * `6` - Location | |
| countries | No | ||
| has_email | No | ||
| has_phone | No | ||
| web_lacks | No | Watched parameter terms, comma-separated, each `parameter` or `parameter:value`, e.g. `cms:wordpress,ad_tag:google_ads`. Parameters: hiring_role_family, hiring_role_family_board, ats_board, ad_tag, tag_manager, analytics, cms, ecommerce, consent_platform, chat_widget, booking_tool, crm_hint, marketing_automation, error_monitoring, certification_badge, reviews_platform, api_docs, privacy_policy, languages_offered, copyright_year, careers_page, job_count_bucket, mx_provider, dmarc_policy, contact_mail_domain. Values are listed by GET /api/v1/discovery/watched-parameters/. Companies whose site was read and does NOT carry it now, e.g. `consent_platform` for sites with no cookie banner. Every term must be absent. A company never crawled successfully matches nothing here: not seen is not absent. | |
| has_signal | No | Companies observed doing something, as a comma-separated list; any-of. One or more of: hiring, advertising, filing, cert, contract_award, funding, product_launch, site_change. Combine with signal_within_days to require each named signal inside that window, e.g. has_signal=hiring&signal_within_days=30 for companies whose newest job posting is less than 30 days old. | |
| industries | No | ||
| stat_codes | No | Official classification codes, comma-separated, each written `scheme:code`; any-of. Schemes: nace21, naics2022, chsic, isic5. Resolve codes with /api/v1/discovery/stat-codes/?q=. A code matches itself and everything beneath it, so nace21:62 finds every class in that division. NACE accepts either form, 62.10 or 6210. An unresolvable selection returns no rows rather than being dropped from the query. | |
| has_website | No | ||
| independent | No | True for businesses that buy for themselves: a company with no parent, or a franchise. False for sites of someone else's business -- a branch, a location or a division. A franchisee counts as independent because it has its own owner and its own budget, which is a commercial distinction and the reason this filter exists. | |
| founded_year | No | ||
| has_profiles | No | ||
| web_appeared | No | Watched parameter terms, comma-separated, each `parameter` or `parameter:value`, e.g. `cms:wordpress,ad_tag:google_ads`. Parameters: hiring_role_family, hiring_role_family_board, ats_board, ad_tag, tag_manager, analytics, cms, ecommerce, consent_platform, chat_widget, booking_tool, crm_hint, marketing_automation, error_monitoring, certification_badge, reviews_platform, api_docs, privacy_policy, languages_offered, copyright_year, careers_page, job_count_bucket, mx_provider, dmarc_policy, contact_mail_domain. Values are listed by GET /api/v1/discovery/watched-parameters/. Companies where it appeared on the site between two crawls -- new, back after a confirmed absence, or (mail provider, DMARC) replacing the previous value. Any-of. Narrow with web_change_within_days. | |
| email_allowed | No | true = only companies in countries where cold B2B email is allowed (compliance tiers allow_footer, allow_with_source, conditional). Countries that need the recipient's prior consent, and companies with no country, are left out. false or absent = no restriction. | |
| industry_tags | No | ||
| founded_year_to | No | ||
| web_disappeared | No | Watched parameter terms, comma-separated, each `parameter` or `parameter:value`, e.g. `cms:wordpress,ad_tag:google_ads`. Parameters: hiring_role_family, hiring_role_family_board, ats_board, ad_tag, tag_manager, analytics, cms, ecommerce, consent_platform, chat_widget, booking_tool, crm_hint, marketing_automation, error_monitoring, certification_badge, reviews_platform, api_docs, privacy_policy, languages_offered, copyright_year, careers_page, job_count_bucket, mx_provider, dmarc_policy, contact_mail_domain. Values are listed by GET /api/v1/discovery/watched-parameters/. Companies where it disappeared: missing at two successful crawls in a row. Any-of. Narrow with web_change_within_days. | |
| founded_year_from | No | ||
| signal_within_days | No | Seen within this many days. Alone it means any signal at all; alongside has_signal it applies to each named signal instead, so the two together never read as 'that signal ever, and some signal recently'. | |
| created_within_days | No | ||
| updated_within_days | No | ||
| include_unclassified | No | ||
| primary_industry_tag | No | Tag slugs, comma-separated; any-of. Matches only a company's single primary tag, unlike industry_tags which matches any assigned tag. | |
| web_change_within_days | No | Noticed within this many days. With web_appeared or web_disappeared it applies to those; alone it means any website change at all. | |
| created_older_than_days | No | ||
| industry_confidence_min | No | ||
| updated_older_than_days | No |