Person Activity
Cost: 1
credit / successful request.
This endpoint retrieves the recent activity of a LinkedIn person profile based on the provided LinkedIn URL. The response includes details about the person's posts, including text, attachments, reactions, and more.
Person Activity Endpoint
This endpoint allows you to get structured data of a LinkedIn Company Profile.
Required attributes
- Name
url
- Type
- string
- Description
The LinkedIn profile URL of the person whose activity you want to retrieve.
Optional attributes
- Name
type
- Type
- string
- Description
Alters the type of posts to be fetched.
posts
The default behavior. Fetched all posts and resposts for the profile.comments
- Fetch only posts which profile commented on.reactions
- Fetch only posts which profile reacted to.articles
- Fetch only articles posted by the profile.
Request
curl --location --request POST 'https://api.datamagnet.co/api/v1/linkedin/person/activity' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://linkedin.com/in/pratik-dani/"
}'
Response
{
"message": {
"activity": [
{
"activity_type": "Post",
"attachments": [
{
"image": "https://media.licdn.com/dms/image/v2/D4E22AQFHqACn_p4yZg/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1726215167127?e=1729123200&v=beta&t=nAkOKVlLMcrsjTBqRkLamIZ1YcdDGhN40qaYzsIOs8Q",
"text": "",
"type": "Image"
}
],
"author": {
"image_url": "https://media.licdn.com/dms/image/v2/D4E03AQHTPWy6f1zgkQ/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1709814440540?e=1732147200&v=beta&t=6Pvk9kaHBFzhYdvdbKGO4FkAh_9gnArDfAf3BzjokHs",
"occupation": "The AI Guy | Keeping YOU educated on AI tools & trends! š¤",
"public_identifier": "adam-bidd",
"title": "Adam Biddlecombe",
"type": "Member",
"url": "https://linkedin.com/in/adam-bidd",
"urn": "urn:li:fsd_profile:ACoAAEM4AwgBaYcWlSZiRY8l23S87DWTouU2VeA"
},
"comments": 30,
"created_at": "2024-09-16T12:00:00.000Z",
"is_repost": false,
"likes": 27,
"mentions": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"reactions": [
{
"count": 22,
"reaction_type": "LIKE"
},
{
"count": 3,
"reaction_type": "EMPATHY"
},
{
"count": 1,
"reaction_type": "PRAISE"
},
{
"count": 1,
"reaction_type": "INTEREST"
}
],
"shared_post": null,
"shares": 4,
"text": "The best 16 TED Talks \n\nThat Will Change Your Life...\n\nFeeling stuck? Looking for a spark of inspiration? \n\nThese TED Talks are the ultimate antidote to the mundane! \n\nDive into the wisdom of brilliant minds and discover new perspectives that might just change your life.\n\nHere are some standout talks:\n\nThe Danger of a Single Story by Chimamanda Ngozi Adichie\nā³ https://lnkd.in/dKZ7fGhx \n\nThe Happy Secret to Better Work by Shawn Achor\nā³ https://lnkd.in/dTSrvFx3\n \nYour Elusive Creative Genius by Elizabeth Gilbert\nā³ https://lnkd.in/dKyG2vrs\n \nThe Magic of Not Giving a F\* by Sarah Knight\nā³ https://lnkd.in/dEHsszvn\n \nTry Something New for 30 Days by Matt Cutts\nā³https://lnkd.in/dRaedcip\n \nHow Great Leaders Inspire Action by Simon Sinek\nā³ https://lnkd.in/dP9rCGvd\n \nHow to Achieve Your Most Ambitious Goals by Stephen Duneier\nā³ https://lnkd.in/dgPr7kJA\n \nThe Power of Vulnerability by BrenĆ© Brown\nā³ https://lnkd.in/d2wPJYX6\n \nHow to Stop Screwing Yourself Over by Mel Robbin\nā³ https://lnkd.in/dtVSuQSq\n \nHow to Make Stress Your Friend by Kelly McGonigal\nā³ https://lnkd.in/dzdsaeRi\n \nThe Surprising Science of Happiness by Dan Gilbert\nā³ https://lnkd.in/ddAFGPkr\n \nThe Art of Stillness by Pico Iyer\nā³ https://lnkd.in/dad_XYzH\n \nThe price of shame by Monica Lewinsky\nā³ https://lnkd.in/dQfMMMaK\n \nMy Year Of Saying Yes To Everything by Shonda Rhimes\nā³ https://lnkd.in/dArqjtAX\n \nWhat Adults Can Learn From Kids by Adira Svitak\nā³ https://lnkd.in/dYUk958R\n \nWhy We Do What We Do by Tony Robbins\nā³ https://lnkd.in/dc6jH8qp\n \nMeet Yourself: A Userās Guide to Building Self-Esteem by Niko Everett\nā³ https://lnkd.in/dfr29g3d\n \nEach talk is a journey into a world of insight, motivation, and transformation. šāØ\n\nWhich TED Talk resonates with you the most?\n\nWant 30+ FREE AI resources and guides? Enter your email here š https://lnkd.in/euYZeAdb\n\nShare your thoughts and letās start a conversation on what fuels your personal and professional growth! š¬š\n\nš Pass this on to your network and inspire them with these life-changing talks!",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7241415538646691840",
"urn": "urn:li:activity:7241415538646691840"
},
{
"activity_type": "Post",
"attachments": [
{
"image": "https://media.licdn.com/dms/image/v2/D4E22AQHxaiXOknqJvQ/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1726211897300?e=1729123200&v=beta&t=HGLwTHEsqYOGSO7w3wisqBAWe4f9KMpO-XbzDLnraCs",
"text": "",
"type": "Image"
}
],
"author": {
"image_url": "https://media.licdn.com/dms/image/v2/D4E03AQHTPWy6f1zgkQ/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1709814440540?e=1732147200&v=beta&t=6Pvk9kaHBFzhYdvdbKGO4FkAh_9gnArDfAf3BzjokHs",
"occupation": "The AI Guy | Keeping YOU educated on AI tools & trends! š¤",
"public_identifier": "adam-bidd",
"title": "Adam Biddlecombe",
"type": "Member",
"url": "https://linkedin.com/in/adam-bidd",
"urn": "urn:li:fsd_profile:ACoAAEM4AwgBaYcWlSZiRY8l23S87DWTouU2VeA"
},
"comments": 106,
"created_at": "2024-09-15T16:00:00.000Z",
"is_repost": false,
"likes": 320,
"mentions": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"reactions": [
{
"count": 273,
"reaction_type": "LIKE"
},
{
"count": 24,
"reaction_type": "EMPATHY"
},
{
"count": 17,
"reaction_type": "INTEREST"
},
{
"count": 3,
"reaction_type": "PRAISE"
},
{
"count": 3,
"reaction_type": "APPRECIATION"
}
],
"shared_post": null,
"shares": 43,
"text": "Transform the way you work with these 9 AI tools.\n\nWhether youāre creating, optimising, or analysing, these AI tools will help you get more done in less time. š”ā”\n\nHereās the lineup:\n\nTldraw\nā³ Sketch to codeāthis AI tool transforms sketches into functional HTML code.\nā³ https://www.tldraw.com/r\n\nOpus\nā³ Generate high-quality audio and music compositions using advanced AI technology.\nā³ https://opus.ai/ \n\nPop AI\nā³ From presentations to killer CVs, this tool helps you create professional assets with ease.\nā³ https://www.popai.pro/ \n\nCreatify\nā³ Turn simple product descriptions into eye-catching video content.\nā³ https://lnkd.in/eiWNZK9M \n\nChat Simple\nā³ Streamline communication with AI-driven conversations.\nā³ https://www.chatsimple.ai/ \n\nStreak AI\nā³ Turn your inbox into a full-blown CRM for managing emails, contacts, and offers.\nā³ https://www.streak.com/ai \n\nQuantplay\nā³ Analyse data trends and provide actionable insights for advanced data analysis and predictive modelling.\nā³ https://lnkd.in/evKE8Huj \n\nSeona\nā³ Boost your websiteās visibility with AI-powered SEO optimisation.\nā³ https://usestyle.ai/seona \n\nTweetHunter\nā³ Grow your Twitter presence by scheduling, automating, and creating smarter tweets with AI.\nā³ https://tweethunter.io/ \n\nFrom enhancing productivity to boosting your online presence, these tools have got you covered. Ready to make the switch to AI-powered efficiency? Try them out now!\n\nWant 30+ FREE AI resources and guides?\nEnter your email here š https://lnkd.in/euYZeAdb\n\nā»ļø Share this with your network and help them stay ahead in the AI game!",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7241113552223178752",
"urn": "urn:li:activity:7241113552223178752"
},
{
"activity_type": "Post",
"attachments": [
{
"image": "https://media.licdn.com/dms/image/v2/D4E22AQHObSYg6lmF4w/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1726215133572?e=1729123200&v=beta&t=EnVZR98rT4IdmelJQKJfn6IEMpLZH_iSMf3Fpdjmaoo",
"text": "",
"type": "Image"
}
],
"author": {
"image_url": "https://media.licdn.com/dms/image/v2/D4E03AQHTPWy6f1zgkQ/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1709814440540?e=1732147200&v=beta&t=6Pvk9kaHBFzhYdvdbKGO4FkAh_9gnArDfAf3BzjokHs",
"occupation": "The AI Guy | Keeping YOU educated on AI tools & trends! š¤",
"public_identifier": "adam-bidd",
"title": "Adam Biddlecombe",
"type": "Member",
"url": "https://linkedin.com/in/adam-bidd",
"urn": "urn:li:fsd_profile:ACoAAEM4AwgBaYcWlSZiRY8l23S87DWTouU2VeA"
},
"comments": 111,
"created_at": "2024-09-15T00:00:00.000Z",
"is_repost": false,
"likes": 668,
"mentions": [null],
"reactions": [
{
"count": 608,
"reaction_type": "LIKE"
},
{
"count": 34,
"reaction_type": "INTEREST"
},
{
"count": 15,
"reaction_type": "EMPATHY"
},
{
"count": 7,
"reaction_type": "PRAISE"
},
{
"count": 4,
"reaction_type": "APPRECIATION"
}
],
"shared_post": null,
"shares": 123,
"text": "Transform Your Presentations with ChatGPT!\n\nCreating a PowerPoint presentation can be time-consuming, but ChatGPT can simplify the process and help you create professional slides in no time. \n\nHereās how you can make it happen:\n\nQuick Prompts to Generate PowerPoint Slides:\nā³Outline a presentation on your chosen topics.\nā³Generate VBA code for PowerPoint slides.\nā³Customise slides for specific themes or smaller topics.\n\nStep-by-Step Guide (Method 1):\n\nUpload Your Article:\nā³Start by uploading the article you want to transform into a presentation.\n\nCrafting the Presentation Outline Prompt:\nā³Define the number of slides, content areas, and any additional instructions.\n\nGenerate the PowerPoint Presentation:\nā³Get a text-based outline and convert it into well-formatted PowerPoint slides.\n\nRefine Your Presentation in PowerPoint:\nDownload the generated presentation and refine it.\n\nEnhance and Personalise:\nā³Adjust slide size, apply design themes, and customise individual slides.\n\nLeveraging Microsoft 365 for a Usage-Friendly Approach (Method 2):\n\nObtain the Presentation Outline from ChatGPT:\nā³Follow the same initial steps as Method 1.\n\nCopying Content into Microsoft Word:\nā³Paste the entire outline into a new Word document.\n\nExporting to PowerPoint Presentation:\nā³Refine in Word, then export to PowerPoint.\n\nBenefits of Using Microsoft Word:\nā³Advanced text formatting.\nā³Utilisation of styles and templates.\nā³Easy addition of headers and footers.\n\nWith ChatGPT, your presentations are not only quicker to create but also more polished and professional. \n\nWant 30+ FREE AI Resources and guides? \nEnter your email here š https://lnkd.in/dT8a9WKB",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7241053149598265344",
"urn": "urn:li:activity:7241053149598265344"
}
],
"cursor": "eyJjb3VudCI6MTAwLCJzdGFydCI6MTAwLCJwYWdpbmF0aW9uVG9rZW4iOiJkWEp1T214cE9tRmpkR2wyYVhSNU9qY3lNakkyTXpFNE1UazFPRFEzTURRMU1USXRNVGN5TWpBd09UWXhOVGM0TXc9PSJ9"
},
"status": "success"
}
The Person Activity Model
This contains the structured data of a person's recent activity on LinkedIn.
Properties
- Name
activity
- Type
- array
- Description
List of activities.
- Name
activity_type
- Type
- string
- Description
Type of activity (e.g., "Post").
- Name
attachments
- Type
- array
- Description
List of attachments.
- Name
image
- Type
- string
- Description
URL of the image.
- Name
text
- Type
- string
- Description
Text associated with the attachment.
- Name
type
- Type
- string
- Description
Type of attachment (e.g., "Image").
- Name
author
- Type
- object
- Description
Details about the author.
- Name
image_url
- Type
- string
- Description
URL of the author's profile image.
- Name
occupation
- Type
- string
- Description
Author's occupation.
- Name
public_identifier
- Type
- string
- Description
Public identifier of the author.
- Name
title
- Type
- string
- Description
Author's title.
- Name
type
- Type
- string
- Description
Type of author (e.g., "Member").
- Name
url
- Type
- string
- Description
URL of the author's LinkedIn profile.
- Name
urn
- Type
- string
- Description
URN of the author's profile.
- Name
comments
- Type
- integer
- Description
Number of comments on the activity.
- Name
created_at
- Type
- string
- Description
Timestamp of when the activity was created.
- Name
is_repost
- Type
- boolean
- Description
Indicates if the activity is a repost.
- Name
likes
- Type
- integer
- Description
Number of likes on the activity.
- Name
mentions
- Type
- array
- Description
List of mentions in the activity.
- Name
reactions
- Type
- array
- Description
List of reactions to the activity.
- Name
count
- Type
- integer
- Description
Number of reactions.
- Name
reaction_type
- Type
- string
- Description
Type of reaction (e.g., "LIKE").
- Name
shared_post
- Type
- object
- Description
Details of the shared post, if any.
- Name
shares
- Type
- integer
- Description
Number of shares of the activity.
- Name
text
- Type
- string
- Description
Text content of the activity.
- Name
url
- Type
- string
- Description
URL of the activity.
- Name
urn
- Type
- string
- Description
URN of the activity.
- Name
cursor
- Type
- string
- Description
Pagination token for fetching more activities.