Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

LinkedIn Profile Search (basic)

Tài liệu API
https://api.sandbase.ai/v1/api/linkedin/search-profiles-thin

Cheap 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.

Giá
Từ $0.036USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 12 tùy chọn

Phòng thử nghiệm

Đầu vào
Search query for LinkedIn profiles - a role, name, or keywords (e.g. 'Marketing Manager').
Filter by job title or headline (e.g. Head of Talent).
Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; a page holds 10 profiles.
Filter by last name (e.g. Okafor).
Filter by school, using a LinkedIn school id.
Filter by first name (e.g. Jane).
Filter by industry, using a LinkedIn industry id.
Filter by location, using a LinkedIn geocode id.
Return only people who follow this member, given the member's LinkedIn URN.
Filter by a previous employer, using a numeric LinkedIn company id.
Filter by the language the profile is written in (ISO 2-letter code, e.g. en).
Filter by current employer, using a numeric LinkedIn company id. Comma-separate for several.
Filter by service category, using a numeric service-category id.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

LinkedIn Profile Search (basic) API

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.

Use cases

  • Build a list of recruiters in one region by searching recruiter with a locationId filter.
  • Find the profile URL of a person when you only know their name and job title.
  • Collect candidate profiles at a target employer using currentCompanyId, then pass them to a full profile lookup.
  • Check which profiles in a search are marked premium or verified.

Request

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.

Parameters

NameTypeRequiredDescription
querystringYesSearch query for LinkedIn profiles - a role, name, or keywords (e.g. 'Marketing Manager').
currentCompanyIdstringNoFilter by current employer, using a numeric LinkedIn company id. Comma-separate for several.
cursorstringNoOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; a page holds 10 profiles.
firstNamestringNoFilter by first name (e.g. Jane).
followerOfUrnstringNoReturn only people who follow this member, given the member's LinkedIn URN.
industryIdstringNoFilter by industry, using a LinkedIn industry id.
lastNamestringNoFilter by last name (e.g. Okafor).
locationIdstringNoFilter by location, using a LinkedIn geocode id.
pastCompanyIdstringNoFilter by a previous employer, using a numeric LinkedIn company id.
profileLanguagestringNoFilter by the language the profile is written in (ISO 2-letter code, e.g. en).
schoolIdstringNoFilter by school, using a LinkedIn school id.
serviceCategoryIdstringNoFilter by service category, using a numeric service-category id.
titlestringNoFilter by job title or headline (e.g. Head of Talent).

Example response

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
}

Response fields

FieldMeaning
data.items[].nameDisplay name of the person as shown on their profile. It can include emojis.
data.items[].headlineHeadline text under the person's name.
data.items[].locationLocation text shown on the profile, such as a metro area or country.
data.items[].handleVanity handle of the profile. It is the last part of the profile URL.
data.items[].urlFull LinkedIn profile URL built from the handle.
data.items[].idLinkedIn member ID string for the person. It starts with ACo.
data.items[].imageURL of the profile photo. It is an empty string when the profile has no photo in the result.
data.items[].premium / data.items[].verifiedBoolean flags for whether the profile shows a Premium badge and a verified badge.
data.nextCursorCursor string for the next page of results.
foundtrue when the search returned results.

Notes

  • Each page holds 10 profiles. Pass data.nextCursor as cursor in the next request to get the next page, and omit cursor for the first page.
  • Filters that take IDs, such as locationId, industryId, schoolId, and currentCompanyId, need LinkedIn ID values, not names. currentCompanyId accepts several comma-separated IDs.
  • This API returns no full profile data and no emails. For full profile details call LinkedIn Profile Search or LinkedIn User Profile.
  • Use data.items[].handle or data.items[].url to identify each person in follow-up calls.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
LinkedInTừ $0.036 mỗi lần gọiJSON
LinkedInTừ $0.0012 mỗi lần gọiJSON
LinkedInTừ $0.0331 mỗi lần gọiJSON
LinkedInTừ $0.0012 mỗi lần gọiJSON
LinkedInTừ $0.00569 mỗi lần gọiJSON
LinkedInTừ $0.0026 mỗi lần gọiJSON

Hướng dẫn:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API LinkedIn Profile Search (basic)?

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.

API LinkedIn Profile Search (basic) có giá bao nhiêu?

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ý.

API LinkedIn Profile Search (basic) chấp nhận những tham số nào?

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.

API LinkedIn Profile Search (basic) trả về gì?

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.

Tôi có cần tài khoản nhà phát triển hoặc API key của LinkedIn không?

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.