Skip to main content

Get Profile Posts

GET /get-profile-posts

Retrieve posts published by a LinkedIn profile.

Pricing

1 credit per call.

Parameters

ParameterTypeRequiredDescription
linkedin_urlstringYesLinkedIn profile URL
typestringNoPost type: posts, comments, or reactions (default: posts)
startintegerNoStarting offset (default: 0)
pagination_tokenstringNoToken for pagination

Example Request

curl --request GET \
--url 'https://api.infoplug.io/get-profile-posts?linkedin_url=https://www.linkedin.com/in/example/&type=posts' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY'

Example Response

{
"data": {
"posts": [
{
"urn": "urn:li:activity:1234567890",
"text": "Post content here...",
"posted_at": "2024-01-15T10:30:00Z",
"reactions_count": 150,
"comments_count": 25,
"reposts_count": 10
}
],
"paging": {
"start": 0,
"count": 10,
"total": 50
}
}
}