Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

LinkedIn User Profile

API 文档
https://api.sandbase.ai/v1/api/linkedin/user-detail

Get a LinkedIn profile by username, including documented core profile fields such as name and headline. Use it to inspect a person's professional background or before requesting published posts.

价格
$0.028571美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
LinkedIn username from the profile URL, for example jack from linkedin.com/in/jack.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

LinkedIn User Profile API

This API returns a public LinkedIn profile for one person. It needs the LinkedIn username from the profile URL, for example williamhgates from linkedin.com/in/williamhgates. The response includes name, position, location, work history, education, follower count, and recent posts and activity.

Use cases

  • Check a person's current role and employer before a sales or partnership outreach.
  • Build a career timeline from the experience and education lists.
  • Rank influencers by followers and the influencer flag.
  • Find related people to research next using similar_profiles.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/user-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "williamhgates"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
usernamestringYesLinkedIn username from the profile URL, for example jack from linkedin.com/in/jack.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "about": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Mic…",
  "activity": [
    {
      "id": "7522801130767224832",
      "img": "https://media.licdn.com/dms/image/sync/v2/D4E27AQFkOX_Yu-a3fA/articleshare-shrin…",
      "interaction": "Bill Gates shared this",
      "link": "https://www.linkedin.com/posts/williamhgates_world-bank-says-small-ai-could-tran…",
      "title": "Useful advice for farmers, in their own language, on a phone they already have i…"
    }
  ],
  "avatar": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-sh…",
  "banner_image": "https://media.licdn.com/dms/image/v2/D5616AQEjhPbTCeblYg/profile-displaybackgrou…",
  "bio_links": [
    {
      "link": "https://gatesnot.es/sourcecode-li",
      "title": "Blog"
    }
  ],
  "city": "Seattle, Washington, United States",
  "connections": 8,
  "country_code": "US",
  "current_company": {
    "company_id": "gates-foundation",
    "name": "Gates Foundation",
    "title": "Co-chair"
  },
  "current_company_company_id": "gates-foundation",
  "current_company_name": "Gates Foundation",
  "default_avatar": false
}

Response fields

FieldMeaning
name / first_name / last_nameThe person's full name and its parts.
positionThe headline text shown under the person's name.
aboutThe free-text summary section of the profile.
city / country_codeLocation of the person as a readable place and a country code.
followers / connectionsCounts of followers and connections shown on the profile. Check influencer for the platform's influencer flag.
current_company.name / current_company.title / current_company.company_idThe current employer, the person's title there, and the company's LinkedIn ID.
experience[].company / experience[].title / experience[].start_date / experience[].end_dateEach job entry with the company, role and dates. An end_date of Present marks a current role.
education[].title / education[].start_year / education[].end_yearEach school with the years attended, when listed.
posts[].title / posts[].link / posts[].created_at / posts[].interactionRecent published articles with link, date, and a text summary of engagement.
activity[].title / activity[].link / activity[].interactionRecent activity such as shared posts, with the post text and link.

Notes

  • Take username from the part of the profile URL after linkedin.com/in/. The response echoes it in linkedin_id and id.
  • linkedin_num_id holds the numeric profile ID. Post IDs in posts[].id and activity[].id are long numeric strings.
  • similar_profiles[].url gives the profile URL of related people. Use the last part of the URL as username in a new call.
  • For a longer list of posts, call LinkedIn Profile Posts (full) or LinkedIn Profile Posts (basic).

Pricing

$0.028571 per successful call. Failed calls are not charged.

探索更多

相关 APIs

全部 APIs
API价格响应
LinkedIn$0.028571 每次调用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

问题

常见问题

如何使用 LinkedIn User Profile API?

向 https://api.sandbase.ai/v1/api/linkedin/user-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

LinkedIn User Profile API 的价格是多少?

每次调用 $0.028571,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

LinkedIn User Profile API 接受哪些参数?

必填:username (string)。 Parameters 表和本页的 Playground 列出了每个字段。

LinkedIn User Profile API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 LinkedIn 开发者账户或 API key 吗?

不需要。LinkedIn User Profile 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 LinkedIn API 访问权限。