Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

LinkedIn Profile Search

API 文档
https://api.sandbase.ai/v1/api/linkedin/search-profiles

Search LinkedIn profiles by keyword with optional location and job-title filters. Each match returns a full profile record: name, headline, location, current position, work experience, education, and skills, plus the profile URL, handle, and id. For a cheaper name/headline/URL-only search use linkedin.search_profiles_thin; add emails with linkedin.search_profiles_email.

价格
起价 $0.198美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 27 个可选

Playground

输入
Search query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').
125
Maximum number of full profiles to return (1-25, default 10). You are billed per profile returned, so a lower limit costs less. 范围:1 到 25。
Filter to people who attended any of these schools, by name.
Optional current job title filter (e.g. 'Software Engineer').
Optional location filter (e.g. 'San Francisco').
Filter to people whose last name matches any of these.
Filter to people whose first name matches any of these.
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.
Filter to people who previously worked at any of these companies, by name.
Filter by a past job title the person held (e.g. ['Product Manager']).
Exclude people who attended any of these schools, by name.
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).
Exclude people in any of these locations, by place name.
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).
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.
Exclude people who held any of these past job titles.
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.
Exclude people whose current job title matches any of these.
Exclude these seniority levels (same codes as seniorityLevelIds).
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']).
Exclude people whose current company is headquartered in any of these locations.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

LinkedIn Profile Search API

Returns full LinkedIn profile records that match a keyword search. The only required input is query, and you can narrow results with filters such as currentCompanies, location, jobTitle, schools, and seniorityLevelIds.

Use cases

  • Build a list of engineers who currently work at a target company, with their work history and skills.
  • Find recruiting candidates by job function, seniority level, and years of experience.
  • Spot people who recently changed jobs and reach out while the move is new.
  • Collect profile URLs and ids for a set of people, then pull their posts or activity with other LinkedIn APIs.

Request

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

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

Parameters

