# 用户资料

取一个 LinkedIn 用户的公开资料。

ID: native-http:social.linkedin.user.profile · Region: cn · Status: unknown

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

缓存资料；当前可用状态待核实。

取一个 LinkedIn 用户的公开资料。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Asocial.linkedin.user.profile

## POST /v1/native/social/linkedin/users/profile

native · unknown · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

取一个 LinkedIn 用户的公开资料。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "url": {
          "description": "用户主页完整 URL/Full profile URL",
          "maxLength": 512,
          "minLength": 1,
          "pattern": "^https://([A-Za-z0-9-]+\\.)*linkedin\\.com/",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "url": "https://www.linkedin.com/in/example"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "url": {
                  "maxLength": 512,
                  "minLength": 1,
                  "pattern": "^https://([A-Za-z0-9-]+\\.)*linkedin\\.com/",
                  "type": "string"
                }
              },
              "required": [
                "url"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "data": {
          "additionalProperties": true,
          "properties": {
            "about": {
              "type": [
                "string",
                "null"
              ]
            },
            "activity": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "img": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "interaction": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "link": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "avatar": {
              "type": [
                "string",
                "null"
              ]
            },
            "banner_image": {
              "type": [
                "string",
                "null"
              ]
            },
            "bio_links": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "link": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "city": {
              "type": [
                "string",
                "null"
              ]
            },
            "connections": {
              "type": [
                "integer",
                "null"
              ]
            },
            "country_code": {
              "type": [
                "string",
                "null"
              ]
            },
            "current_company": {
              "additionalProperties": true,
              "properties": {
                "company_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "location": {
                  "description": "Observed as null; the non-null type is not established."
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "current_company_company_id": {
              "type": [
                "string",
                "null"
              ]
            },
            "current_company_name": {
              "type": [
                "string",
                "null"
              ]
            },
            "default_avatar": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "education": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "description": {
                    "description": "Observed as null; the non-null type is not established."
                  },
                  "description_html": {
                    "description": "Observed as null; the non-null type is not established."
                  },
                  "end_year": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "institute_logo_url": {
                    "description": "Observed as null; the non-null type is not established."
                  },
                  "start_year": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "educations_details": {
              "type": [
                "string",
                "null"
              ]
            },
            "experience": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "company": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "company_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "company_logo_url": {
                    "description": "Observed as null; the non-null type is not established."
                  },
                  "description_html": {
                    "description": "Observed as null; the non-null type is not established."
                  },
                  "end_date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start_date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "first_name": {
              "type": [
                "string",
                "null"
              ]
            },
            "followers": {
              "type": [
                "integer",
                "null"
              ]
            },
            "honors_and_awards": {
              "description": "Observed as null; the non-null type is not established."
            },
            "id": {
              "type": [
                "string",
                "null"
              ]
            },
            "influencer": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "input": {
              "additionalProperties": true,
              "properties": {
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "input_url": {
              "type": [
                "string",
                "null"
              ]
            },
            "last_name": {
              "type": [
                "string",
                "null"
              ]
            },
            "linkedin_id": {
              "type": [
                "string",
                "null"
              ]
            },
            "linkedin_num_id": {
              "type": [
                "string",
                "null"
              ]
            },
            "location": {
              "type": [
                "string",
                "null"
              ]
            },
            "memorialized_account": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "name": {
              "type": [
                "string",
                "null"
              ]
            },
            "people_also_viewed": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "about": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "location": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "profile_link": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "position": {
              "type": [
                "string",
                "null"
              ]
            },
            "posts": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "attribution": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "created_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "img": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "interaction": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "link": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "similar_profiles": {
              "items": {
                "description": "Observed as null; the non-null type is not established."
              },
              "type": [
                "array",
                "null"
              ]
            },
            "timestamp": {
              "type": [
                "string",
                "null"
              ]
            },
            "url": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "code": 200,
    "data": {
      "about": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup",
      "activity": [
        {
          "id": "7505813874869399552",
          "img": "https://fixture.invalid/media/1",
          "interaction": "fixture_bill gates share",
          "link": "https://fixture.invalid/media/1",
          "title": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup"
        }
      ],
      "avatar": "https://fixture.invalid/media/1",
      "banner_image": "https://fixture.invalid/media/1",
      "bio_links": [
        {
          "link": "https://fixture.invalid/media/1",
          "title": "fixture_blog"
        }
      ],
      "city": "fixture_seattle, washing",
      "connections": 8,
      "country_code": "fixture_us",
      "current_company": {
        "company_id": "fixture_gates-foundation",
        "location": null,
        "name": "fixture_gates foundation",
        "title": "fixture_co-chair"
      },
      "current_company_company_id": "fixture_gates-foundation",
      "current_company_name": "fixture_gates foundation",
      "default_avatar": false,
      "education": [
        {
          "description": null,
          "description_html": null,
          "end_year": "1975",
          "institute_logo_url": null,
          "start_year": "1973",
          "title": "fixture_harvard universi",
          "url": "https://fixture.invalid/media/1"
        }
      ],
      "educations_details": "fixture_harvard universi",
      "experience": [
        {
          "company": "fixture_gates foundation",
          "company_id": "fixture_gates-foundation",
          "company_logo_url": null,
          "description_html": null,
          "end_date": "fixture_present",
          "start_date": "2000",
          "title": "fixture_co-chair",
          "url": "https://fixture.invalid/media/1"
        }
      ],
      "first_name": "fixture_bill",
      "followers": 40663401,
      "honors_and_awards": null,
      "id": "fixture_williamhgates",
      "influencer": true,
      "input": {
        "url": "https://fixture.invalid/media/1"
      },
      "input_url": "https://fixture.invalid/media/1",
      "last_name": "fixture_gates",
      "linkedin_id": "fixture_williamhgates",
      "linkedin_num_id": "251749025",
      "location": "fixture_seattle",
      "memorialized_account": false,
      "name": "fixture_bill gates",
      "people_also_viewed": [
        {
          "about": "fixture_pivotal",
          "location": "fixture_7m followers uni",
          "name": "fixture_melinda french g",
          "profile_link": "https://fixture.invalid/media/1"
        }
      ],
      "position": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup",
      "posts": [
        {
          "attribution": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup",
          "created_at": "2026-03-04T05:06:07.000000Z",
          "id": "7498097051742679041",
          "img": "https://fixture.invalid/media/1",
          "interaction": "fixture_10,44 - 2,063 co",
          "link": "https://fixture.invalid/media/1",
          "title": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup"
        }
      ],
      "similar_profiles": [],
      "timestamp": "2026-03-04T05:06:07.000000Z",
      "url": "https://fixture.invalid/media/1"
    }
  },
  "meta": {
    "api_name": "social.linkedin.user.profile",
    "credits_charged": 14,
    "latency_ms": 12,
    "next_input": null,
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.code (integer|null): 暂无字段说明
- data.data (object|null): 暂无字段说明
- data.data.about (string|null): 描述（如有）。
- data.data.activity (array|null): 暂无字段说明
- data.data.avatar (string|null): 头像（如有）。
- data.data.banner_image (string|null): 暂无字段说明
- data.data.bio_links (array|null): 暂无字段说明
- data.data.city (string|null): 城市（如有）。
- data.data.connections (integer|null): 人脉数（如有）。
- data.data.country_code (string|null): 国家代码（如有）。
- data.data.current_company (object|null): 暂无字段说明
- data.data.current_company.company_id (string|null): 暂无字段说明
- data.data.current_company.location (scalar): Observed as null; the non-null type is not established.
- data.data.current_company.name (string|null): 暂无字段说明
- data.data.current_company.title (string|null): 暂无字段说明
- data.data.current_company_company_id (string|null): 暂无字段说明
- data.data.current_company_name (string|null): 当前公司（如有）。
- data.data.default_avatar (boolean|null): 暂无字段说明
- data.data.education (array|null): 暂无字段说明
- data.data.educations_details (string|null): 暂无字段说明
- data.data.experience (array|null): 暂无字段说明
- data.data.first_name (string|null): 名名称（如有）。
- data.data.followers (integer|null): 粉丝数（如有）。
- data.data.honors_and_awards (scalar): Observed as null; the non-null type is not established.
- data.data.id (string|null): 作者 ID（如有）。
- data.data.influencer (boolean|null): 是否影响力用户（如有）。
- data.data.input (object|null): 暂无字段说明
- data.data.input.url (string|null): 暂无字段说明
- data.data.input_url (string|null): 暂无字段说明
- data.data.last_name (string|null): 最近名称（如有）。
- data.data.linkedin_id (string|null): 暂无字段说明
- data.data.linkedin_num_id (string|null): 暂无字段说明
- data.data.location (string|null): 地点（如有）。
- data.data.memorialized_account (boolean|null): 暂无字段说明
- data.data.name (string|null): 作者名称（如有）。
- data.data.people_also_viewed (array|null): 暂无字段说明
- data.data.position (string|null): 简介标题（如有）。
- data.data.posts (array|null): 暂无字段说明
- data.data.similar_profiles (array|null): 暂无字段说明
- data.data.timestamp (string|null): 暂无字段说明
- data.data.url (string|null): 公开链接（如有）。
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- data.data.activity[].id (string|null): 暂无字段说明
- data.data.activity[].img (string|null): 暂无字段说明
- data.data.activity[].interaction (string|null): 暂无字段说明
- data.data.activity[].link (string|null): 暂无字段说明
- data.data.activity[].title (string|null): 暂无字段说明
- data.data.bio_links[].link (string|null): 暂无字段说明
- data.data.bio_links[].title (string|null): 暂无字段说明
- data.data.education[].description (scalar): Observed as null; the non-null type is not established.
- data.data.education[].description_html (scalar): Observed as null; the non-null type is not established.
- data.data.education[].end_year (string|null): 暂无字段说明
- data.data.education[].institute_logo_url (scalar): Observed as null; the non-null type is not established.
- data.data.education[].start_year (string|null): 暂无字段说明
- data.data.education[].title (string|null): 暂无字段说明
- data.data.education[].url (string|null): 暂无字段说明
- data.data.experience[].company (string|null): 暂无字段说明
- data.data.experience[].company_id (string|null): 暂无字段说明
- data.data.experience[].company_logo_url (scalar): Observed as null; the non-null type is not established.
- data.data.experience[].description_html (scalar): Observed as null; the non-null type is not established.
- data.data.experience[].end_date (string|null): 暂无字段说明
- data.data.experience[].start_date (string|null): 暂无字段说明
- data.data.experience[].title (string|null): 暂无字段说明
- data.data.experience[].url (string|null): 暂无字段说明
- data.data.people_also_viewed[].about (string|null): 暂无字段说明
- data.data.people_also_viewed[].location (string|null): 暂无字段说明
- data.data.people_also_viewed[].name (string|null): 暂无字段说明
- data.data.people_also_viewed[].profile_link (string|null): 暂无字段说明
- data.data.posts[].attribution (string|null): 暂无字段说明
- data.data.posts[].created_at (string|null): 暂无字段说明
- data.data.posts[].id (string|null): 暂无字段说明
- data.data.posts[].img (string|null): 暂无字段说明
- data.data.posts[].interaction (string|null): 暂无字段说明
- data.data.posts[].link (string|null): 暂无字段说明
- data.data.posts[].title (string|null): 暂无字段说明
- meta.next_input.url (string): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

