Set Company Lists
/v2/companies/lists/setSets the lists of a selection of saved companies to exactly list_ids (1-100 company lists): each selected record ends up in those lists and in no other. Select by ids (up to 25,000), or by filters (everything POST /v2/companies/search matches, with the optional sort_by, sort_direction, limit, exclude_ids and extra_ids): exactly one of the two. Answers a job: 200 with the done job when the work ran inline, else 202 with the running job and Location: /v2/jobs/{id} (poll it after Retry-After). One bulk action runs per workspace at a time; an Idempotency-Key makes a retry answer the same job. Uses 1 unit of the jobs rate limit. Free: costs no credits.
Body parameters
idsstring[]optionalcompanies-v2 company ids (1-25000). Exactly one of
idsandfilters.filtersobjectoptionalThe filter object
POST /v2/companies/searchtakes: every company it matches. Exactly one ofidsandfilters.Child attributes
companyobjectoptionalLook up specific companies you already know - by our own
id(the exact one, as returned by Company Enrich), by exactname, by webdomain, or by numericlinkedin_id. The same keys as People Search'scompanyfilter, except itslinkedin_url(LinkedIn company page), which only People Search takes.Child attributes
idobjectoptionalMatch by our company
id, as returned by this endpoint and by Company Enrich. The exact way to name companies you have already resolved.Field Type Description includestring[] Only these companies, by id. Max 20000 ids.Example:
["64f1a2b3c4d5e6f7a8b9c0d2"]excludestring[] Reject these companies (same idvalues). Max 20000 ids.nameobjectoptionalMatch by company name. Exact, case-insensitive list lookup. A value shaped like a website ("stripe.com", "https://www.stripe.com/about") also matches the company on that domain.
Field Type Description includestring[] Match companies whose value is in this list - any single value qualifies (exact, case-insensitive). Optional - provide include and/or exclude. Max 500 items. excludestring[] Reject companies whose value is in this list (exact, case-insensitive). 0-500 items. domainobjectoptionalMatch by web domain - host only, without scheme or www (e.g. "getprospect.com"). Every domain attached to a company is considered, not just the primary one. A domain no company has as its website also matches the company whose employees use it for email (e.g. "sephora.fr" finds Sephora, whose website is inside-sephora.com).
Field Type Description includestring[] Match companies whose value is in this list - any single value qualifies (exact, case-insensitive). Optional - provide include and/or exclude. Max 500 items. excludestring[] Reject companies whose value is in this list (exact, case-insensitive). 0-500 items. linkedin_idobjectoptionalMatch by LinkedIn's numeric company id. Company URLs go through Company Enrich first - see
id.Field Type Description includeinteger[] Match these LinkedIn companies. LinkedIn's numeric company id. Company LinkedIn URLs are not accepted here: People Search takes them as company.linkedin_url; elsewhere enrich the company bylinkedin_urland put theidit returns incompany.id. Max 500 items.Example:
[162479]excludeinteger[] Reject these LinkedIn companies. LinkedIn's numeric company id. Company LinkedIn URLs are not accepted here: People Search takes them as company.linkedin_url; elsewhere enrich the company bylinkedin_urland put theidit returns incompany.id. Max 500 items.
Example
{ "filters": { "company": { "domain": { "include": [ "intercom.com", "stripe.com" ] } } } }company_industryobjectoptionalIndustry name, or one of the category GROUP names Industries groups them under - a group matches every industry in that category. Same vocabulary as People Search's own company_industry.
Field Type Description includestring[] Match companies whose value is in this list - any single value qualifies (exact, case-insensitive). Optional - provide include and/or exclude. Max 500 items. excludestring[] Reject companies whose value is in this list (exact, case-insensitive). 0-500 items. Example
{ "filters": { "company_industry": { "include": [ "Software & Internet", "IT Services & IT Consulting" ], "exclude": [ "Staffing & Recruiting" ] } } }company_typeobjectoptionalCompany legal/ownership type (see Company types). Values match case-insensitively.
Field Type Description includeenum[] Company types to match (any of). Allowed values:
Privately HeldPublic CompanyNon ProfitSelf OwnedSelf EmployedPartnershipEducationalGovernment AgencyUnknownexcludeenum[] Company types to reject. Allowed values:
Privately HeldPublic CompanyNon ProfitSelf OwnedSelf EmployedPartnershipEducationalGovernment AgencyUnknownExample
{ "filters": { "company_type": { "include": [ "Privately Held", "Public Company" ] } } }company_business_typeobjectoptionalAudience type (see Business types). Values: B2B, B2C, Nonprofit, Unknown.
Field Type Description includeenum[] Business types to match (any of). Allowed values:
B2BB2CNonprofitUnknownexcludeenum[] Business types to reject. Allowed values:
B2BB2CNonprofitUnknownExample
{ "filters": { "company_business_type": { "include": [ "B2B" ] } } }company_revenue_streamobjectoptionalRevenue model (see Revenue streams). Values match case-insensitively.
Field Type Description includeenum[] Revenue streams to match (any of). Allowed values:
Professional ServicesProduct SalesGrants / DonationsSubscriptions / RecurringProject / Contract WorkEvent / Experience RevenueTransaction FeesRental / LeasingAdvertisingFinancial ServicesLicensing / IPUnknownexcludeenum[] Revenue streams to reject. Allowed values:
Professional ServicesProduct SalesGrants / DonationsSubscriptions / RecurringProject / Contract WorkEvent / Experience RevenueTransaction FeesRental / LeasingAdvertisingFinancial ServicesLicensing / IPUnknownExample
{ "filters": { "company_revenue_stream": { "include": [ "Subscriptions / Recurring", "Product Sales" ] } } }company_ai_industryobjectoptionalAI industry of the company (see AI Industries): an industry group or a sub-industry. A group matches all its sub-industries. Casing does not matter, and "&" is read as "and".
Field Type Description includeenum[] AI industries to match (any of). A group matches all its sub-industries; a sub-industry matches only itself. Allowed values:
Software and ITHealthcare and Life SciencesFinance and InsuranceEnergy, Utilities and Environmental ServicesIndustrial Manufacturing and MaterialsReal Estate and ConstructionRetail and Consumer ChannelsTransportation and LogisticsProfessional, Business and Legal ServicesEducation and TrainingMedia, Entertainment and CultureHospitality, Food and Travel ServicesPersonal and Home ServicesAgriculture, Forestry and FisheriesAutomotive, Aerospace and Defense ManufacturingNon-Profit, Public Sector and Education (Non-Commercial)AI and ML PlatformsAgriculture and Forestry SoftwareBlockchain and Web3Carriers and ISPsCloud and Infrastructure SoftwareConsumer SoftwareData and Analytics SoftwareDeveloper Tools and PlatformsEnterprise Software SolutionsFinancial Services SoftwareGovernment and Public Sector SoftwareHardware and NetworkingHealthcare SoftwareIoT and Embedded Systems SoftwareIT Services and CybersecurityManufacturing SoftwareMetaverse, AR/VR and Other Emerging PlatformsQuantum Computing SoftwareReal Estate and PropTech SoftwareRetail and Ecommerce SoftwareSecurity and Identity SoftwareBiotechnology and PharmaceuticalsDigital Health and TelemedicineHospitals, Clinics and Outpatient CareMedical Devices and Diagnostic EquipmentMedical Testing and Clinical LaboratoriesMental Health and Rehabilitation ServicesPharma Distribution and CRO ServicesBanking and LendingCapital Markets and CryptocurrencyCryptocurrency and Blockchain ServicesFinancial Services PlatformsInsurance and InsurTechInvestment Management and WealthTechVenture Capital and Private EquityElectric Power and Grid ManagementNuclear and Advanced GenerationOil and Gas Exploration, Production and ServicesRenewable Energy and Clean TechSustainability Tech and Environmental ConsultingWater, Waste and Environmental Management3D Printing and Advanced ManufacturingBuilding Materials and ChemicalsConsumer Goods and AppliancesElectronics and Computer EquipmentFood, Beverage and Tobacco ProductionIndustrial Machinery and EquipmentMining, Metals and Natural ResourcesArchitecture, Urban Planning and Green BuildingCommercial Real Estate Development and LeasingConstruction and Civil Engineering ServicesProperty and Facility ManagementResidential Real Estate Development and BrokerageSpecialty Construction ProductsAutomotive Service and Collision RepairBrick-and-Mortar RetailMedia and Entertainment RetailOnline Commerce and MarketplacesRetail TechnologySpecialty Auctions and CollectiblesWholesale and DistributionAutonomous Vehicles and Drone DeliveryCar and Truck RentalFreight and CargoLogistics TechnologyPassenger Transit and MobilityWarehousing, Fulfillment and 3PL ServicesAccounting, Audit and Financial AdvisoryAdvertising, Marketing and Multimedia DesignDefense and Government ServicesFacilities Management and Commercial CleaningHuman Resources, Staffing and RecruitmentLegal Services and Regulatory ComplianceManagement Consulting and Strategy ConsultingTranslation, Document and Information ManagementCorporate Training and Learning and DevelopmentE-Learning Platforms and EdTechK-12 and Higher Education InstitutionsTest Prep, Tutoring and After-School ServicesVocational Training and Certification ProgramsDigital Publishing and Streaming PlatformsFilm, Television and BroadcastingGaming, Esports and Interactive EntertainmentLive Events, Experiences and Ticketed AttractionsMuseums, Art Galleries and Cultural PreservationMusic, Audio and Podcast ServicesSports and RecreationFood and Beverage ServicesHospitality and LodgingTravel Agencies and Leisure ServicesFuneral Homes and Related ServicesHome ServicesPersonal Care and WellnessVeterinary Care and Pet ServicesAgriTech and Precision FarmingAquaculture and FisheriesCrop Farming and Livestock ProductionFarming Equipment and SuppliesForestry, Logging and Wood ProductsMining and ExtractionAviation and Aerospace Component ManufacturingAutomotive and Rental RetailCommercial Space InnovationDefense Systems and Marine ManufacturingMotor Vehicle and Parts ManufacturingGovernment Administration and Municipal ServicesNGOs, Charities and Community OrganizationsPublic Healthcare and Social ServicesPublic/Private Research Institutions and Educational FoundationsStudent Organizations and Campus Servicesexcludeenum[] AI industries to reject. A group rejects all its sub-industries; a sub-industry rejects only itself. Allowed values:
Software and ITHealthcare and Life SciencesFinance and InsuranceEnergy, Utilities and Environmental ServicesIndustrial Manufacturing and MaterialsReal Estate and ConstructionRetail and Consumer ChannelsTransportation and LogisticsProfessional, Business and Legal ServicesEducation and TrainingMedia, Entertainment and CultureHospitality, Food and Travel ServicesPersonal and Home ServicesAgriculture, Forestry and FisheriesAutomotive, Aerospace and Defense ManufacturingNon-Profit, Public Sector and Education (Non-Commercial)AI and ML PlatformsAgriculture and Forestry SoftwareBlockchain and Web3Carriers and ISPsCloud and Infrastructure SoftwareConsumer SoftwareData and Analytics SoftwareDeveloper Tools and PlatformsEnterprise Software SolutionsFinancial Services SoftwareGovernment and Public Sector SoftwareHardware and NetworkingHealthcare SoftwareIoT and Embedded Systems SoftwareIT Services and CybersecurityManufacturing SoftwareMetaverse, AR/VR and Other Emerging PlatformsQuantum Computing SoftwareReal Estate and PropTech SoftwareRetail and Ecommerce SoftwareSecurity and Identity SoftwareBiotechnology and PharmaceuticalsDigital Health and TelemedicineHospitals, Clinics and Outpatient CareMedical Devices and Diagnostic EquipmentMedical Testing and Clinical LaboratoriesMental Health and Rehabilitation ServicesPharma Distribution and CRO ServicesBanking and LendingCapital Markets and CryptocurrencyCryptocurrency and Blockchain ServicesFinancial Services PlatformsInsurance and InsurTechInvestment Management and WealthTechVenture Capital and Private EquityElectric Power and Grid ManagementNuclear and Advanced GenerationOil and Gas Exploration, Production and ServicesRenewable Energy and Clean TechSustainability Tech and Environmental ConsultingWater, Waste and Environmental Management3D Printing and Advanced ManufacturingBuilding Materials and ChemicalsConsumer Goods and AppliancesElectronics and Computer EquipmentFood, Beverage and Tobacco ProductionIndustrial Machinery and EquipmentMining, Metals and Natural ResourcesArchitecture, Urban Planning and Green BuildingCommercial Real Estate Development and LeasingConstruction and Civil Engineering ServicesProperty and Facility ManagementResidential Real Estate Development and BrokerageSpecialty Construction ProductsAutomotive Service and Collision RepairBrick-and-Mortar RetailMedia and Entertainment RetailOnline Commerce and MarketplacesRetail TechnologySpecialty Auctions and CollectiblesWholesale and DistributionAutonomous Vehicles and Drone DeliveryCar and Truck RentalFreight and CargoLogistics TechnologyPassenger Transit and MobilityWarehousing, Fulfillment and 3PL ServicesAccounting, Audit and Financial AdvisoryAdvertising, Marketing and Multimedia DesignDefense and Government ServicesFacilities Management and Commercial CleaningHuman Resources, Staffing and RecruitmentLegal Services and Regulatory ComplianceManagement Consulting and Strategy ConsultingTranslation, Document and Information ManagementCorporate Training and Learning and DevelopmentE-Learning Platforms and EdTechK-12 and Higher Education InstitutionsTest Prep, Tutoring and After-School ServicesVocational Training and Certification ProgramsDigital Publishing and Streaming PlatformsFilm, Television and BroadcastingGaming, Esports and Interactive EntertainmentLive Events, Experiences and Ticketed AttractionsMuseums, Art Galleries and Cultural PreservationMusic, Audio and Podcast ServicesSports and RecreationFood and Beverage ServicesHospitality and LodgingTravel Agencies and Leisure ServicesFuneral Homes and Related ServicesHome ServicesPersonal Care and WellnessVeterinary Care and Pet ServicesAgriTech and Precision FarmingAquaculture and FisheriesCrop Farming and Livestock ProductionFarming Equipment and SuppliesForestry, Logging and Wood ProductsMining and ExtractionAviation and Aerospace Component ManufacturingAutomotive and Rental RetailCommercial Space InnovationDefense Systems and Marine ManufacturingMotor Vehicle and Parts ManufacturingGovernment Administration and Municipal ServicesNGOs, Charities and Community OrganizationsPublic Healthcare and Social ServicesPublic/Private Research Institutions and Educational FoundationsStudent Organizations and Campus ServicesExample
{ "filters": { "company_ai_industry": { "include": [ "Finance and Insurance" ], "exclude": [ "Banking and Lending" ] } } }company_countryobjectoptionalCountry as ISO-3166-1 alpha-2 codes (see Countries). Matches any office location by default; set
headquarters_only: trueto match the registered headquarters country only.Field Type Description includestring[] Match companies whose value is in this list - any single value qualifies (exact, case-insensitive). Optional - provide include and/or exclude. Max 500 items. excludestring[] Reject companies whose value is in this list (exact, case-insensitive). 0-500 items. headquarters_onlyboolean When true, match the company headquarters country only. When false (default), any office country we have resolved counts, headquarters included: includes widen (a company with an office there matches) and excludes tighten symmetrically (a company with an office there is rejected). default: false. Example
{ "filters": { "company_country": { "include": [ "US", "CA" ], "headquarters_only": true } } }company_locationobjectoptionalCompany location as unified location strings - a country ("United States"), a state ("Texas, United States"), a city ("San Francisco, California, United States") or a region ("EMEA"). Same format and vocabulary as People Search's company_location and person_location. Any resolved office counts by default; see headquarters_only. Use
company_countryinstead when you already hold ISO-3166-1 alpha-2 codes.Field Type Description includestring[] Match these locations (any of). Unified strings like "United States", "Texas, United States", "San Francisco, California, United States" - or a region like "EMEA", "APAC", "Europe", "Latin America", which expands to its member countries (full list with member countries: GET /v2/enums/regions). Max 100 items, each 2-200 chars. Any value that does not resolve fails the whole request with 400 ( invalid_value, naming it ininvalid_values), even beside values that do: nothing is silently dropped. Look values up with POST /v2/search/suggest (type location).excludestring[] Reject these locations (same unified-string format; a region minus a country works: include ["Europe"], exclude ["Germany"]). Max 100 items, each 2-200 chars. A value that does not resolve is skipped, so check the spelling: a misspelled exclude ("Germny") leaves that place in the results. headquarters_onlyboolean When true, match the company headquarters location only. When false (default), any office location we have resolved counts, headquarters included: includes widen (a company with an office there matches) and excludes tighten symmetrically (a company with an office there is rejected). default: false. Example
{ "filters": { "company_location": { "include": [ "San Francisco, California, United States" ], "headquarters_only": true } } }company_headcount_rangeenum[]optionalBucketed headcount range (see Employee ranges). 1-8 buckets.
Example
{ "filters": { "company_headcount_range": [ "51-200", "201-500" ] } }company_headcount_customobjectoptionalRaw headcount range. min/max are inclusive; either may be omitted.
Field Type Description minnumber Lower bound (inclusive). Optional. maxnumber Upper bound (inclusive). Must be >= min. Optional. Example
{ "filters": { "company_headcount_custom": { "min": 100, "max": 5000 } } }company_foundedobjectoptionalFounded year range. min/max are inclusive; either may be omitted.
Field Type Description minnumber Lower bound (inclusive). Optional. maxnumber Upper bound (inclusive). Must be >= min. Optional. Example
{ "filters": { "company_founded": { "min": 2010, "max": 2020 } } }company_headcount_by_departmentobject[]optionalHeadcount of the company by department, optionally within one country or state. Rows AND together; each row is a
departmentplusminand/ormaxpeople (amaxalso matches companies with nobody in the department). 1-10 rows.Field Type Description departmentenumrequired Department group ("Sales") or sub-department ("Sales Operations"); see Departments. Casing does not matter. Example:
"Product Development"locationstring Count only people located in this ONE location, which must resolve to a country or a state ("Germany", "California, United States"). A city or a multi-country region answers 400. Omit for anywhere. 2-200 chars. Example:
"California, United States"mininteger At least this many people (inclusive). Integer 0-1,000,000. Example:
10maxinteger At most this many people (inclusive). Integer 0-1,000,000, at least min. Companies with no people in the department count as 0 and match. Example:
20Example
{ "filters": { "company_headcount_by_department": [ { "department": "Product Development", "location": "California, United States", "min": 10, "max": 20 } ] } }company_naicsobjectoptionalNAICS codes (numeric). Matches when any of the company's codes is in the list.
Field Type Description includenumber[] Match companies whose value is in this list - any single value qualifies. Optional - provide include and/or exclude. Max 500 items. excludenumber[] Reject companies whose value is in this list. 0-500 items. Example
{ "filters": { "company_naics": { "include": [ 541511, 541512 ] } } }company_technologiesobjectoptionalWeb technologies detected on the company website, by id: the
valueof aPOST /v2/search/suggestrow withtype: technologyandkind: technology. Websites are rescanned every 30 days.Field Type Description includestring[] Technology ids to match. match_mode: ANY(default): a company using any of them qualifies;ALL: it must use every one. Max 500.Example:
["3421"]excludestring[] Reject companies using any of these technology ids. Max 500. match_modeenum How includecombines:ANY(default) - at least one;ALL- every one, on the same company. default: "ANY".Allowed values:
ANYALLExample
{ "filters": { "company_technologies": { "include": [ "3421" ], "match_mode": "ANY" } } }company_technology_categoriesobjectoptionalTechnology categories (CMS, Ecommerce, Analytics, ...), by id: the
valueof a suggest row withkind: category. A category matches a company using any technology in it.Field Type Description includestring[] Category ids to match (any of). Max 200. Example:
["1"]excludestring[] Reject companies using any technology in these category ids. Max 200. Example
{ "filters": { "company_technology_categories": { "include": [ "1" ] } } }company_keywordsobjectoptionalFree-text keyword match across selected source fields (see Keyword sources). When this filter is active, results are ranked by relevance first.
Field Type Description includestring[]required Phrases to search for. 1-20 items, 3-100 chars each. Matched as phrases: a multi-word entry like "email finder" requires those words adjacent and in order within one of the selected source fields, not merely present somewhere in it. excludestring[] Phrases that disqualify a company. 0-20 items. Matched as phrases, same as include.include_allboolean When true, every phrase in includemust match; otherwise any single match qualifies. default: false.sourcesenum[] Restrict matching to these source fields (see Keyword sources). Omit to use the default source set - see this company_keywordsfilter's own description above for what that is.Example
{ "filters": { "company_keywords": { "include": [ "customer support", "help desk" ], "include_all": true, "sources": [ "specialties" ] } } }listsobjectoptionalYour workspace's company lists: read a list's companies (
include), hide those already filed (exclude), or scope to saved / not saved companies (saved). Scoped to companies you saved (include, orsavedany/without_list), the search spends nosearchrate-limit units.metadata.lists_filterreports the scope that ran.Field Type Description savedenum any = only companies your workspace saved, in a list or not; none = only companies your workspace has not saved; without_list = only companies your workspace saved but did not file into any list. Allowed values:
anynonewithout_listincludestring[] Only companies your workspace filed into these company list ids ( GET /v2/lists?type=companies). Max 100.excludestring[] Hide companies your workspace filed into these company list ids. Max 100. Example
{ "filters": { "lists": { "include": [ "66f1a2b3c4d5e6f7a8b9c0d1" ] } } }
sort_byenumoptionalWith
filters: which companies are "the firstlimit".Allowed values:
company_namecompany_employee_countcompany_industrycompany_countrycompany_foundedcompany_saved_atsort_directionenumoptionalIgnored without
sort_by.Allowed values:
ascdesclimitnumberoptionalmin: 1max: 25000With
filters: how many companies at most.exclude_idsstring[]optionalWith
filters: company ids taken out of the match.extra_idsstring[]optionalWith
filters: hand-ticked company ids outside the match, added to it.list_idsstring[]requiredThe company lists the selection ends up in, exactly (1-100).
Responses
For error handling see Errors. Response objects are described in Person object and Company object.
