LinkedIn 个人资料抓取 API
通过 LinkedIn 个人资料 URL,使用 AI 助手、无代码 workflow 或您自己的代码获取工作、公司和教育详情。
- 每份个人资料低至 $0.014
- 无需登录 LinkedIn
- 每个任务可处理 10,000 份个人资料
| LinkedIn 个人资料 URL |
|---|
| linkedin.com/in/maya-lindqvist |
| linkedin.com/in/tom-okafor |
| linkedin.com/in/lea-moreau |
初创公司和财富 500 强团队中,已有 38,000+ 位用户信赖
适用于任何能够发送 HTTP 请求的工具
Claude
Cursor
Codex
Make
n8n
Zapier
- 您自己的代码
选择您的接入方式
让 AI 助手或自动化工具完成设置,或通过您自己的代码调用 REST API。
粘贴设置 prompt
复制适用于 Claude Code、Codex、Cursor、Make、n8n 或 Zapier 的 prompt,然后粘贴进去。AI 会在您的计算机上创建 Datablist 文件夹并完成所有设置。
粘贴您的 API 密钥
当 AI 提示时,从 Datablist 应用复制 API 密钥,并将其粘贴到 AI 打开的 .env 文件中。切勿将密钥粘贴到聊天中。
获取结果
发送 LinkedIn 个人资料 URL 列表,每份个人资料将返回一行数据:姓名、个人标题、所在地、当前职位和公司,可直接用于电子表格或 CRM。
查看示例结果正在使用 Make、n8n 或 Zapier?以下是 HTTP 请求所需的全部字段
使用您的工具提供的 HTTP 请求模块或节点。您需要三个步骤:发送列表、等待,然后读取结果。
1. 发送您的列表(HTTP 请求)
- 方法
POST- URL
https://api.datablist.com/v1/enrichments/tasks- 请求头
X-API-Key= 您的 API 密钥Content-Type=application/json- 请求体(JSON)
- json{"enrichmentId": "linkedin-profile-scraper","uniqueId": "linkedin-profile-scraper-import-1","settings": {"experiencesNb": "3","educationsNb": "1"},"inputs": [{"inputId": "row-1", "data": {"profileUrl": "https://www.linkedin.com/in/maya-lindqvist/"}},{"inputId": "row-2", "data": {"profileUrl": "https://www.linkedin.com/in/tom-okafor/"}},{"inputId": "row-3", "data": {"profileUrl": "https://www.linkedin.com/in/lea-moreau/"}}]}
- 请保留
- 响应中的
@id。这是您的任务 ID。
2. 等待任务完成
添加短暂等待或延迟,然后向 https://api.datablist.com/v1/enrichments/tasks/TASK_ID 发送 GET 请求,并使用相同的 X-API-Key 请求头。重复操作,直到 status 为 completed。
3. 读取结果
GET https://api.datablist.com/v1/enrichments/tasks/TASK_ID/results?limit=50。将 outputs 映射到您的列。如果 nextCursor 不为空,请使用 &cursor= 加上该值再次调用。
快速了解
通过 LinkedIn URL 获取最新的公开个人资料数据:此人是谁、在哪里工作以及就读过哪些学校。无需 Datablist 工作区、集合或导入操作。
您需要提供什么
- LinkedIn 个人资料 URL:标准个人资料链接或 Sales Navigator lead 链接
- 历史记录数量(可选):过去 3、5 或 10 份工作,以及 1、3 或 5 所学校
- 缓存的个人资料(可选):接受近期保存的副本,以降低费用
您将获得什么
- 个人信息:姓名、个人标题、简介、所在地、语言和联系人数量
- 当前工作:职位、入职日期、公司、公司网站、行业和规模
- 过往工作和教育经历:按您要求的数量返回
费用是多少
- 最新个人资料:每份个人资料 25 credits
- 缓存个人资料:接受已保存的副本时为 20 credits
- 1,000 credits = $1:与 Datablist 应用共用
团队可以用它构建什么
将 LinkedIn 个人资料抓取工具接入您现有的任意数据流。
在 outreach 前调研 leads
- lead 列表中的 LinkedIn URL
- 职位、公司、所在地
获取每个 lead 的当前职位和公司,让您的触达序列从正确的联系人和有针对性的开场白开始。
构建候选人资料
- 候选人的 LinkedIn URL
- 将工作和教育经历写入 ATS
获取每位候选人的过往工作和教育经历,无需复制粘贴即可让 ATS 或电子表格保持最新。
发现工作变动
- CRM 中的联系人
- 标记新公司
重新处理联系人,并将当前公司与 CRM 对比,从而发现已转入新客户公司的关键支持者。
需要多少费用?
使用 credits 按查询次数付费。API 访问权限从 Growth 套餐开始提供。
需要多少费用?
告诉我们您需要多少份 LinkedIn 个人资料,我们会为您展示成本最低的获取方式。
= 25,000 credits,按每份最新个人资料 25 credits 计算
credits 如何计算
1,000 credits = $1,因此每个 credit 的价格为 0.1 美分。最新个人资料需要 25 credits,缓存个人资料需要 20 credits。即使未找到个人资料,也可能会消耗 credits,因为系统已经执行了查询。每条结果都会返回 creditsUsed,方便您跟踪每行数据的实际成本。套餐 credits 每月更新,未使用的部分会重置。充值 credits 永不过期。
集成到您的代码中
直接调用 REST API 所需的一切:代码、响应、端点、字段、身份验证和限制。
datablist/linkedin-profile-scraper-api
官方示例:cURL、使用 Requests 或异步 HTTPX 的 Python,以及 TypeScript。将您的密钥放入 DATABLIST_API_KEY 后即可运行。
复制、粘贴、运行
这是一个完整脚本,可创建任务、等待任务完成并打印每条结果。请将 YOUR_PERSONAL_API_KEY 替换为您的密钥。
# 1. Create the task (returns 202 Accepted and the task "@id")
curl --request POST 'https://api.datablist.com/v1/enrichments/tasks' \
--header 'X-API-Key: YOUR_PERSONAL_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"enrichmentId": "linkedin-profile-scraper",
"uniqueId": "linkedin-profile-scraper-import-1",
"settings": {
"experiencesNb": "3",
"educationsNb": "1"
},
"inputs": [
{"inputId": "row-1", "data": {"profileUrl": "https://www.linkedin.com/in/maya-lindqvist/"}},
{"inputId": "row-2", "data": {"profileUrl": "https://www.linkedin.com/in/tom-okafor/"}},
{"inputId": "row-3", "data": {"profileUrl": "https://www.linkedin.com/in/lea-moreau/"}}
]
}'
# 2. Poll every few seconds until status is completed, failed or stopped
curl 'https://api.datablist.com/v1/enrichments/tasks/TASK_ID' \
--header 'X-API-Key: YOUR_PERSONAL_API_KEY'
# 3. Read the results, then follow nextCursor until it is null
curl 'https://api.datablist.com/v1/enrichments/tasks/TASK_ID/results?limit=50' \
--header 'X-API-Key: YOUR_PERSONAL_API_KEY'API 返回什么
每项输入对应一条结果,其中包含您的 inputId、状态、outputs 和已使用的 credits。以下为示例数据。
{
"taskId": "00000000000040008000000000000001",
"results": [
{
"inputId": "row-1",
"status": "success",
"outputs": {
"profileUrl": "https://www.linkedin.com/in/maya-lindqvist/",
"firstName": "Maya",
"lastName": "Lindqvist",
"fullName": "Maya Lindqvist",
"linkedInHeadline": "Head of Sales at Brightwave Analytics",
"linkedInCity": "Stockholm",
"linkedInCountryCode": "SE",
"linkedInLocation": "Stockholm, Sweden",
"linkedInlastExpTitle": "Head of Sales",
"linkedInlastExpStartsAt": "2023-02-01",
"linkedInlastExpCompany": "Brightwave Analytics",
"linkedInlastExpCompanyWebsite": "https://www.brightwaveanalytics.com",
"linkedInlastExpCompanyIndustry": "Software Development",
"linkedInlastExpCompanyRange": "51-200",
"linkedInlastEduSchool": "Example University",
"linkedInLanguages": "English, Swedish",
"linkedInConnections": "500"
},
"creditsUsed": "25",
"error": null
}
],
"nextCursor": null
}端点和字段
所有路径均相对于 https://api.datablist.com。字段定义来自 GET /v1/enrichments/linkedin-profile-scraper(文档更新于 2026 年 10 月 21 日)。Schema 版本:2026-09-12。
查看 API schema(JSON) (在新标签页中打开)
- /v1/enrichments/linkedin-profile-scraper
- 读取 schema,无需密钥
- POST
- /v1/enrichments/tasks
- 创建任务
- /v1/enrichments/tasks/{taskId}
- 轮询状态和进度
- /v1/enrichments/tasks/{taskId}/results
- 读取结果,每页 1 至 100 条
- POST
- /v1/enrichments/tasks/{taskId}/stop
- 取消正在运行的任务
- /v1/enrichments/tasks
- 任务历史记录,最新的排在最前
Schema 参考
每个任务发送一次 settings,并为每项输入发送一个 data 对象。随着 enrichment 功能演进,结果可能包含额外字段,因此解析 outputs 时请保留未知键。
显示所有设置、输入和输出
设置
includeUrnInclude LinkedIn Internal ID (URN) | Boolean | Include the LinkedIn internal identifier (URN), for example: ACoAAAIJflYBlveEKEKWvVsjTP4QeXHK8KfcKHg. This ID can be used to build Sales Navigator URLs, like https://www.linkedin.com/sales/lead/XXXX. 启用条件: |
|---|---|---|
includePicturesInclude Pictures | Boolean | Include the LinkedIn profile picture and the company logo URL. ⚠️ These URLs expire fast. Download the images to avoid broken links. 启用条件: |
acceptCachedProfilesAccept cached profiles | Boolean | Default behavior is to fetch fresh LinkedIn profile data. Enable this option to use cached profiles when available. Cached profiles cost 20 credits per profile. 启用条件: |
experiencesNbExperiences to return | Text | How many work experiences to return. Default to 3.允许的值: |
educationsNbEducations to return | Text | How many educations to return. Default to 1.允许的值: |
输入(data)
profileUrl必填Person's LinkedIn Profile | Text | LinkedIn Profile Identifier. Works with standard profile URLs (https://linkedin.com/in/xxx) and Sales Navigator URLs (https://www.linkedin.com/sales/lead/xxxx). |
|---|
输出
linkedInInternalIdentifierLinkedIn Internal ID (URN) | Text | The unique internal LinkedIn identifier (URN). Example: ACoAAAIJflYBlveEKEKWvVsjTP4QeXHK8KfcKHg. Use it to build Sales Navigator URLs like https://www.linkedin.com/sales/lead/XXXX. 启用条件: |
|---|---|---|
profileUrlLinkedIn Profile URL Normalized | Text | The clean and standardized LinkedIn Public Profile URL. In the format: https://www.linkedin.com/in/xxx格式: |
firstNameFirst Name | Text | The first name of the profile |
lastNameLast Name | Text | The last name of the profile |
fullNameFull Name | Text | The full name of the profile |
linkedInHeadlineHeadline | Text | The tagline on the user profile. |
linkedInSummarySummary | Text | A blurb (longer than the tagline) written by the user for his profile. |
linkedInCityCity | Text | The city of the profile |
linkedInStateState | Text | The state of the profile |
linkedInCountryCodeCountry | Text | The country code of the profile. 2-letter country code (ISO 3166-1 alpha-2). |
linkedInCountryNameCountry Name | Text | The profile's country of residence, in English words. |
linkedInLocationLocation | Text | Full Location text |
linkedInProfilePictureLinkedIn Profile Picture | Text | These URLs expire fast. Download the images to avoid broken links. 启用条件: |
linkedInlastExpTitleTitle (Current or last experience) | Text | The title of the current (or last) experience |
linkedInlastExpEmploymentTypeEmployment Type (Current or last experience) | Text | The employment type of the current (or last) experience. |
linkedInlastExpDescriptionDescription (Current or last experience) | Text | The description of the current (or last) experience |
linkedInlastExpStartsAtStart Date (Current or last experience) | Text | The start date of the current (or last) experience.格式: |
linkedInlastExpEndsAtEnd date (Current or last experience) | Text | The end date of the last experience. None if still active.格式: |
linkedInlastExpLocationLocation (Current or last experience) | Text | The location of the current (or last) experience |
linkedInlastExpCompanyCompany Name (Current or last experience) | Text | The company name of the current (or last) experience. |
linkedInlastExpCompanyPageCompany page URL (Current or last experience) | Text | LinkedIn company's profile URL of the current (or last) experience. |
linkedInlastExpCompanyWebsiteCompany website (Current or last experience) | Text | Company Website of the current (or last) experience. |
linkedInlastExpCompanyDescriptionCompany description (Current or last experience) | Text | The company description from the LinkedIn company page of the current or last experience. |
linkedInlastExpCompanyIndustryCompany Industry (Current or last experience) | Text | Company Industry of the current (or last) experience. |
linkedInlastExpCompanyRangeCompany employee range (Current or last experience) | Text | Size of the company. In the form: 1, 2-10, 11-50, etc. |
linkedInlastExpCompanyLogoCompany Logo (Current or last experience) | Text | These URLs expire fast. Download the images to avoid broken links. 启用条件: |
linkedIn2ExpTitleTitle (Experience #2) | Text | The title from the second most recent work experience. If available. |
linkedIn2ExpEmploymentTypeEmployment Type (Experience #2) | Text | The employment type from the second most recent work experience. If available. |
linkedIn2ExpDescriptionDescription (Experience #2) | Text | The description from the second most recent work experience. If available. |
linkedIn2ExpStartsAtStart Date (Experience #2) | Text | The start date from the second most recent work experience. If available.格式: |
linkedIn2ExpEndsAtEnd date (Experience #2) | Text | The end date from the second most recent work experience. If available.格式: |
linkedIn2ExpCompanyNameCompany Name (Experience #2) | Text | The company name from the second most recent work experience. If available. |
linkedIn2ExpLogoCompany Logo (Experience #2) | Text | These URLs expire fast. Download the images to avoid broken links. 启用条件: |
linkedIn3ExpTitleTitle (Experience #3) | Text | The title from the third most recent work experience. If available. |
linkedIn3ExpEmploymentTypeEmployment Type (Experience #3) | Text | The employment type from the third most recent work experience. If available. |
linkedIn3ExpDescriptionDescription (Experience #3) | Text | The description from the third most recent work experience. If available. |
linkedIn3ExpStartsAtStart Date (Experience #3) | Text | The start date from the third most recent work experience. If available.格式: |
linkedIn3ExpEndsAtEnd date (Experience #3) | Text | The end date from the third most recent work experience. If available.格式: |
linkedIn3ExpCompanyNameCompany Name (Experience #3) | Text | The company name from the third most recent work experience. If available. |
linkedIn3ExpLogoCompany Logo (Experience #3) | Text | These URLs expire fast. Download the images to avoid broken links. 启用条件: |
linkedInlastEduSchoolSchool (Current or last education) | Text | The school name of the current (or last) education |
linkedInlastEduDegreeDegree (Current or last education) | Text | The degree of the current (or last) education |
linkedInlastEduFieldField of Study (Current or last education) | Text | The field of study of the current (or last) education |
linkedInlastEduStartsAtStart Date (Current or last education) | Text | The start date of the current (or last) education格式: |
linkedInlastEduEndsAtEnd date (Current or last education) | Text | The end date of the current (or last) education格式: |
linkedInlastEduLogoLogo URL (Current or last education) | Text | These URLs expire fast. Download the images to avoid broken links. 启用条件: |
linkedInSkillsSkills | Text | Comma-separated list of skills listed on the LinkedIn profile. |
linkedInLanguagesLanguages | Text | Comma-separated list of spoken languages of the LinkedIn profile. |
linkedInConnectionsConnections | Text | The number of connections of the profile |
一个请求头,清晰的限制
在您的 Datablist 账户中创建个人 API 密钥,并在每个需要身份验证的请求中发送该密钥。
身份验证
在 X-API-Key 请求头中发送您的密钥。Datablist 会为您交换并续期访问令牌。
- 请求头:
X-API-Key: YOUR_PERSONAL_API_KEY - 可选:使用通过
POST /v1/account/token获取的Authorization: Bearer自行管理令牌 - 二选一:同时发送两个请求头将返回
400 AmbiguousCredentials - 仅限服务端:不要在 URL、浏览器代码和日志中暴露密钥
限制
- 每个任务的输入数量:1 至 10,000
- 大小:每项输入 16 KiB,每个请求 10 MiB
- 运行时间:每个任务最长 24 小时
- 创建任务:每个账户每 60 秒 10 个请求
- 轮询和结果:每项操作每 60 秒 120 个请求
- 活动任务:每个账户可同时运行约 20 个任务
- 保留期限:任务和结果保留 90 天
常见问题解答
集成 LinkedIn 个人资料抓取 API 时,您或您的 AI 编程代理需要了解的一切:身份验证、请求、轮询、结果、限制和重试。


