Skip to main content
POST
Search accounts by filters
Search and extract company accounts using powerful filters including industry, location, company size, and keywords. This endpoint processes results asynchronously and sends enriched account data to your webhook URL.

Overview

This endpoint allows you to search for companies based on various criteria without needing to provide a LinkedIn Sales Navigator URL. The process is asynchronous - you’ll receive an immediate response with the import job details and a preview of matching accounts, and the complete enriched results will be sent to your webhook URL when processing is complete.

Rate Limits

  • Your plan’s per-minute request limit, counted per user (see Rate Limiting)

Search Filters

Industries

Target or exclude specific industries using industry IDs. Multiple industry IDs are combined with OR logic. Parameters:
  • included_industries: Array of industry IDs to target
  • excluded_industries: Array of industry IDs to exclude from results
For the complete list of industry IDs, see the LinkedIn Industry List. Common industry IDs include:
  • 4 - Automotive
  • 6 - Technology, Information and Internet
  • 12 - Education
  • 43 - Financial Services
  • 96 - Software Development

Locations

Use the Location IDs endpoint to find valid location IDs. You can include or exclude specific locations:
  • included_locations: Target specific countries, states, or cities
  • excluded_locations: Exclude specific locations from results

Company Size

Filter by employee count ranges:
  • 1-10 - Startup/Very Small
  • 11-50 - Small
  • 51-200 - Medium
  • 201-500 - Medium-Large
  • 501-1000 - Large
  • 1001-5000 - Very Large
  • 5001-10000 - Enterprise
  • 10001+ - Mega Corporation
Multiple size ranges can be used

Keyword

Search for companies by keyword in their name or description. This is useful for targeting specific niches or technologies (e.g., “saas”, “fintech”, “healthcare”).

Revenue

Filter companies by their annual revenue range. Revenue values are specified in millions and can be combined with a currency code. Parameters:
  • min_revenue: Minimum annual revenue (in millions). Valid values: 0, 0.5, 1, 2.5, 5, 10, 20, 50, 100, 500, 1000
  • max_revenue: Maximum annual revenue (in millions). Valid values: 0.5, 1, 2.5, 5, 10, 20, 50, 100, 500, 1000, 1001 (where 1001 represents $1B+)
  • revenue_currency: Currency code for revenue values. Defaults to USD if not specified.
Supported currencies: USD, EUR, GBP, CAD, AUD, JPY, CNY, INR, BRL, SEK, NOK, DKK, SGD, HKD, NZD, THB, IDR, TRY, TWD, ILS, AED, RUB Example: To find companies with revenue between $10M-$50M:

Pipecorn database filters

With live: false, the search runs on the Pipecorn company database and accepts the same filters as the company search in the app. With live: true (Sales Navigator), sending any of them answers 422 naming the filters it can’t apply. Departments are LinkedIn’s: Accounting, Administrative, Arts and Design, Business Development, Community and Social Services, Consulting, Customer Success and Support, Education, Engineering, Entrepreneurship, Finance, Healthcare Services, Human Resources, Information Technology, Legal, Marketing, Media and Communication, Military and Protective Services, Operations, Product Management, Program and Project Management, Purchasing, Quality Assurance, Real Estate, Research, Sales. Example: privately held companies founded since 2018 that raised in the last year and grew Sales by at least 20%:
Example: French SaaS companies with a Head of Sales but no RevOps yet:
A title search is answered from the people behind each company. When the other filters match more than 60,000 companies and a title is very common (CEO, Engineer), it keeps the companies with the most matching people, so narrow the search with other filters for an exact answer.

Activity codes

Use industry_codes to include companies and excluded_industry_codes to exclude them. Both filters take objects with system and code. An optional label is accepted and ignored. These filters and legal_ids work with live: false on both search and preview, regardless of your workspace’s Local business settings. A code matches itself and all its descendants. Codes within each filter are combined with OR. A company without activity codes matches none of the supplied codes, so an inclusion filter leaves it out and an exclusion filter alone keeps it eligible. An unknown system or code returns 422 and identifies the invalid value. This search matches companies with NAICS 5415 or any of its descendants, including 541511 and 541512.

Limits

By default, the endpoint will process up to 1,000 matching accounts. You can set a lower limit using the limit parameter. The minimum of your specified limit and 1,000 will be used. limit must be a positive integer: a value that is not a whole number answers 422 with "Limit must be an integer", and 0 or a negative value with "Limit must be greater than 0". A webhook_url that is not an http or https URL answers 422 with "Invalid webhook_url format".

Streaming Mode

When streaming is set to true, results will be sent to your webhook in batches as they are processed, rather than all at once when complete. This is useful for large searches where you want to start processing results immediately.

Response

