Skip to main content

Search Leads

POST /search-leads

Search for employees/leads using Sales Navigator filters. This is an asynchronous endpoint that creates a search job.

How the Process Works

  • Launch your search with specific criteria via this endpoint.
  • This endpoint returns a request_id for tracking progress.
  • This step costs 50 credits, even if the search returns 0 results.

Step 2: Monitor Search Progress

Step 3: Retrieve Results

  • Once the search is complete, access the results via the Get Lead Results endpoint.
  • Retrieving each result incurs 1 credit.

For tutorials and demo code, see How to Search Leads.

Parameters

You can either provide search filters OR a Sales Navigator URL.

Option 1: Search Filters

ParameterTypeRequiredDescription
title_keywordsarrayNoJob titles to search for (e.g., ["CEO", "Founder"])
current_company_namesarrayNoCurrent company names
current_company_idsarrayNoCurrent company LinkedIn IDs
past_company_namesarrayNoPast company names
past_company_idsarrayNoPast company LinkedIn IDs
geo_codesarrayNoLocation geo codes
industry_codesarrayNoIndustry codes
school_idsarrayNoSchool LinkedIn IDs
keywordsstringNoGeneral search keywords
limitintegerNoMax results (1-2500, default: 100)

Option 2: Sales Navigator URL

ParameterTypeRequiredDescription
sales_nav_urlstringYesLinkedIn Sales Navigator search URL
limitintegerNoMax results (1-2500, default: 100)

See Understanding Employee Search Filters for all available filters and geo codes.

Example Request

curl --request POST \
--url https://api.infoplug.io/search-leads \
--header 'Content-Type: application/json' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY' \
--data '{
"geo_codes": [103644278],
"title_keywords": ["CEO", "Founder"],
"current_company_names": ["Google", "Microsoft"],
"limit": 100
}'

Example Response

{
"message": "Employee search job created",
"request_id": "search-leads-1234567890-abc123",
"status": "processing",
"search_type": "standard"
}