querystringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
querystringbắt buộcSearch 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.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
LinkedIn | Từ $0.036 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0012 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0331 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0012 mỗi lần gọi | JSON |
LinkedIn | Từ $0.00569 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0026 mỗi lần gọi | JSON |
Hướng dẫn:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/linkedin/search-profiles-thin với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
Từ $0.036 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: query (string). Tùy chọn: title (string), cursor (string), lastName (string), schoolId (string), firstName (string) và industryId (string) và 6 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. LinkedIn Profile Search (basic) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của LinkedIn.