LinkedIn Get User Posts
Retrieve recent LinkedIn activity by member profile URL. Inputs: - url (required): The member's LinkedIn profile URL. - type (optional): posts for posts/reposts (default), comments for posts the member commented on, or reactions for posts the member liked/reacted to. - start and pagination_token (optional): Have no pagination effect; omit them. Returns: A post list in data containing up to 50 recent items, plus paging metadata (count, start, pagination_token). For comments and reactions, the returned items are posts the member interacted with, not a standalone list of comments or reactions. Limitations: Only the most recent 50 items are available. Pagination is not supported, even if paging.pagination_token is populated. Reusing the token returns the same first page and the token does not advance; start also has no effect. Do not use these parameters in a pagination loop. Reliability: Temporary 400 or other errors may occur. Up to 3 retries are recommended for transient failures; retries do not guarantee success. Example: url = "https://www.linkedin.com/in/williamhgates/", type = "posts".
Pricing
| Condition | Charge |
|---|---|
| Each call | 103.27 credits/call |
103.27 credits/call Charges are per query. A successful query is billed even if it returns no results.
The same fixed fee per call applies when retrieving published or reposted posts, posts the user commented on, or posts the user reacted to. The charge does not depend on the number of posts returned.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
url | string | Yes | 用户主页 URL/Profile URL | — |
type | string | No | posts(发帖/转发)| comments(评论过的帖子)| reactions(点赞过的帖子) | posts |
start | integer | null | No | 本接口不支持翻页,传入无效/Not supported, has no effect | — |
pagination_token | string | null | No | 本接口不支持翻页,传入无效/Not supported, has no effect | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_linkedin_get_user_posts' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"url": "xxx"
}
}'No response example available yet.




