querystring必填
Search query for LinkedIn profiles - a role, name, or keywords (e.g. 'Marketing Manager').
https://api.sandbase.ai/v1/api/linkedin/search-profiles-thinCheap people search: name/handle, headline, VANITY profile URL, location. No full profile or email - for full profiles per hit use linkedin.search_profiles, add emails with linkedin.search_profiles_email.
您的输出将显示在这里
完成输入,然后点击运行。
Searches LinkedIn people by keyword and returns a short card for each match: name, headline, location, and profile URL. It needs a query such as a role, name, or keywords, and you can narrow results with filters like title, locationId, or currentCompanyId.
recruiter with a locationId filter.currentCompanyId, then pass them to a full profile lookup.premium or verified.curl -X POST "https://api.sandbase.ai/v1/api/linkedin/search-profiles-thin" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "recruiter"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query for LinkedIn profiles - a role, name, or keywords (e.g. 'Marketing Manager'). |
currentCompanyId | string | No | Filter by current employer, using a numeric LinkedIn company id. Comma-separate for several. |
cursor | string | No | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; a page holds 10 profiles. |
firstName | string | No | Filter by first name (e.g. Jane). |
followerOfUrn | string | No | Return only people who follow this member, given the member's LinkedIn URN. |
industryId | string | No | Filter by industry, using a LinkedIn industry id. |
lastName | string | No | Filter by last name (e.g. Okafor). |
locationId | string | No | Filter by location, using a LinkedIn geocode id. |
pastCompanyId | string | No | Filter by a previous employer, using a numeric LinkedIn company id. |
profileLanguage | string | No | Filter by the language the profile is written in (ISO 2-letter code, e.g. en). |
schoolId | string | No | Filter by school, using a LinkedIn school id. |
serviceCategoryId | string | No | Filter by service category, using a numeric service-category id. |
title | string | No | Filter by job title or headline (e.g. Head of Talent). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"handle": "linkedwithruby",
"headline": "A Technical Recruiter That Doesn’t Suck | Sardonic & Security | I used the spark…",
"id": "ACoAAB1QQOgBnODVSz6xioyOGmm8jw8iY8A8o-Y",
"image": "https://media.licdn.com/dms/image/v2/D5603AQEB2rD3RM2HRg/profile-displayphoto-sc…",
"location": "Los Angeles Metropolitan Area",
"name": "✨Ruby Murphy✨",
"premium": true,
"url": "https://www.linkedin.com/in/linkedwithruby",
"verified": false
}
],
"nextCursor": "cur_eapzt1SXZH784D2SuVfdqA"
},
"found": true
}
| Field | Meaning |
|---|---|
data.items[].name | Display name of the person as shown on their profile. It can include emojis. |
data.items[].headline | Headline text under the person's name. |
data.items[].location | Location text shown on the profile, such as a metro area or country. |
data.items[].handle | Vanity handle of the profile. It is the last part of the profile URL. |
data.items[].url | Full LinkedIn profile URL built from the handle. |
data.items[].id | LinkedIn member ID string for the person. It starts with ACo. |
data.items[].image | URL of the profile photo. It is an empty string when the profile has no photo in the result. |
data.items[].premium / data.items[].verified | Boolean flags for whether the profile shows a Premium badge and a verified badge. |
data.nextCursor | Cursor string for the next page of results. |
found | true when the search returned results. |
data.nextCursor as cursor in the next request to get the next page, and omit cursor for the first page.locationId, industryId, schoolId, and currentCompanyId, need LinkedIn ID values, not names. currentCompanyId accepts several comma-separated IDs.data.items[].handle or data.items[].url to identify each person in follow-up calls.Billed at the actual cost of each call, about $0.036 for the request above. Failed calls are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/search-profiles-thin" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "recruiter"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
querystring必填Search query for LinkedIn profiles - a role, name, or keywords (e.g. 'Marketing Manager').
titlestringFilter by job title or headline (e.g. Head of Talent).
cursorstringOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; a page holds 10 profiles.
lastNamestringFilter by last name (e.g. Okafor).
schoolIdstringFilter by school, using a LinkedIn school id.
firstNamestringFilter by first name (e.g. Jane).
industryIdstringFilter by industry, using a LinkedIn industry id.
locationIdstringFilter by location, using a LinkedIn geocode id.
followerOfUrnstringReturn only people who follow this member, given the member's LinkedIn URN.
pastCompanyIdstringFilter by a previous employer, using a numeric LinkedIn company id.
profileLanguagestringFilter by the language the profile is written in (ISO 2-letter code, e.g. en).
currentCompanyIdstringFilter by current employer, using a numeric LinkedIn company id. Comma-separate for several.
serviceCategoryIdstringFilter by service category, using a numeric service-category id.
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
LinkedIn | 每次调用从 $0.036 起 | 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
问题
向 https://api.sandbase.ai/v1/api/linkedin/search-profiles-thin 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
起价每次调用 $0.036,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:query (string)。 可选:title (string), cursor (string), lastName (string), schoolId (string), firstName (string) 和 industryId (string) 以及另外 6 项。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。LinkedIn Profile Search (basic) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 LinkedIn API 访问权限。