Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

LinkedIn Sales Navigator Lead Search

API 文件
https://api.sandbase.ai/v1/api/linkedin/search-leads

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.

價格
自 $0.07 起美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 29 個選填

Playground

輸入
1100
Which 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. 範圍:1 到 100。
Search keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.
Filter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
Optional current job title filter (e.g. 'Software Engineer'). Commas are not allowed in a value.
Optional location filter (e.g. 'San Francisco'). Commas are not allowed in a value.
Filter to people whose last name matches any of these. Commas are not allowed in a value. Up to 70 values.
Filter to people whose first name matches any of these. Commas are not allowed in a value. Up to 70 values.
Filter 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, 24=Research, 25=Sales, 26=Customer Success and Support.
Alternatively, 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.
Filter to people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.
Filter by a past job title the person held (e.g. ['Product Manager']). Commas are not allowed in a value. Up to 70 values.
Exclude people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
Filter 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+.
Filter 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.
Exclude people in any of these locations, by place name. Commas are not allowed in a value. Up to 70 values.
Filter by the profile's primary language.
Filter 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.
Exclude these job functions (same codes as functionIds). Up to 30 values.
When true, only return people who recently changed jobs (a strong sales/recruiting signal).
Exclude people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.
Exclude people who held any of these past job titles. Commas are not allowed in a value. Up to 70 values.
Filter 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.
Exclude people who currently work at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.
Exclude people whose current job title matches any of these. Commas are not allowed in a value. Up to 70 values.
Exclude these seniority levels (same codes as seniorityLevelIds). Up to 20 values.
When true, only return people who recently posted on LinkedIn (an activity signal).
Filter 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.
Filter 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.
Exclude people whose current company is headquartered in any of these locations. Commas are not allowed in a value. Up to 70 values.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

LinkedIn Sales Navigator Lead Search API

Returns a page of up to 25 LinkedIn leads that match a keyword and Sales Navigator filters such as location, job title, current and past company, school, seniority, function, and company size. You can also pass a Sales Navigator lead-search URL you built yourself. Each lead includes name, location, current positions, and a profile URL.

Use cases

  • Build a prospect list of engineers at a target company, filtered by seniority or location.
  • Find people who recently changed jobs at accounts you sell to.
  • Size a market by reading how many leads match a title and company filter.
  • Collect profile URLs to pass to a full profile lookup for enrichment.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/search-leads" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "engineer", "currentCompanies": ["Google"]}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
