LinkedIn Post Search
Search for LinkedIn posts by keywords and filters. The sample response includes authors and comments. Use it in content discovery, monitoring, or research. 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 Post Search
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 Search LinkedIn posts · GET · View API reference | $0.004 / call | — | —successP50— | |
| LinkedIn — Search Posts · GET · View API reference | $0.00188 / 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/post-search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/harvestapi/linkedin/post-search?group=1898033&page=1' \
-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 |
|---|---|---|---|---|
search | URL query parametersquery | string | No | Keywords to search for in posts |
profile | URL query parametersquery | string | No | Filter posts by author's profile URL(s) or public identifier(s) or profile ID(s) (comma-separated). Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint |
company | URL query parametersquery | string | No | Filter posts by this company URL(s) or company ID(s) (comma-separated). Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint |
authorsCompany | URL query parametersquery | string | No | List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs. |
authorsIndustryId | URL query parametersquery | string | No | List of LinkedIn industry IDs of authors' companies (comma-separated). It supports industry IDs. Full list of industry IDs: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng.csv |
mentioningMember | URL query parametersquery | string | No | Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs. |
mentioningCompany | URL query parametersquery | string | No | Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs. |
contentType | URL query parametersquery | string | No | Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs' |
authorKeywords | URL query parametersquery | string | No | Filter by keywords in authors' profiles |
group | URL query parametersquery | string | No | Group LinkedIn URL or Group ID |
postedLimit | URL query parametersquery | string | No | Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. This parameter will be sent to LinkedIn, the filtering will be done on their side |
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 |
sortBy | URL query parametersquery | string | No | Sort by field. Supported values: 'relevance', 'date' |
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 Post Search
Search for LinkedIn posts by keywords and filters. The sample response includes authors and comments. Use it in content discovery, monitoring, or research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
harvestapi · Search LinkedIn posts: https://openany.si/markets/apis/capabilities/linkedin-post-search?offering=d61ce390-3daf-40e8-bce7-103f7b82cc39 · $0.004 / call
scrapecreators · LinkedIn — Search Posts: https://openany.si/markets/apis/capabilities/linkedin-post-search?offering=3cfc1120-4c30-4294-bffd-04967a1725f1 · $0.00188 / call
## Selected API contract
Documentation: https://openany.si/apis/d61ce390-3daf-40e8-bce7-103f7b82cc39
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/harvestapi/linkedin/post-search
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/post-search?group=1898033&page=1' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Search LinkedIn posts",
"endpoint": "https://api.openany.si/v1/agent-apis/harvestapi/linkedin/post-search",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Keywords to search for in posts",
"location": "query",
"name": "search",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter posts by author's profile URL(s) or public identifier(s) or profile ID(s) (comma-separated). Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint",
"location": "query",
"name": "profile",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter posts by this company URL(s) or company ID(s) (comma-separated). Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint",
"location": "query",
"name": "company",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.",
"location": "query",
"name": "authorsCompany",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "List of LinkedIn industry IDs of authors' companies (comma-separated). It supports industry IDs. Full list of industry IDs: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng.csv",
"location": "query",
"name": "authorsIndustryId",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.",
"location": "query",
"name": "mentioningMember",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.",
"location": "query",
"name": "mentioningCompany",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'",
"location": "query",
"name": "contentType",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by keywords in authors' profiles",
"location": "query",
"name": "authorKeywords",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Group LinkedIn URL or Group ID",
"location": "query",
"name": "group",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. This parameter will be sent to LinkedIn, the filtering will be done on their side",
"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": "Sort by field. Supported values: 'relevance', 'date'",
"location": "query",
"name": "sortBy",
"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": {
"group": "1898033",
"page": 1
}
},
"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 15
Review these request fields before running. Keep the published provider and request method unchanged.
search- Keywords to search for in posts
profile- Filter posts by author's profile URL(s) or public identifier(s) or profile ID(s) (comma-separated). Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint
company- Filter posts by this company URL(s) or company ID(s) (comma-separated). Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint
authorsCompany- List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.
authorsIndustryId- List of LinkedIn industry IDs of authors' companies (comma-separated). It supports industry IDs. Full list of industry IDs: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng.csv
mentioningMember- Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.
mentioningCompany- Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.
contentType- Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'
authorKeywords- Filter by keywords in authors' profiles
group- Group LinkedIn URL or Group ID
postedLimit- Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. This parameter will be sent to LinkedIn, the filtering will be done on their side
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
sortBy- Sort by field. Supported values: 'relevance', 'date'
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/post-search?group=1898033&page=1' \ -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 }