How to search LinkedIn Sales Navigator leads by filters
Run a LinkedIn Sales Navigator lead search with filters and get up to 25 matching people per page for outreach or research
On this page
You have 25 engineering leaders at Google to shortlist for an outreach sprint, and the deliverable is a table of their names, current roles and locations from a Sales Navigator lead search. The search uses anyapi.linkedin.search_leads with query set to engineer, currentCompanies set to Google, and seniorityLevelIds set to 220 and 300
The worksheet below is the deliverable design: one row per lead, with the fields the search returns. No run has been executed for this guide; the tables are designs, not results
Set up the worksheet
The table has seven columns: firstName, lastName, currentPositions.title, currentPositions.companyName, location, about and url. Values here are placeholders showing the shape
firstName | lastName | currentPositions.title | currentPositions.companyName | location | about | url |
|---|---|---|---|---|---|---|
| Example first | Example last | Director of Engineering | Example city | Example summary | Response url value |
Use the same row order as the pages you receive. The table is a shortlist aid for an outreach sprint, so the role and location columns carry the first pass. The url column is the thread back to the profile record
Build the search input
anyapi.linkedin.search_leads takes either query or salesNavUrl; the remaining fields are optional filters. query is a role, name, or keywords. salesNavUrl is a LinkedIn Sales Navigator lead-search URL that overrides query and the other filters on the request, with only page still applying. Agents call it through POST /v1/runs with toolId anyapi.linkedin.search_leads
Example input: {"query":"engineer","currentCompanies":["Google"],"seniorityLevelIds":["220","300"]}
Array filters use the contract values without commas inside a value. Multiple values in currentCompanies widen the match, and the field accepts up to 50 names. companyHeadcount takes codes A through I; functionIds takes 1 through 26. Use the contract codes for seniorityLevelIds, yearsOfExperienceIds and yearsAtCurrentCompanyIds. The contract maps 220 to Director and 300 to Vice President. page defaults to 1 and accepts 1-100
Page through results and read the fields
Read found first. It is true when the page returned at least one lead. When it is false, reason is not_found, and the contract calls that a successful call, not an error. The rows sit in data.items; each item carries firstName, lastName, currentPositions with title and companyName, location, about and url. about is the summary text when the member wrote one, so an empty about is a normal gap. url opens the profile. For the profile step, see LinkedIn profile data for a list
currentPositions is the current roles array; the table takes the role title and company name from that array. location is one string with city, region and country. Use the returned url value as it comes; it is the member-id form and opens the profile on LinkedIn
One call returns up to 25 leads, and each page is billed as one request. To reach 25 rows, run one page; for five 25-lead pages, run five calls. Use data.totalPages and data.totalResults to plan the page loop, and data.page to confirm which page you hold. For a messaging step, openProfile says whether the member accepts messages from people outside their network
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search LinkedIn Sales Navigator leads for the Example input below. Check the current inputs and price of anyapi.linkedin.search_leads before running anything. Use query "engineer", currentCompanies ["Google"], and seniorityLevelIds ["220","300"]. Start at page 1 and page through until you have 25 rows or data.totalPages is reached. Return a table with firstName, lastName, currentPositions.title, currentPositions.companyName, location, about and url. Do not guess missing values. Do not send messages.
Example input: {"query":"engineer","currentCompanies":["Google"],"seniorityLevelIds":["220","300"]}Estimated tool cost
Prices from the Purrkey catalog, read November 13, 2026. One max_call is the unit: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The table totals are ceilings, not settled charges
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| One 25-lead page | 1 call x max price | $0.07 per call | 1 | $0.07 |
| Five 25-lead pages | 5 calls x max price | $0.07 per call | 5 | $0.35 |
The planned quantity counts calls, not rows. Model fees for the agent are not counted
Start with one page
Open LinkedIn tools, run the Example input for one page, and review the worksheet before you page further. One page gives you a sheet to check before you spend on five pages
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with LinkedIn.FAQ
How do I search LinkedIn Sales Navigator leads by filters?
Provide query plus optional filters such as currentCompanies and seniorityLevelIds, or provide a salesNavUrl copied from Sales Navigator. Each call returns a page of up to 25 leads.
What input does anyapi.linkedin.search_leads take?
It takes either query or salesNavUrl, plus optional filters for location, company, title, school, seniority, function, company size and tenure. page defaults to 1 and accepts 1-100.
What seniority codes are Director and Vice President?
The contract maps 220 to Director and 300 to Vice President. Put those codes in seniorityLevelIds.
How many leads does one page return?
One call returns up to 25 leads, and each page is billed as one request. page defaults to 1 and accepts 1-100.
How much does a 25-lead page cost?
At up to $0.07 per call, one 25-lead page is at most $0.07. Five pages are at most $0.35.
What does found false mean?
It means the page returned no lead, with reason set to not_found when present. The contract calls a found: false answer a successful call, not an error.
Can I use a Sales Navigator URL instead of query filters?
Yes. salesNavUrl takes a LinkedIn Sales Navigator lead-search URL and overrides query and the other filters; only page still applies.
Next step
Try this with LinkedIn
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.