OpenAny
Get API keyAPI Key
APIDataScrapers

linkedin logo
LinkedIn Post Search API

Search LinkedIn Post via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 2 implementations (Harvestapi and ScrapeCreators), pass parameters such as group, page, and retrieve structured data including returned page number field, returned page size field, returned pagination token field, returned previous elements field, and returned total elements field for content research and account lookup, and integration reference.

Selected price
$0.004 / callPublished pricing
Sellers / APIs
2 / 2
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

LinkedIn Post Search API

Prepare your request, then continue with your agent.

Selected price

$0.004 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
LinkedIn Post Search API

Search LinkedIn posts API

Search for LinkedIn posts by keywords, author, date range, and more. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: search, profile, company, authorsCompany, authorsIndustryId, mentioningMember, mentioningCompany, contentType, authorKeywords, group, postedLimit, scrapePostedLimit, sortBy, page, paginationToken
Selected implementation harvestapi · Search LinkedIn posts
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Content research and account lookup: Keep source records connected to their content and account identifiers.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
pagination.pageNumber Returned page number field
pagination.pageSize Returned page size field
pagination.paginationToken Returned pagination token field
pagination.previousElements Returned previous elements field
pagination.totalElements Returned total elements field
pagination.totalPages Returned total pages field
status Reported status
elements[].content Content

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
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'

Request and Response Examples

The response illustration is a schema template, not a captured business response. Replace request placeholders and read actual returned values for your target resource.

Published Search LinkedIn posts API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (15)
Keywords to search for in posts
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
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
List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.
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
Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.
Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.
Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'
Filter by keywords in authors' profiles
Group LinkedIn URL or Group ID
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
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
Sort by field. Supported values: 'relevance', 'date'
Page number for pagination
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

Response template · not a real response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Current
Search LinkedIn posts · GET · View API reference
$0.004 / call0
—successP50—
LinkedIn — Search Posts · GET · View API reference
$0.00188 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · harvestapiUSD / call
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: 4. Price update time: not supplied.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
searchURL query parametersquerystringNo

Keywords to search for in posts

profileURL query parametersquerystringNo

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

companyURL query parametersquerystringNo

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

authorsCompanyURL query parametersquerystringNo

List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.

authorsIndustryIdURL query parametersquerystringNo

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

mentioningMemberURL query parametersquerystringNo

Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.

mentioningCompanyURL query parametersquerystringNo

Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.

contentTypeURL query parametersquerystringNo

Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'

authorKeywordsURL query parametersquerystringNo

Filter by keywords in authors' profiles

groupURL query parametersquerystringNo

Group LinkedIn URL or Group ID

postedLimitURL query parametersquerystringNo

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

scrapePostedLimitURL query parametersquerystringNo

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

sortByURL query parametersquerystringNo

Sort by field. Supported values: 'relevance', 'date'

pageURL query parametersqueryintegerNo

Page number for pagination

paginationTokenURL query parametersquerystringNo

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.

Response structure

Inferred from examples
  • elementsobject[]
    • articleobject
      • descriptionstring
      • imageobject
        • expiresAtinteger
        • heightinteger
        • urlstring
        • widthinteger
      • linkstring
      • linkLabelstring
      • subtitlestring
      • titlestring
    • authorobject
      • avatarobject
        • expiresAtinteger
        • heightinteger
        • urlstring
        • widthinteger
      • idstring
      • infoboolean
      • linkedinUrlstring
      • namestring
      • publicIdentifierstring
      • typeboolean
      • universalNamestring
      • urnstring
      • websiteboolean
      • websiteLabelboolean
    • contentstring
    • engagementobject
      • commentsinteger
      • likesinteger
      • reactionsobject[]
        • countinteger
        • typestring
      • sharesinteger
    • idstring
    • linkedinUrlstring
    • newsletterTitlestring
    • newsletterUrlstring
    • postImagesobject[]
      • expiresAtinteger
      • heightinteger
      • urlstring
      • widthinteger
    • postVideoobject
      • thumbnailUrlstring
      • videoUrlstring
    • postedAtobject
      • datestring
      • postedAgoShortstring
      • postedAgoTextstring
      • timestampinteger
    • repostnull
    • repostIdstring
    • repostedByobject
      • linkedinUrlstring
      • namestring
      • publicIdentifierstring
    • socialContentobject
      • hideCommentActionboolean
      • hideCommentsCountboolean
      • hideReactActionboolean
      • hideReactionsCountboolean
      • hideRepostsCountboolean
      • hideSendActionboolean
      • hideShareActionboolean
      • hideSocialActivityCountsboolean
      • hideViewsCountboolean
      • shareUrlstring
      • showContributionExperienceboolean
      • showSocialDetailboolean
  • errorstring
  • paginationobject
    • pageNumberinteger
    • pageSizeinteger
    • paginationTokenstring
    • previousElementsinteger
    • totalElementsinteger
    • totalPagesinteger
  • queryobject
    • companyIdstring
    • pageinteger
    • postedLimitstring
    • profileIdstring
    • searchstring
    • sortBystring
  • statusinteger

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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
    }

Common questions

Does this implementation require business input parameters?

No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

Which pagination or result-size inputs are exposed?

postedLimit is string; scrapePostedLimit is string; page is integer. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

What type does page use?

page uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use LinkedIn Post Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.