The endpoint returns immediately with:
  • A unique import job ID for tracking
  • The total number of accounts that will be processed
  • A preview of the first 10 matching accounts
The complete enriched results will be sent to your webhook URL when processing is complete. With live: false, each preview account includes industry_codes (system, code, label) and legal_ids (type, value). Each field is an empty array when no data is available. The company import webhook also includes both fields on each company. The list returned by GET /lists/{id} omits them.

Example Use Cases

Find SaaS companies in US tech hubs

Target European fintech startups

Find large automotive companies excluding specific regions

Find high-revenue tech companies in Europe

Authorizations

X-API-KEY
string
header
required

Your API key

Headers

Idempotency-Key
string

A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.

Maximum string length: 255
Example:

"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"

Body

application/json
webhook_url
string<uri>
required

Webhook URL (http or https) to receive the processed results

Example:

"https://webhook.site/8b53c96f-f2cd-4c24-bc09-b3c2176d7ea8"

name
string

Name for the import job

Example:

"Tech Companies in US"

included_industries
string[]

List of industry IDs to include in the search

Example:
excluded_industries
string[]

List of industry IDs to exclude from the search

Example:
included_locations
string[]

List of location IDs to include in the search. Use the /locations endpoint to get valid location IDs

Example:
excluded_locations
string[]

List of location IDs to exclude from the search

Example:
company_size
enum<string>[]

Company size ranges to include

Available options:
1-10,
11-50,
51-200,
201-500,
501-1000,
1001-5000,
5001-10000,
10001+
Example:
keyword
string

Keyword to search for in company names or descriptions

Example:

"saas"

min_revenue
enum<number>

Minimum annual revenue in millions. Valid values: 0, 0.5, 1, 2.5, 5, 10, 20, 50, 100, 500, 1000

Available options:
0,
0.5,
1,
2.5,
5,
10,
20,
50,
100,
500,
1000
Example:

10

max_revenue
enum<number>

Maximum annual revenue in millions. Valid values: 0.5, 1, 2.5, 5, 10, 20, 50, 100, 500, 1000, 1001 (where 1001 represents $1B+)

Available options:
0.5,
1,
2.5,
5,
10,
20,
50,
100,
500,
1000,
1001
Example:

50

revenue_currency
enum<string>
default:USD

Currency code for revenue values. Defaults to USD if not specified

Available options:
USD,
EUR,
GBP,
CAD,
AUD,
JPY,
CNY,
INR,
BRL,
SEK,
NOK,
DKK,
SGD,
HKD,
NZD,
THB,
IDR,
TRY,
TWD,
ILS,
AED,
RUB
Example:

"USD"

company_types
enum<string>[]

Company types to include. Requires live: false (Pipecorn database); with live: true the request answers 422.

Available options:
Public Company,
Privately Held,
Non Profit,
Educational Institution,
Partnership,
Self-Employed,
Self Owned,
Government Agency
Example:
business_models
enum<string>[]

Business models to include. Requires live: false (Pipecorn database); with live: true the request answers 422.

Available options:
saas
Example:
min_headcount
integer

Minimum number of employees. A custom range set with min_headcount/max_headcount replaces company_size. Requires live: false (Pipecorn database); with live: true the request answers 422.

Required range: x >= 0
Example:

20

max_headcount
integer

Maximum number of employees. Requires live: false (Pipecorn database); with live: true the request answers 422.

Required range: x >= 0
Example:

80

min_year_founded
integer

Founded in or after this year. Requires live: false (Pipecorn database); with live: true the request answers 422.

Example:

2015

max_year_founded
integer

Founded in or before this year. Requires live: false (Pipecorn database); with live: true the request answers 422.

Example:

2022

last_funding_within_days
integer

Last funding round raised within this many days (the app offers 30, 90 and 365). Requires live: false (Pipecorn database); with live: true the request answers 422.

Required range: x >= 1
Example:

365

min_last_funding_amount
number

Minimum size of the last funding round, in USD millions. Requires live: false (Pipecorn database); with live: true the request answers 422.

Required range: x >= 0
Example:

5

max_last_funding_amount
number

Maximum size of the last funding round, in USD millions. 1001 means no upper bound. Requires live: false (Pipecorn database); with live: true the request answers 422.

Required range: x >= 0
Example:

50

headcount_growth_period
enum<string>
default:yoy

Window the headcount growth filters measure over: month, quarter, six months or year. Requires live: false (Pipecorn database); with live: true the request answers 422.

Available options:
mom,
qoq,
six_months,
yoy
min_headcount_growth
number

Minimum company headcount growth over headcount_growth_period, in percent. Can be negative. Requires live: false (Pipecorn database); with live: true the request answers 422.

Example:

10

