LinkedIn 数据 API:资料、职位、私信与访客
LinkedIn: Community & Network 是 LinkedIn 官方安卓应用;LinkedIn 是微软旗下的职业社交网络,会员数在 2023 年突破 10 亿。应用涵盖完整的会员体验:资料页是一张可通过公开个性化网址分享的职业身份主页,首页动态用来关注人脉与公司,职位页可浏览、收藏并申请职位——部分职位支持远程办公或可直接联系招聘人员,私信收件箱提供静音、归档与屏蔽功能,还能用 InMail 联系人脉圈以外的人。接受人脉邀请后,联系方式页会显示对方的邮箱、电话、网站以及 Twitter 或微信账号;「我」页签展示谁看过你的资料,Premium 会员可查看更完整的访客列表。它在应用商店归入求职类,与 Indeed、Glassdoor 以及印度市场的 Naukri 同场竞争,同时也是职业社交与职业发展平台,美国、印度、巴西这几个 LinkedIn 会员规模最大的市场里,职场人士、寻访候选人的招聘方和求职者都在使用。
会员档案承载职业身份:headline、industryName、locationName、geoCountryName 与自由文本 summary,以 publicIdentifier 个性化 ID 为键,并嵌套一份供其他界面复用的 miniProfile。按关系开放的联系方式卡片补充 emailAddress、phoneNumbers、websites、twitterHandles 与 weChatContactInfo,并附带建立联系的时间 connectedAt。职位信息记录 title、formattedLocation、listedAt、closedAt、jobState 与 workRemoteAllowed,招聘公司经 companyDetails 解析。私信会话统计 unreadCount 与 totalEventCount,并标记 muted、archived 与 withNonConnection;「谁看过我」卡片为每次访问记下 viewedAt、referrer 与访客的 occupation。登录会员记录则以数字 plainId 和 premiumSubscriber 标记把这一切串联起来。
招聘寻访副驾用这些档案与联系字段拼出候选人短名单,把头衔、行业、所在地与触达渠道合为一条记录;面向创始人与销售的 CRM 镜像私信会话与访客动态,把档案访问和未读会话转成跟进任务;市场研究管道按发布与关闭时间、是否支持远程和招聘公司持续跟踪职位,绘制各行业在哪些地区扩招。openData Studio 将这些档案、职位、私信与访客记录变成可调用的开放数据。
应用截图
API 端点一览
以下端点与请求/响应示例均依据应用界面推导重构,为示意说明,并非实际抓包。
获取登录会员(me)
GET
/v1/account/meosint返回其他所有界面依赖的登录会员记录:numeric plainId、MiniProfile 与账号状态。
认证方式: 已登录的会话 Cookie;镜像自会话 Cookie 的 CSRF 令牌头;installation-id 头;客户端跟踪 JSON 头(clientVersion、osName)。
- plainId
- premiumSubscriber
- realByEmerald
- miniProfile
- entityUrn
- objectUrn
- firstName
- lastName
- occupation
- publicIdentifier
- trackingId
- publicContactInfo
- twitterHandles
GET /v1/account/me HTTP/1.1 Accept: application/json X-CSRF-Token: <csrf-token> X-Client-Id: <installation-id> X-Client-Track: {"osName":"Android","clientVersion":"6.1.1","osVersion":"13","deviceModel":"Google_Pixel"} Cookie: session=<session-token>{ "plainId": 123456789, "premiumSubscriber": false, "realByEmerald": true, "miniProfile": { "entityUrn": "urn:li:fs_miniProfile:ACoAAExample01", "objectUrn": "urn:li:member:123456789", "firstName": "Alex", "lastName": "Rivera", "occupation": "Product Manager at Example Corp", "publicIdentifier": "alex-rivera", "trackingId": "aq1b2c3d4e5==" }, "publicContactInfo": { "twitterHandles": [{"name": "alexrivera"}] } }获取会员资料
GET
/v1/profiles/{profileId}osint加载完整身份资料(姓名、头衔、行业、地区、简介、微信名片等字段)。
认证方式: 已登录的会话 Cookie;镜像自会话的 CSRF 令牌头;installation-id 与客户端跟踪头。
- entityUrn
- firstName
- lastName
- maidenName
- headline
- summary
- industryName
- industryUrn
- locationName
- geoCountryName
- geoLocationName
- address
- phoneticFirstName
- phoneticLastName
- student
- versionTag
- weChatNameCardURL
- miniProfile
- publicIdentifier
GET /v1/profiles/ACoAAExample01 HTTP/1.1 Accept: application/json X-CSRF-Token: <csrf-token> X-Client-Id: <installation-id> Cookie: session=<session-token>{ "entityUrn": "urn:li:fs_profile:ACoAAExample01", "firstName": "Alex", "lastName": "Rivera", "maidenName": "", "headline": "Product Manager at Example Corp", "summary": "Building identity products.", "industryName": "Software Development", "industryUrn": "urn:li:fs_industry:4", "locationName": "San Francisco Bay Area", "geoCountryName": "United States", "geoLocationName": "San Francisco, California, United States", "address": "San Francisco, CA", "phoneticFirstName": "Alex", "phoneticLastName": "Rivera", "student": false, "versionTag": "1234567890", "weChatNameCardURL": "", "miniProfile": { "publicIdentifier": "alex-rivera", "occupation": "Product Manager at Example Corp" } }获取资料联系方式
GET
/v1/profiles/{profileId}/contactosint返回资料的私有联系卡片——邮箱、电话、网站、Twitter 账号等。
认证方式: 已登录的会话 Cookie;CSRF 令牌头。联系方式数据按访问者与资料主人的关系做可见性控制。
- entityUrn
- emailAddress
- address
- connectedAt
- phoneNumbers
- number
- extension
- type
- websites
- twitterHandles
- weChatContactInfo
- name
- weChatHandle
- qr
- qrCodeImageUrl
- birthDateOn
- birthdayVisibilitySetting
GET /v1/profiles/ACoAAExample01/contact HTTP/1.1 Accept: application/json X-CSRF-Token: <csrf-token> Cookie: session=<session-token>{ "entityUrn": "urn:li:fs_profileContactInfo:ACoAAExample01", "emailAddress": "[email protected]", "address": "San Francisco, CA", "connectedAt": 1609459200000, "phoneNumbers": [ {"number": "+15555550100", "extension": "", "type": "MOBILE"} ], "websites": [{"url": "https://example.com"}], "twitterHandles": [{"name": "alexrivera"}], "weChatContactInfo": { "name": "Alex Rivera", "weChatHandle": "alex_rivera", "qr": "weixin://contacts/profile/alex_rivera", "qrCodeImageUrl": "https://cdn.example.com/wechat/qr.png" }, "birthDateOn": {"month": 4, "day": 12}, "birthdayVisibilitySetting": "CONNECTIONS" }获取职位详情
GET
/v1/jobs/postings/{jobId}opendata水合单个职位卡片(标题、地点、发布状态、远程标记、申请 / 收藏状态等)。
认证方式: 已登录的会话 Cookie;CSRF 令牌头;客户端跟踪头。
- entityUrn
- title
- formattedLocation
- listedAt
- closedAt
- jobState
- listingType
- workRemoteAllowed
- talkToRecruiterEnabled
- sourceDomain
- applyingInfo
- savingInfo
- companyDetails
- company
- companyResolutionResult
GET /v1/jobs/postings/4123456789 HTTP/1.1 Accept: application/json X-CSRF-Token: <csrf-token> Cookie: session=<session-token>{ "entityUrn": "urn:li:fs_normalized_jobPosting:4123456789", "title": "Staff Product Manager", "formattedLocation": "San Francisco, CA", "listedAt": 1759276800000, "closedAt": 0, "jobState": "LISTED", "listingType": "PREMIUM", "workRemoteAllowed": true, "talkToRecruiterEnabled": true, "sourceDomain": "example.com", "applyingInfo": {"applied": false}, "savingInfo": {"saved": false}, "companyDetails": { "company": "urn:li:fs_miniCompany:1337", "companyResolutionResult": {"name": "Example Corp"} } }列出私信会话
GET
/v1/messages/threadsosint分页返回登录用户的收件箱(会话 urn、参与者 MiniProfile、未读数、免打扰 / 归档状态)。
认证方式: 已登录的会话 Cookie;CSRF 令牌头。集合通过 start/count 分页。
- elements
- entityUrn
- backendUrn
- name
- read
- muted
- archived
- blocked
- unreadCount
- totalEventCount
- withNonConnection
- notificationStatus
- participants
- miniProfile
- paging
- start
- count
- total
GET /v1/messages/threads?start=0&count=20 HTTP/1.1 Accept: application/json X-CSRF-Token: <csrf-token> Cookie: session=<session-token>{ "elements": [ { "entityUrn": "urn:li:fs_conversation:2-YWM5YzA=", "backendUrn": "urn:li:messagingThread:2-YWM5YzA=", "name": "Alex Rivera, Sam Lee", "read": false, "muted": false, "archived": false, "blocked": false, "unreadCount": 2, "totalEventCount": 18, "withNonConnection": false, "notificationStatus": "ACTIVE", "participants": [ { "miniProfile": { "firstName": "Sam", "lastName": "Lee", "publicIdentifier": "sam-lee", "occupation": "Recruiter at Example Corp" } } ] } ], "paging": {"start": 0, "count": 20, "total": 42} }列出谁看过我的资料
GET
/v1/analytics/profile-viewsopendata返回 Who Viewed My Profile 卡片(访客 MiniProfile 或匿名化访客、viewedAt 等)。
认证方式: 已登录的会话 Cookie;CSRF 令牌头。访客身份按订阅档位显示为完整资料或匿名化。
- elements
- viewedAt
- referrer
- pendingInvitee
- showInMailCta
- openProfile
- viewer
- profile
- occupation
- insights
- timeRange
- paging
GET /v1/analytics/profile-views?start=0&count=10 HTTP/1.1 Accept: application/json X-CSRF-Token: <csrf-token> Cookie: session=<session-token>{ "elements": [ { "viewedAt": 1759276800000, "referrer": "SEARCH", "pendingInvitee": false, "showInMailCta": true, "openProfile": true, "viewer": { "type": "FULL", "profile": { "firstName": "Sam", "lastName": "Lee", "publicIdentifier": "sam-lee" }, "occupation": {"name": "Recruiter at Example Corp"} }, "insights": [{"text": "Works at Example Corp"}] } ], "metadata": {"timeRange": {"start": 1756684800000, "end": 1759276800000}}, "paging": {"start": 0, "count": 10, "total": 27} }
数据类别
- 用户资料
- 联系方式
- 职位
- 私信
- 资料浏览
- 人脉
数据使用场景与案例
招聘寻访副驾
寻访工具抓取会员档案、档案联系方式与在招职位,拼出候选人短名单——头衔、行业、所在地与触达渠道合为一条记录。
个人 CRM 同步
面向创始人与销售的 CRM 镜像消息会话与「谁看过我」动态,把档案访问和未读会话转成跟进任务。
招聘市场监测
市场研究管道持续跟踪职位发布——发布/关闭时间、是否支持远程、招聘方——绘制各行业在哪些地区扩招。
常见问题
LinkedIn 安卓端使用什么数据 API?
应用调用一套私有 JSON API:GET /v1/account/me 返回登录会员,GET /v1/profiles/{profileId} 加载资料;职位、私信与访客各有端点,全部以会话 Cookie 认证。
该 API 如何认证?
所有端点依赖登录后的会话 Cookie(li_at 等),没有公开的开发者密钥;这是官方应用登录后使用的第一方接口。
能否程序化读取职位信息?
应用内的职位卡片由 GET /v1/jobs/postings/{jobId} 驱动,返回标题、地点、发布状态、远程标记与申请 / 收藏状态;它是需要会话的私有端点,不是公开 API。
谁看过我的数据来自哪个端点?
GET /v1/analytics/profile-views 返回访客卡片(访客 MiniProfile 或匿名化访客、viewedAt 时间等),按会员可见性规则决定是否暴露访客身份。
与 LinkedIn: Community & Network 相似的应用
- Indeed Job Search — 职位搜索聚合应用,将公司招聘页面、猎头机构和雇主直接发布的职位汇总到一个可搜索的列表中。
- Glassdoor | Jobs & Careers — 将职位列表与公司评价、薪资数据以及现任和前任员工分享的面经结合在一起。
- ZipRecruiter — 利用 AI 匹配推荐相关职位的招聘平台,并将求职者的资料分发到 100 多个合作招聘网站。
- Wellfound — 专注于初创公司招聘的平台,前身为 AngelList Talent,在职位信息中直接标明薪资范围和股权激励细节。
- Upwork — 将客户与独立专业人士连接起来的自由职业平台,内置付款保障机制。
- Naukri: Job Search App — 覆盖各行业的印度求职门户,在印度市场常与 LinkedIn 搭配使用。
- Vagas de emprego - Infojobs — 巴西招聘平台,主要用于正式 CLT 合同、运营和行政类岗位,已在巴西市场运营二十余年。
相关主题
- linkedin api
- LinkedIn 资料接口
- linkedin member endpoint
- LinkedIn 职位 API
- linkedin messaging api
- 谁看过我接口
- linkedin 联系方式字段
- 会话 Cookie 认证
- MiniProfile
- LinkedIn 私信接口
需要集成这个 App 的数据 API?
我们可为任意指定 App 交付定制集成——源码交付 USD 500 起,或托管 API 按调用计费。告诉我们您需要的数据即可。
- 每个项目均签 NDA 与 SOW
- 3–7 天交付
- 验收通过后才付款
- 仅在授权范围内作业