companyHeadcountarrayNoFilter 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+.
companyHeadquarterLocationsarrayNoFilter 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.
currentCompaniesarrayNoFilter 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.
excludeCompanyHeadquarterLocationsarrayNoExclude people whose current company is headquartered in any of these locations. Commas are not allowed in a value. Up to 70 values.
excludeCurrentCompaniesarrayNoExclude people who currently work at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.
excludeCurrentJobTitlesarrayNoExclude people whose current job title matches any of these. Commas are not allowed in a value. Up to 70 values.
excludeFunctionIdsarrayNoExclude these job functions (same codes as functionIds). Up to 30 values.
excludeLocationsarrayNoExclude people in any of these locations, by place name. Commas are not allowed in a value. Up to 70 values.
excludePastCompaniesarrayNoExclude people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.
excludePastJobTitlesarrayNoExclude people who held any of these past job titles. Commas are not allowed in a value. Up to 70 values.
excludeSchoolsarrayNoExclude people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
excludeSeniorityLevelIdsarrayNoExclude these seniority levels (same codes as seniorityLevelIds). Up to 20 values.
firstNamesarrayNoFilter to people whose first name matches any of these. Commas are not allowed in a value. Up to 70 values.
functionIdsarrayNoFilter 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=Heal
jobTitlestringNoOptional current job title filter (e.g. 'Software Engineer'). Commas are not allowed in a value.
lastNamesarrayNoFilter to people whose last name matches any of these. Commas are not allowed in a value. Up to 70 values.
locationstringNoOptional location filter (e.g. 'San Francisco'). Commas are not allowed in a value.
pageintegerNoWhich 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.
pastCompaniesarrayNoFilter to people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.
pastJobTitlesarrayNoFilter by a past job title the person held (e.g. ['Product Manager']). Commas are not allowed in a value. Up to 70 values.
profileLanguagesarrayNoFilter by the profile's primary language.
querystringNoSearch keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.
recentlyChangedJobsbooleanNoWhen true, only return people who recently changed jobs (a strong sales/recruiting signal).
recentlyPostedOnLinkedInbooleanNoWhen true, only return people who recently posted on LinkedIn (an activity signal).
salesNavUrlstringNoAlternatively, 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 o
schoolsarrayNoFilter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
seniorityLevelIdsarrayNoFilter 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.
yearsAtCurrentCompanyIdsarrayNoFilter 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.
yearsOfExperienceIdsarrayNoFilter 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.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "items": [
      {
        "currentPositions": [
          {
            "companyId": "1594050",
            "companyLinkedinUrl": "https://www.linkedin.com/company/1594050",
            "companyName": "Google DeepMind",
            "startedOn": {
              "month": 7,
              "year": 2022
            },
            "tenureAtCompany": {
              "numMonths": 5,
              "numYears": 4
            },
            "tenureAtPosition": {
              "numMonths": 5,
              "numYears": 4
            },
            "title": "Research Engineer"
          }
        ],
        "firstName": "Alexander",
        "id": "ACwAACLLZ6oB9J9aXtDSl9zhfkbOI0ZSz9Fr330",
        "image": "https://media.licdn.com/dms/image/v2/C4D03AQHxbnfouwCB7w/profile-displayphoto-sh…",
        "lastName": "Donovan",
        "location": "New York City Metropolitan Area",
        "openProfile": false,
        "premium": false,
        "url": "https://www.linkedin.com/in/ACwAACLLZ6oB9J9aXtDSl9zhfkbOI0ZSz9Fr330"
      }
    ],
    "page": 1,
    "totalPages": 100,
    "totalResults": 141476
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].firstName / data.items[].lastNameFirst and last name of the lead.
data.items[].idSales Navigator ID of the lead. The same value appears at the end of url.
data.items[].urlLinkedIn profile URL for the lead. Pass it to a profile API to get the full record.
data.items[].locationLocation text from the lead's profile, such as San Francisco Bay Area.
data.items[].currentPositions[].titleJob title of the current position.
data.items[].currentPositions[].companyNameName of the company for the current position.
data.items[].currentPositions[].companyId / data.items[].currentPositions[].companyLinkedinUrlID of the company and the LinkedIn URL of its company page.
data.items[].currentPositions[].startedOn.month / data.items[].currentPositions[].startedOn.yearMonth and year when the person started the current position.
data.items[].currentPositions[].tenureAtCompany.numYears / data.items[].currentPositions[].tenureAtCompany.numMonthsTime the person has spent at the company, split into years and months. numYears is missing when the tenure is under a year.
data.items[].premium / data.items[].openProfileBoolean flags for whether the lead has a premium account and whether the profile is marked open.

Notes

  • Set page from 1 to 100 to move through results. data.page, data.totalPages and data.totalResults show where you are in the result set.
  • Provide query or salesNavUrl. When you set salesNavUrl, it overrides query and all other filters, and only page still applies.
  • image is missing for some leads, so check for it before use.
  • To get the full record for a lead, pass its url to LinkedIn User Profile. For full profiles in one search call, use LinkedIn Profile Search.

Pricing

Billed at the actual cost of each call, about $0.07 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
LinkedIn每次呼叫 $0.07 起JSON
LinkedIn每次呼叫 $0.0012 起JSON
LinkedIn每次呼叫 $0.0331 起JSON
LinkedIn每次呼叫 $0.0012 起JSON
LinkedIn每次呼叫 $0.00569 起JSON
LinkedIn每次呼叫 $0.0026 起JSON

指南:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared

問題

常見問題

我要如何使用 LinkedIn Sales Navigator Lead Search API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/linkedin/search-leads。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

LinkedIn Sales Navigator Lead Search API 的費用是多少?

每次起 $0.07,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

LinkedIn Sales Navigator Lead Search API 接受哪些參數?

不需要任何參數。 選填:page (integer), query (string), schools (array), jobTitle (string), location (string) 和 lastNames (array),以及另外 23 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

LinkedIn Sales Navigator Lead Search API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 LinkedIn 開發者帳號或 API 金鑰嗎?

不需要。LinkedIn Sales Navigator Lead Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 LinkedIn API 存取權。