Run linkedin-extract-people-post-activity action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"input": {
"linkedin_profile_url": "<string>",
"custom_data": {}
},
"parameters": {},
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
],
"identity_mode": "direct"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {linkedin_profile_url: '<string>', custom_data: {}},
parameters: {},
identity_ids: ['44444444-4444-4444-4444-444444444444'],
identity_mode: 'direct'
})
};
fetch('https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/live', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/live"
payload = {
"input": {
"linkedin_profile_url": "<string>",
"custom_data": {}
},
"parameters": {},
"identity_ids": ["44444444-4444-4444-4444-444444444444"],
"identity_mode": "direct"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"comment_count": 123,
"reaction_count": 123,
"repost_count": 123,
"linkedin_post_id": "<string>",
"linkedin_post_url": "<string>",
"published_date": "2023-12-25",
"content_text": "<string>",
"linkedin_post_type": "original",
"linkedin_activity_id": "<string>",
"author": {
"firstname": "<string>",
"lastname": "<string>",
"linkedin_profile_handle": "<string>",
"linkedin_profile_id": 123,
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>"
},
"source_post": {
"linkedin_post_id": "<string>",
"linkedin_post_url": "<string>",
"content_text": "<string>",
"author": {
"linkedin_profile_id": 123,
"firstname": "<string>",
"lastname": "<string>",
"linkedin_profile_handle": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>"
}
},
"activity_author": {
"author": {
"linkedin_profile_id": 123,
"firstname": "<string>",
"lastname": "<string>",
"linkedin_profile_handle": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>"
}
}
}
]Extract LinkedIn People Post Activity
Extract LinkedIn People Post Activity
Extract the post activity history of a LinkedIn profile, showing content they have published.
POST
/
actions
/
linkedin-extract-people-post-activity
/
run
/
live
Run linkedin-extract-people-post-activity action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"input": {
"linkedin_profile_url": "<string>",
"custom_data": {}
},
"parameters": {},
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
],
"identity_mode": "direct"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {linkedin_profile_url: '<string>', custom_data: {}},
parameters: {},
identity_ids: ['44444444-4444-4444-4444-444444444444'],
identity_mode: 'direct'
})
};
fetch('https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/live', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/live"
payload = {
"input": {
"linkedin_profile_url": "<string>",
"custom_data": {}
},
"parameters": {},
"identity_ids": ["44444444-4444-4444-4444-444444444444"],
"identity_mode": "direct"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"comment_count": 123,
"reaction_count": 123,
"repost_count": 123,
"linkedin_post_id": "<string>",
"linkedin_post_url": "<string>",
"published_date": "2023-12-25",
"content_text": "<string>",
"linkedin_post_type": "original",
"linkedin_activity_id": "<string>",
"author": {
"firstname": "<string>",
"lastname": "<string>",
"linkedin_profile_handle": "<string>",
"linkedin_profile_id": 123,
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>"
},
"source_post": {
"linkedin_post_id": "<string>",
"linkedin_post_url": "<string>",
"content_text": "<string>",
"author": {
"linkedin_profile_id": 123,
"firstname": "<string>",
"lastname": "<string>",
"linkedin_profile_handle": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>"
}
},
"activity_author": {
"author": {
"linkedin_profile_id": 123,
"firstname": "<string>",
"lastname": "<string>",
"linkedin_profile_handle": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>"
}
}
}
]1 credit per 20 results · credit_ratio 0.05 · Credit costs
People post activity 700 / 24 h · Action limits
Agent skill
edges-linkedin-extract-people-post-activity — ready-made instructions for coding agents calling this endpoint.To run LinkedIn actions, you must first create an identity and connect a LinkedIn
account, either using our Chrome
Extension,
username/password login, or Managed
Accounts to run without connecting an account.
Prefer
X-Pagination-Next and X-Pagination-Previous over constructing
pagination URLs yourself. Stop only when X-Pagination-Next is absent —
a short page (fewer results than the previous page, or than the action’s usual
page size) does not mean you are done. LinkedIn’s page length can vary from
one request to the next; the result array length is not a stop condition.Understanding Author Fields
The response includes three different author-related fields that help you understand the post structure:activity_author
The person who performs the activity (e.g., the person who reshared, commented, or reacted). For original posts, this is the same as author. For reshares, this is the person who shared the content.
author
The author of the first-level post (the visible post you see directly). This is the person or company whose post appears in the activity feed.
source_post
Contains information about the source post (2nd level) when the visible post is a reshare. This object includes:
author: The author of the source post that was resharedlinkedin_post_id: The source post’s IDlinkedin_post_url: The source post’s URLcontent_text: The source post’s content
source_post returns null if there is no 2nd level post (i.e., the visible post is an source post, not a reshare).
Example Structure
For an original post:author→ Author of the postactivity_author→ Same asauthor(they created the post)source_post→null(no source post to reference)
author→ Author of the reshared postactivity_author→ Person who performed the reshare activitysource_post.author→null(no source post to reference)
author→ Author of the post, same as the activity_authoractivity_author→ Person who performed the reshare activitysource_post.author→ Author of the reshared post
author→ Author of the reshared post (first level)activity_author→ Person who performed the resharesource_post.author→ Author of the source post shared by the first level (second level)
Query Parameters
Body
application/json
An array of Identity UUIDs linked to identities (e.g. LinkedIn) used to execute the Action. You must provide at least one valid UID with access to the integration. Do not use account_uid values — only user_uid is supported.
Example:
["44444444-4444-4444-4444-444444444444"]
Response
Successful response
