LinkedIn User Posts
Retrieve posts published by a LinkedIn user. Input fields and response shapes depend on the selected implementation. Use it in a social research or monitoring workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.004 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
LinkedIn User Posts
Prepare your request, then continue with your agent.
Selected price
$0.004 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
elementsobject[]articleobjectdescriptionstringimageobjectexpiresAtintegerheightintegerurlstringwidthinteger
linkstringlinkLabelstringsubtitlestringtitlestring
authorobjectavatarobjectexpiresAtintegerheightintegerurlstringwidthinteger
idstringinfobooleanlinkedinUrlstringnamestringpublicIdentifierstringtypebooleanuniversalNamestringurnstringwebsitebooleanwebsiteLabelboolean
contentstringengagementobjectcommentsintegerlikesintegerreactionsobject[]countintegertypestring
sharesinteger
idstringlinkedinUrlstringnewsletterTitlestringnewsletterUrlstringpostImagesobject[]expiresAtintegerheightintegerurlstringwidthinteger
postVideoobjectthumbnailUrlstringvideoUrlstring
postedAtobjectdatestringpostedAgoShortstringpostedAgoTextstringtimestampinteger
repostnullrepostIdstringrepostedByobjectlinkedinUrlstringnamestringpublicIdentifierstring
socialContentobjecthideCommentActionbooleanhideCommentsCountbooleanhideReactActionbooleanhideReactionsCountbooleanhideRepostsCountbooleanhideSendActionbooleanhideShareActionbooleanhideSocialActivityCountsbooleanhideViewsCountbooleanshareUrlstringshowContributionExperiencebooleanshowSocialDetailboolean
errorstringpaginationobjectpageNumberintegerpageSizeintegerpaginationTokenstringpreviousElementsintegertotalElementsintegertotalPagesinteger
queryobjectcompanyIdstringpageintegerpostedLimitstringprofileIdstringsearchstringsortBystring
statusinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
elements?: Array<{
article?: {
description?: string;
image?: {
expiresAt?: number;
height?: number;
url?: string;
width?: number;
};
link?: string;
linkLabel?: string;
subtitle?: string;
title?: string;
};
author?: {
avatar?: {
expiresAt?: number;
height?: number;
url?: string;
width?: number;
};
id?: string;
info?: boolean;
linkedinUrl?: string;
name?: string;
publicIdentifier?: string;
type?: boolean;
universalName?: string;
urn?: string;
website?: boolean;
websiteLabel?: boolean;
};
content?: string;
engagement?: {
comments?: number;
likes?: number;
reactions?: Array<{
count?: number;
type?: string;
}>;
shares?: number;
};
id?: string;
linkedinUrl?: string;
newsletterTitle?: string;
newsletterUrl?: string;
postImages?: Array<{
expiresAt?: number;
height?: number;
url?: string;
width?: number;
}>;
postVideo?: {
thumbnailUrl?: string;
videoUrl?: string;
};
postedAt?: {
date?: string;
postedAgoShort?: string;
postedAgoText?: string;
timestamp?: number;
};
repost?: null;
repostId?: string;
repostedBy?: {
linkedinUrl?: string;
name?: string;
publicIdentifier?: string;
};
socialContent?: {
hideCommentAction?: boolean;
hideCommentsCount?: boolean;
hideReactAction?: boolean;
hideReactionsCount?: boolean;
hideRepostsCount?: boolean;
hideSendAction?: boolean;
hideShareAction?: boolean;
hideSocialActivityCounts?: boolean;
hideViewsCount?: boolean;
shareUrl?: string;
showContributionExperience?: boolean;
showSocialDetail?: boolean;
};
}>;
error?: string;
pagination?: {
pageNumber?: number;
pageSize?: number;
paginationToken?: string;
previousElements?: number;
totalElements?: number;
totalPages?: number;
};
query?: {
companyId?: string;
page?: number;
postedLimit?: string;
profileId?: string;
search?: string;
sortBy?: string;
};
status?: number;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Get LinkedIn profile posts · GET · View API reference | $0.004 / call | — | —successP50— | |
| Get user's posts · GET · View API reference | $0.05 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.004
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.4
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-posts- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-posts?page=1&profile=williamhgates' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
profile | URL query parametersquery | string | No | Filter posts by author's profile URL or public identifier or profile ID. |
postedLimit | URL query parametersquery | string | No | Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. Since LinkedIn doesn't offer a way to filter by date, the filtering will be done on our side, due to that the pagination might have incorrect values, because pagination is returned by LinkedIn without applying the postedLimit filter |
scrapePostedLimit | URL query parametersquery | string | No | Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side |
page | URL query parametersquery | integer | No | Page number for pagination |
paginationToken | URL query parametersquery | string | No | Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Response template · not a real response · Configured HTTP 200; actual status is unverified. Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
{
"elements": [
{
"article": {
"description": "<description>",
"image": {
"expiresAt": 0,
"height": 0,
"url": "<url>",
"width": 0
},
"link": "<link>",
"linkLabel": "<linkLabel>",
"subtitle": "<subtitle>",
"title": "<title>"
},
"author": {
"avatar": {
"expiresAt": 0,
"height": 0,
"url": "<url>",
"width": 0
},
"id": "<id>",
"info": false,
"linkedinUrl": "<linkedinUrl>",
"name": "<name>",
"publicIdentifier": "<publicIdentifier>",
"type": false,
"universalName": "<universalName>",
"urn": "<urn>",
"website": false,
"websiteLabel": false
},
"content": "<content>",
"engagement": {
"comments": 0,
"likes": 0,
"reactions": [
{
"count": 0,
"type": "<type>"
}
],
"shares": 0
},
"id": "<id>",
"linkedinUrl": "<linkedinUrl>",
"newsletterTitle": "<newsletterTitle>",
"newsletterUrl": "<newsletterUrl>",
"postImages": [
{
"expiresAt": 0,
"height": 0,
"url": "<url>",
"width": 0
}
],
"postVideo": {
"thumbnailUrl": "<thumbnailUrl>",
"videoUrl": "<videoUrl>"
},
"postedAt": {
"date": "<date>",
"postedAgoShort": "<postedAgoShort>",
"postedAgoText": "<postedAgoText>",
"timestamp": 0
},
"repost": null,
"repostId": "<repostId>",
"repostedBy": {
"linkedinUrl": "<linkedinUrl>",
"name": "<name>",
"publicIdentifier": "<publicIdentifier>"
},
"socialContent": {
"hideCommentAction": false,
"hideCommentsCount": false,
"hideReactAction": false,
"hideReactionsCount": false,
"hideRepostsCount": false,
"hideSendAction": false,
"hideShareAction": false,
"hideSocialActivityCounts": false,
"hideViewsCount": false,
"shareUrl": "<shareUrl>",
"showContributionExperience": false,
"showSocialDetail": false
}
}
],
"error": "<error>",
"pagination": {
"pageNumber": 0,
"pageSize": 0,
"paginationToken": "<paginationToken>",
"previousElements": 0,
"totalElements": 0,
"totalPages": 0
},
"query": {
"companyId": "<companyId>",
"page": 0,
"postedLimit": "<postedLimit>",
"profileId": "<profileId>",
"search": "<search>",
"sortBy": "<sortBy>"
},
"status": 0
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# LinkedIn User Posts
Retrieve posts published by a LinkedIn user. Input fields and response shapes depend on the selected implementation. Use it in a social research or monitoring workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
harvestapi · Get LinkedIn profile posts: https://openany.si/markets/apis/capabilities/linkedin-user-posts?offering=d1dbfdda-2659-49f1-86ca-85b7d374ea01 · $0.004 / call
tikhub · Get user's posts: https://openany.si/markets/apis/capabilities/linkedin-user-posts?offering=d63c2bf2-579e-4cbf-93ed-2a05ff6cbd7c · $0.05 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/linkedin-user-posts
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-posts
Price: $0.004 / call
Provider: harvestapi
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-posts?page=1&profile=williamhgates' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Get LinkedIn profile posts",
"endpoint": "https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-posts",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Filter posts by author's profile URL or public identifier or profile ID.",
"location": "query",
"name": "profile",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. \nSince LinkedIn doesn't offer a way to filter by date, the filtering will be done on our side, due to that the pagination might have incorrect values, because pagination is returned by LinkedIn without applying the postedLimit filter",
"location": "query",
"name": "postedLimit",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side",
"location": "query",
"name": "scrapePostedLimit",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Page number for pagination",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token",
"location": "query",
"name": "paginationToken",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "4000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Schema template (HTTP assumed)",
"request": {
"body": {},
"headers": {},
"path": {},
"query": {
"page": 1,
"profile": "williamhgates"
}
},
"response_body": {
"elements": [
{
"article": {
"description": "<description>",
"image": {
"expiresAt": 0,
"height": 0,
"url": "<url>",
"width": 0
},
"link": "<link>",
"linkLabel": "<linkLabel>",
"subtitle": "<subtitle>",
"title": "<title>"
},
"author": {
"avatar": {
"expiresAt": 0,
"height": 0,
"url": "<url>",
"width": 0
},
"id": "<id>",
"info": false,
"linkedinUrl": "<linkedinUrl>",
"name": "<name>",
"publicIdentifier": "<publicIdentifier>",
"type": false,
"universalName": "<universalName>",
"urn": "<urn>",
"website": false,
"websiteLabel": false
},
"content": "<content>",
"engagement": {
"comments": 0,
"likes": 0,
"reactions": [
{
"count": 0,
"type": "<type>"
}
],
"shares": 0
},
"id": "<id>",
"linkedinUrl": "<linkedinUrl>",
"newsletterTitle": "<newsletterTitle>",
"newsletterUrl": "<newsletterUrl>",
"postImages": [
{
"expiresAt": 0,
"height": 0,
"url": "<url>",
"width": 0
}
],
"postVideo": {
"thumbnailUrl": "<thumbnailUrl>",
"videoUrl": "<videoUrl>"
},
"postedAt": {
"date": "<date>",
"postedAgoShort": "<postedAgoShort>",
"postedAgoText": "<postedAgoText>",
"timestamp": 0
},
"repost": null,
"repostId": "<repostId>",
"repostedBy": {
"linkedinUrl": "<linkedinUrl>",
"name": "<name>",
"publicIdentifier": "<publicIdentifier>"
},
"socialContent": {
"hideCommentAction": false,
"hideCommentsCount": false,
"hideReactAction": false,
"hideReactionsCount": false,
"hideRepostsCount": false,
"hideSendAction": false,
"hideShareAction": false,
"hideSocialActivityCounts": false,
"hideViewsCount": false,
"shareUrl": "<shareUrl>",
"showContributionExperience": false,
"showSocialDetail": false
}
}
],
"error": "<error>",
"pagination": {
"pageNumber": 0,
"pageSize": 0,
"paginationToken": "<paginationToken>",
"previousElements": 0,
"totalElements": 0,
"totalPages": 0
},
"query": {
"companyId": "<companyId>",
"page": 0,
"postedLimit": "<postedLimit>",
"profileId": "<profileId>",
"search": "<search>",
"sortBy": "<sortBy>"
},
"status": 0
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Schema template (HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
profile- Filter posts by author's profile URL or public identifier or profile ID.
postedLimit- Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. Since LinkedIn doesn't offer a way to filter by date, the filtering will be done on our side, due to that the pagination might have incorrect values, because pagination is returned by LinkedIn without applying the postedLimit filter
scrapePostedLimit- Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side
page- Page number for pagination
paginationToken- Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-posts?page=1&profile=williamhgates' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "elements": [ { "article": { "description": "<description>", "image": { "expiresAt": 0, "height": 0, "url": "<url>", "width": 0 }, "link": "<link>", "linkLabel": "<linkLabel>", "subtitle": "<subtitle>", "title": "<title>" }, "author": { "avatar": { "expiresAt": 0, "height": 0, "url": "<url>", "width": 0 }, "id": "<id>", "info": false, "linkedinUrl": "<linkedinUrl>", "name": "<name>", "publicIdentifier": "<publicIdentifier>", "type": false, "universalName": "<universalName>", "urn": "<urn>", "website": false, "websiteLabel": false }, "content": "<content>", "engagement": { "comments": 0, "likes": 0, "reactions": [ { "count": 0, "type": "<type>" } ], "shares": 0 }, "id": "<id>", "linkedinUrl": "<linkedinUrl>", "newsletterTitle": "<newsletterTitle>", "newsletterUrl": "<newsletterUrl>", "postImages": [ { "expiresAt": 0, "height": 0, "url": "<url>", "width": 0 } ], "postVideo": { "thumbnailUrl": "<thumbnailUrl>", "videoUrl": "<videoUrl>" }, "postedAt": { "date": "<date>", "postedAgoShort": "<postedAgoShort>", "postedAgoText": "<postedAgoText>", "timestamp": 0 }, "repost": null, "repostId": "<repostId>", "repostedBy": { "linkedinUrl": "<linkedinUrl>", "name": "<name>", "publicIdentifier": "<publicIdentifier>" }, "socialContent": { "hideCommentAction": false, "hideCommentsCount": false, "hideReactAction": false, "hideReactionsCount": false, "hideRepostsCount": false, "hideSendAction": false, "hideShareAction": false, "hideSocialActivityCounts": false, "hideViewsCount": false, "shareUrl": "<shareUrl>", "showContributionExperience": false, "showSocialDetail": false } } ], "error": "<error>", "pagination": { "pageNumber": 0, "pageSize": 0, "paginationToken": "<paginationToken>", "previousElements": 0, "totalElements": 0, "totalPages": 0 }, "query": { "companyId": "<companyId>", "page": 0, "postedLimit": "<postedLimit>", "profileId": "<profileId>", "search": "<search>", "sortBy": "<sortBy>" }, "status": 0 }