querystringจำเป็น
Search query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').
https://api.sandbase.ai/v1/api/linkedin/search-profilesSearch 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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager'). |
companyHeadcount | array | No | 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+. |
companyHeadquarterLocations | array | No | Filter by the location of the person's current company headquarters, by place name (e.g. ['United States']). |
currentCompanies | array | No | Filter to people who currently work at any of these companies, by name (e.g. ['Google','Meta']). Multiple names widen the match (OR). |
excludeCompanyHeadquarterLocations | array | No | Exclude people whose current company is headquartered in any of these locations. |
excludeCurrentCompanies | array | No | Exclude people who currently work at any of these companies, by name. |
excludeCurrentJobTitles | array | No | Exclude people whose current job title matches any of these. |
excludeFunctionIds | array | No | Exclude these job functions (same codes as functionIds). |
excludeLocations | array | No | Exclude people in any of these locations, by place name. |
excludePastCompanies | array | No | Exclude people who previously worked at any of these companies, by name. |
excludePastJobTitles | array | No | Exclude people who held any of these past job titles. |
excludeSchools | array | No | Exclude people who attended any of these schools, by name. |
excludeSeniorityLevelIds | array | No | Exclude these seniority levels (same codes as seniorityLevelIds). |
firstNames | array | No | Filter to people whose first name matches any of these. |
functionIds | array | No | 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=Heal |
jobTitle | string | No | Optional current job title filter (e.g. 'Software Engineer'). |
lastNames | array | No | Filter to people whose last name matches any of these. |
limit | integer | No | Maximum number of full profiles to return (1-25, default 10). You are billed per profile returned, so a lower limit costs less. |
location | string | No | Optional location filter (e.g. 'San Francisco'). |
pastCompanies | array | No | Filter to people who previously worked at any of these companies, by name. |
pastJobTitles | array | No | Filter by a past job title the person held (e.g. ['Product Manager']). |
profileLanguages | array | No | Filter by the profile's primary language. |
recentlyChangedJobs | boolean | No | When true, only return people who recently changed jobs (a strong sales/recruiting signal). |
recentlyPostedOnLinkedIn | boolean | No | When true, only return people who recently posted on LinkedIn (an activity signal). |
schools | array | No | Filter to people who attended any of these schools, by name. |
seniorityLevelIds | array | No | 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. |
yearsAtCurrentCompanyIds | array | No | 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. |
yearsOfExperienceIds | array | No | 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. |
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
}
| Field | Meaning |
|---|---|
data.items[].url / data.items[].handle | The LinkedIn profile URL and the handle at the end of it, for example rahulrathi123. |
data.items[].id | The LinkedIn member id of the profile, in a form like ACoAABALO9MBdW_ZVdXWockmbgrIFGDCWGhX-WE. |
data.items[].firstName / data.items[].lastName | The person's first and last name. |
data.items[].headline | The 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[].countryCode | Where 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[].name | The name of each skill listed on the profile. |
data.items[].connectionsCount / data.items[].followerCount | The number of connections and the number of followers on the profile. |
limit between 1 and 25 to control how many profiles come back. The default is 10.companyUniversalName and companyId from currentPosition[] and experience[] to identify companies in other LinkedIn APIs, such as LinkedIn Company.Billed at the actual cost of each call, about $0.198 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
]
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
querystringจำเป็นSearch query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').
limitintegerMaximum number of full profiles to return (1-25, default 10). You are billed per profile returned, so a lower limit costs less.
schoolsarrayFilter to people who attended any of these schools, by name.
jobTitlestringOptional current job title filter (e.g. 'Software Engineer').
locationstringOptional location filter (e.g. 'San Francisco').
lastNamesarrayFilter to people whose last name matches any of these.
firstNamesarrayFilter to people whose first name matches any of these.
functionIdsarrayFilter 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.
pastCompaniesarrayFilter to people who previously worked at any of these companies, by name.
pastJobTitlesarrayFilter by a past job title the person held (e.g. ['Product Manager']).
excludeSchoolsarrayExclude people who attended any of these schools, by name.
companyHeadcountarrayFilter 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+.
currentCompaniesarrayFilter to people who currently work at any of these companies, by name (e.g. ['Google','Meta']). Multiple names widen the match (OR).
excludeLocationsarrayExclude people in any of these locations, by place name.
profileLanguagesarrayFilter by the profile's primary language.
seniorityLevelIdsarrayFilter 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.
excludeFunctionIdsarrayExclude these job functions (same codes as functionIds).
recentlyChangedJobsbooleanWhen true, only return people who recently changed jobs (a strong sales/recruiting signal).
excludePastCompaniesarrayExclude people who previously worked at any of these companies, by name.
excludePastJobTitlesarrayExclude people who held any of these past job titles.
yearsOfExperienceIdsarrayFilter 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.
excludeCurrentCompaniesarrayExclude people who currently work at any of these companies, by name.
excludeCurrentJobTitlesarrayExclude people whose current job title matches any of these.
excludeSeniorityLevelIdsarrayExclude these seniority levels (same codes as seniorityLevelIds).
recentlyPostedOnLinkedInbooleanWhen true, only return people who recently posted on LinkedIn (an activity signal).
yearsAtCurrentCompanyIdsarrayFilter 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.
companyHeadquarterLocationsarrayFilter by the location of the person's current company headquarters, by place name (e.g. ['United States']).
excludeCompanyHeadquarterLocationsarrayExclude people whose current company is headquartered in any of these locations.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
LinkedIn Profile SearchAPI นี้ 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
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/linkedin/search-profiles โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.198 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: query (string). ตัวเลือก: limit (integer), schools (array), jobTitle (string), location (string), lastNames (array) และ firstNames (array) และอีก 21 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น LinkedIn Profile Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง LinkedIn API แยกต่างหาก