
LinkedIn Sales Navigator Lead Search
POST/v1/run/linkedin.search_leads
The final charge depends on what comes back. It shows after Run.
up to$0.0763per call
Response-basedThe price is worked out from the usage reported in the response, never more than $0.0763 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 99.7% success · 2,291 ms median · 30 days
About this endpoint
LinkedIn lead search with Sales Navigator's search and filters: one call returns a page of up to 25 people matching a keyword and Sales Navigator lead filters (location, job title, current and past company, school, seniority, function, company size, and more), or the results of a Sales Navigator lead-search URL you built yourself. Each lead comes with name, current positions, location, summary, and photo, and its url opens the profile and can be passed to linkedin.profile for the full record. For full profiles in one call use linkedin.search_profiles. Price: \$70.00 per 1,000 requests (flat per request - same cost regardless of results returned). Routing: one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy. Catalog: [LinkedIn Sales Navigator Lead Search pricing and uptime](https://getanyapi.com/api/linkedin/search-leads) - live USD price, lane routing, and measured 30-day uptime. [
Query parameters
fieldsstringOptional. Comma-separated keys (dotted paths like author.name descend into nested objects) to keep on each result item: each row of the API's result list, or the data object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use jq to reshape the whole envelope. Shrinks the response without changing cost.max_itemsintegerOptional. Cap the number of result rows returned; a _truncated note reports how many were withheld so you can page via the API's own limit. An API that returns one record is not trimmed. Does not change cost.summarybooleanOptional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.jqstringOptional. A jq expression applied to the result envelope; its output replaces output (multiple outputs collect into an array). Reshape freely, e.g. jq=.data | {title, description, md: .markdown[:3500]}. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a jqError. Does not change cost.max_cost_usdstringOptional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.Body parameters
allowFallbacksbooleanOptional, default true. When false, only the sources listed in source may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.companyHeadcountstringFilter by current company size (employee count). Codes: A=Self-Employed, B=1-10, C=11-50, D=51-200, E=201-500, F=501-1,000, G=1,001-5,000, H=5,001-10,000, I=10,001+.companyHeadquarterLocationsstringFilter by the location of the person's current company headquarters, by place name (e.g. ['United States']). Commas are not allowed in a value. Up to 70 values.currentCompaniesstringFilter to people who currently work at any of these companies, by name (e.g. ['Google','Meta']). Multiple names widen the match (OR). Commas are not allowed in a value. Up to 50 values.excludeCompanyHeadquarterLocationsstringExclude people whose current company is headquartered in any of these locations. Commas are not allowed in a value. Up to 70 values.excludeCurrentCompaniesstringExclude people who currently work at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.excludeCurrentJobTitlesstringExclude people whose current job title matches any of these. Commas are not allowed in a value. Up to 70 values.excludeFunctionIdsstringExclude these job functions (same codes as functionIds). Up to 30 values.excludeLocationsstringExclude people in any of these locations, by place name. Commas are not allowed in a value. Up to 70 values.excludePastCompaniesstringExclude people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.excludePastJobTitlesstringExclude people who held any of these past job titles. Commas are not allowed in a value. Up to 70 values.excludeSchoolsstringExclude people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.excludeSeniorityLevelIdsstringExclude these seniority levels (same codes as seniorityLevelIds). Up to 20 values.firstNamesstringFilter to people whose first name matches any of these. Commas are not allowed in a value. Up to 70 values.functionIdsstringFilter by job function. Codes: 1=Accounting, 2=Administrative, 3=Arts and Design, 4=Business Development, 5=Community and Social Services, 6=Consulting, 7=Education, 8=Engineering, 9=Entrepreneurship, 10=Finance, 11=Healthcare Services, 12=Human Resources, 13=Information Technology, 14=Legal, 15=Marketing, 16=Media and Communication, 17=Military and Protective Services, 18=Operations, 19=Product Management, 20=Program and Project Management, 21=Purchasing, 22=Quality Assurance, 23=Real Estate, 2ignoreSourcesstringOptional. Source ids to skip for this request, taken from this endpoint's lanes[].source.id. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in source, is rejected as invalid input with no charge; skipping every source is rejected the same way.jobTitlestringOptional current job title filter (e.g. 'Software Engineer'). Commas are not allowed in a value.lastNamesstringFilter to people whose last name matches any of these. Commas are not allowed in a value. Up to 70 values.locationstringOptional location filter (e.g. 'San Francisco'). Commas are not allowed in a value.pageintegerWhich page of up to 25 leads to return, starting at 1 (1-100, default 1). Also pages through a salesNavUrl search. Each page is billed as one request.pastCompaniesstringFilter to people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.pastJobTitlesstringFilter by a past job title the person held (e.g. ['Product Manager']). Commas are not allowed in a value. Up to 70 values.preferLatencyUnderMsintegerOptional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the bprofileLanguagesstringFilter by the profile's primary language.querystringSearch keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.recentlyChangedJobsbooleanWhen true, only return people who recently changed jobs (a strong sales/recruiting signal).recentlyPostedOnLinkedInbooleanWhen true, only return people who recently posted on LinkedIn (an activity signal).salesNavUrlstringAlternatively, a LinkedIn Sales Navigator lead-search URL you built in Sales Navigator (e.g. https://www.linkedin.com/sales/search/people?query=(keywords%3Aengineer)). When set it overrides query and every other filter on this request; only page still applies.schoolsstringFilter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.seniorityLevelIdsstringFilter by seniority level. Codes: 100=In Training, 110=Entry Level, 120=Senior, 130=Strategic, 200=Entry Level Manager, 210=Experienced Manager, 220=Director, 300=Vice President, 310=CXO, 320=Owner/Partner.sourcestringOptional. Source ids to prefer, in order, taken from this endpoint's lanes[].source.id in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless allowFallbacks is false. A single source with allowFallbacks false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this eyearsAtCurrentCompanyIdsstringFilter by tenure at the current company. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.yearsOfExperienceIdsstringFilter by total years of experience. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.Response types
costUsdUSD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.numberhintOptional one-line nudge, absent when there is nothing to say. large_result: suggests the fields/max_items/summary/jq controls for a big response. paging_unavailable: means this result came from a source that cannot return a nextCursor, so it may be INCOMPLETE and cannot be continued - re-run with requireFields: ["nextCursor"] to be served only by a source that can page, which may cost more per request. malformed_query: means X read your search query differently than it looks (adjacent stringitemsNumber of result rows returned; an API that returns one record counts it as one row. For per-result APIs the per-item cost is charged against this count; for input-priced APIs the charge is per submitted input, independent of this count.integerjqErrorPresent only when a jq expression failed; output then carries the full unshaped result and this explains why the reshape did not apply.stringproviderAlways "AnyAPI".stringreplayedTrue when this response replays the durable result of an earlier run without billing or upstream execution.booleanresultIdOpaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache.stringMore from AnyAPI
- YouTube Channel ShortsPOST/v1/run/youtube.channel_shortsUp to $0.003488 per callResponse-based
- YouTube Hashtag SearchPOST/v1/run/youtube.search_hashtagUp to $0.001308 per callResponse-based
- TikTok Shop Store ProductsPOST/v1/run/tiktok_shop.shop_productsUp to $0.001308 per callResponse-based
- Upwork JobsPOST/v1/run/upwork.jobsUp to $0.031174 per callResponse-based
- Google AutocompletePOST/v1/run/google.autocompleteUp to $0.001079 per callResponse-based
- Reddit Subreddit PostsPOST/v1/run/reddit.subreddit_postsUp to $0.001308 per callResponse-based
- App Store SearchPOST/v1/run/appstore.searchUp to $0.000927 per callResponse-based
- Glassdoor JobsPOST/v1/run/glassdoor.jobsUp to $0.1199 per callResponse-based
- X / Twitter User SearchPOST/v1/run/twitter.search_usersUp to $0.002289 per callResponse-based
- Instagram Profile Contact InfoPOST/v1/run/instagram.profile_contactUp to $0.007859 per callResponse-based
- Redfin SearchPOST/v1/run/redfin.searchUp to $0.014824 per callResponse-based
- TikTok Trending FeedPOST/v1/run/tiktok.trending_feedUp to $0.001308 per callResponse-based
Similar endpoints
- HarvestAPI · Search LinkedIn Leads (Sales Navigator filters)GET/linkedin/lead-searchUp to $0.12 per callResponse-based
- Bytemine · LinkedIn profile searchPOST/v1/linkedin/profile-search$0.02725 per profile returnedResponse-based · up to $1.3625
- Airscale · Search LinkedIn postsPOST/v1/post-searchUp to $0.004088 per callResponse-based
- Edges · Salesnav Search PeoplePOST/actions/salesnavigator-search-people/run/live$0.88 per callFixed
- Leadsforge · Search PeoplePOST/search$0.005 per callFixed
- CaptainData · Search PeopleGET/people/search$2.29 per callFixed