NameTypeRequiredDescription
querystringYesSearch query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').
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']).
currentCompaniesarrayNoFilter to people who currently work at any of these companies, by name (e.g. ['Google','Meta']). Multiple names widen the match (OR).
excludeCompanyHeadquarterLocationsarrayNoExclude people whose current company is headquartered in any of these locations.
excludeCurrentCompaniesarrayNoExclude people who currently work at any of these companies, by name.
excludeCurrentJobTitlesarrayNoExclude people whose current job title matches any of these.
excludeFunctionIdsarrayNoExclude these job functions (same codes as functionIds).
excludeLocationsarrayNoExclude people in any of these locations, by place name.
excludePastCompaniesarrayNoExclude people who previously worked at any of these companies, by name.
excludePastJobTitlesarrayNoExclude people who held any of these past job titles.
excludeSchoolsarrayNoExclude people who attended any of these schools, by name.
excludeSeniorityLevelIdsarrayNoExclude these seniority levels (same codes as seniorityLevelIds).
firstNamesarrayNoFilter to people whose first name matches any of these.
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').
lastNamesarrayNoFilter to people whose last name matches any of these.
limitintegerNoMaximum number of full profiles to return (1-25, default 10). You are billed per profile returned, so a lower limit costs less.
locationstringNoOptional location filter (e.g. 'San Francisco').
pastCompaniesarrayNoFilter to people who previously worked at any of these companies, by name.
pastJobTitlesarrayNoFilter by a past job title the person held (e.g. ['Product Manager']).
profileLanguagesarrayNoFilter by the profile's primary language.
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).
schoolsarrayNoFilter to people who attended any of these schools, by name.
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": [
      {
        "about": "Software engineer focused on Gemini AI agent security and safety. Experience in …",
        "city": "San Francisco",
        "connectionsCount": 773,
        "country": "United States",
        "countryCode": "US",
        "coverImage": "https://media.licdn.com/dms/image/v2/D5616AQF4qWL-k2s3EA/profile-displaybackgrou…",
        "creator": false,
        "currentPosition": [
          {
            "companyId": "1594050",
            "companyLinkedinUrl": "https://www.linkedin.com/company/googledeepmind/",
            "companyLogo": {
              "sizes": [
                {
                  "height": 400,
                  "url": "https://media.licdn.com/dms/image/v2/D4E0BAQEntrYwxPlbQA/company-logo_400_400/co…",
                  "width": 400
                }
              ],
              "url": "https://media.licdn.com/dms/image/v2/D4E0BAQEntrYwxPlbQA/company-logo_400_400/co…"
            },
            "companyName": "Google DeepMind",
            "companyUniversalName": "googledeepmind",
            "description": "- Building systems for agentic AI security for the latest Gemini models, includi…",
            "duration": "5 mos",
            "employmentType": "Full-time"
          }
        ],
        "education": [
          {
            "degree": "BS",
            "description": "Selected Coursework:\nCS 61A: Structure and Interpretation of Computer Programs\nC…",
            "endDate": {
              "month": "Dec",
              "text": "Dec 2020",
              "year": 2020
            },
            "fieldOfStudy": "Electrical Engineering and Computer Science",
            "insights": null,
            "period": "Aug 2017 - Dec 2020",
            "schoolId": "2517",
            "schoolLinkedinUrl": "https://www.linkedin.com/company/2517/"
          }
        ],
        "experience": [
          {
            "companyId": "1594050",
            "companyLinkedinUrl": "https://www.linkedin.com/company/googledeepmind/",
            "companyLogo": {
              "sizes": [
                {
                  "height": 400,
                  "url": "https://media.licdn.com/dms/image/v2/D4E0BAQEntrYwxPlbQA/company-logo_400_400/co…",
                  "width": 400
                }
              ],
              "url": "https://media.licdn.com/dms/image/v2/D4E0BAQEntrYwxPlbQA/company-logo_400_400/co…"
            },
            "companyName": "Google DeepMind",
            "companyUniversalName": "googledeepmind",
            "description": "- Building systems for agentic AI security for the latest Gemini models, includi…",
            "duration": "5 mos",
            "employmentType": "Full-time"
          }
        ],
        "firstName": "Rahul",
        "followerCount": 790
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].url / data.items[].handleThe LinkedIn profile URL and the handle at the end of it, for example rahulrathi123.
data.items[].idThe LinkedIn member id of the profile, in a form like ACoAABALO9MBdW_ZVdXWockmbgrIFGDCWGhX-WE.
data.items[].firstName / data.items[].lastNameThe person's first and last name.
data.items[].headlineThe headline text shown under the person's name, such as a job title and employer.
data.items[].location / data.items[].city / data.items[].state / data.items[].country / data.items[].countryCodeWhere the person is based. location is the area text shown on the profile. The other fields split it into city, state, country, and country code.
data.items[].currentPosition[]The person's current job or jobs. Each row has companyName, companyUniversalName, companyLinkedinUrl, description, duration, and employmentType.
data.items[].experience[]The work history. Each row has the same fields as currentPosition[], for example companyName, duration, and description.
data.items[].education[]Schools the person attended. Each row has degree, fieldOfStudy, period, endDate, schoolId, and schoolLinkedinUrl.
data.items[].skills[].nameThe name of each skill listed on the profile.
data.items[].connectionsCount / data.items[].followerCountThe number of connections and the number of followers on the profile.

Notes

  • Set limit between 1 and 25 to control how many profiles come back. The default is 10.
  • Use companyUniversalName and companyId from currentPosition[] and experience[] to identify companies in other LinkedIn APIs, such as LinkedIn Company.
  • For a lighter search that returns only name, headline, and URL, use LinkedIn Profile Search (basic).
  • To read the posts of a person you found, pass the profile URL to LinkedIn Profile Posts (full).

Pricing

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

探索更多

相关 APIs

全部 APIs
API价格响应
LinkedIn每次调用从 $0.198 起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 Profile Search API?

向 https://api.sandbase.ai/v1/api/linkedin/search-profiles 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

LinkedIn Profile Search API 的价格是多少?

起价每次调用 $0.198,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

LinkedIn Profile Search API 接受哪些参数?

必填:query (string)。 可选:limit (integer), schools (array), jobTitle (string), location (string), lastNames (array) 和 firstNames (array) 以及另外 21 项。 Parameters 表和本页的 Playground 列出了每个字段。

LinkedIn Profile Search API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 LinkedIn 开发者账户或 API key 吗?

不需要。LinkedIn Profile Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 LinkedIn API 访问权限。