max_headcount_growth
number

Maximum company headcount growth over headcount_growth_period, in percent. Requires live: false (Pipecorn database); with live: true the request answers 422.

Example:

50

department_headcounts
object[]

Headcount rules per department, e.g. at least 10 people in Sales. A rule with no bounds keeps companies that have the department. Requires live: false (Pipecorn database); with live: true the request answers 422.

department_headcount_match
enum<string>
default:all

Whether every department_headcounts rule must hold (all) or at least one (any). Requires live: false (Pipecorn database); with live: true the request answers 422.

Available options:
all,
any
department_growths
object[]

Headcount growth rules per department, in percent over headcount_growth_period. Requires live: false (Pipecorn database); with live: true the request answers 422.

department_growth_match
enum<string>
default:all

Whether every department_growths rule must hold (all) or at least one (any). Requires live: false (Pipecorn database); with live: true the request answers 422.

Available options:
all,
any
min_monthly_visitors
integer

Minimum monthly website visitors. Requires live: false (Pipecorn database); with live: true the request answers 422.

Required range: x >= 0
Example:

10000

max_monthly_visitors
integer

Maximum monthly website visitors. Requires live: false (Pipecorn database); with live: true the request answers 422.

Required range: x >= 0
monthly_visitor_growth_period
enum<string>
default:mom

Window the website traffic growth filters measure over: month or quarter. Requires live: false (Pipecorn database); with live: true the request answers 422.

Available options:
mom,
qoq
min_monthly_visitor_growth
number

Minimum website traffic growth over monthly_visitor_growth_period, in percent. Requires live: false (Pipecorn database); with live: true the request answers 422.

Example:

20

max_monthly_visitor_growth
number

Maximum website traffic growth over monthly_visitor_growth_period, in percent. Requires live: false (Pipecorn database); with live: true the request answers 422.

included_company_lists
string<uuid>[]

Only return companies saved in these company lists (ids from GET /lists). An unknown id answers 422. Requires live: false (Pipecorn database); with live: true the request answers 422.

excluded_company_lists
string<uuid>[]

Leave out companies saved in these company lists (ids from GET /lists). An unknown id answers 422. Requires live: false (Pipecorn database); with live: true the request answers 422.

competitors_of
string[]

Only return the competitors (organic and paid search) of these companies, given as LinkedIn company ids. Up to 10. Requires live: false (Pipecorn database); with live: true the request answers 422.

Maximum array length: 10
Example:
with_job_titles
string[]

Only return companies where someone currently holds one of these job titles. Titles match like job_titles on lead search: CTO also finds CTO & Co-Founder; put a title in quotes ("Owner") for an exact match. Up to 25. Requires live: false (Pipecorn database); with live: true the request answers 422.

Maximum array length: 25
Example:
without_job_titles
string[]

Only return companies where no one currently holds any of these job titles. Same matching as with_job_titles. Up to 25. Requires live: false (Pipecorn database); with live: true the request answers 422.

Maximum array length: 25
Example:
industry_codes
object[]

Include companies matching any of these NAF or NAICS activity codes or their descendants. Requires live: false; with live: true the request answers 422.

Example:
excluded_industry_codes
object[]

Exclude companies matching any of these NAF or NAICS activity codes or their descendants. Requires live: false; with live: true the request answers 422.

Example:

Match any of the supplied French SIRENs. A SIRET is accepted and matched using its SIREN. Requires live: false; with live: true the request answers 422.

Maximum array length: 1000
Example:
limit
integer

Maximum number of accounts to extract: a positive integer. Values above 1000 are capped at 1000 (default: 1000)

Example:

100

streaming
boolean
default:false

Enable streaming mode for real-time results

Example:

false

live
boolean
default:true

Data source toggle. true (default) searches live through LinkedIn Sales Navigator and requires a connected Sales Navigator integration. false serves the count, preview, and extracted accounts from Pipecorn's companies database (Elasticsearch) instead, with no integration required. A non-boolean value returns 422.

Example:

true

Response

Account search started successfully

message
string
Example:

"Account search started successfully. You will receive the results on your webhook shortly."

id
string<uuid>

Unique identifier for the import job

Example:

"8e1dcba0-f0bb-4071-99fc-f18ba6559ccc"

total
integer

Total number of accounts that will be processed

Example:

342

preview
object[]

Preview of the first 10 matching accounts. With live: false, each account also carries its location, domain, website, description, headcount, company type, founding year, business models, activity codes and legal identifiers.

status_url
string<uri>

Where to poll the import: GET /lists/{id}. Same value as the Location header.

Example:

"https://app.pipecorn.com/api/v2/lists/8e1dcba0-f0bb-4071-99fc-f18ba6559ccc"