# Search LinkedIn posts

Search LinkedIn posts by keywords, author, date range, and more.

|  |  |
| --- | --- |
| Tool id | `harvestapi.linkedin-post-search` |
| Platform | [LinkedIn](https://www.orcarouter.ai/tools/linkedin.md) |
| Capability | [Search posts](https://www.orcarouter.ai/tools/linkedin/search-posts.md) |
| Price | $0.0044 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `authorKeywords` | string | no | Filter by keywords in authors' profiles |
| `authorsCompany` | string | no | List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs. |
| `authorsIndustryId` | 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 |
| `company` | string | no | Filter posts by this company URL or URLs (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 |
| `companyId` | string | no | Filter posts by company ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint |
| `contentType` | string | no | Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs' |
| `group` | string | no | Group LinkedIn URL or Group ID |
| `mentioningCompany` | string | no | Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs. |
| `mentioningMember` | string | no | Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs. |
| `page` | integer | no | Page number for pagination |
| `paginationToken` | 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 |
| `postedLimit` | 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 |
| `profile` | string | no | Filter posts by author's profile URL (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 |
| `profileId` | string | no | Filter posts by author's profile ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint |
| `scrapePostedLimit` | 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 |
| `search` | string | no | Keywords to search for in posts |
| `sortBy` | string | no | Sort by field. Supported values: 'relevance', 'date' |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/harvestapi.linkedin-post-search/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/harvestapi.linkedin-post-search/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Search LinkedIn jobs](https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-search-jobs.md) | — | $0.0011 per call | OK |
| [LinkedIn Post Search](https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-search-posts.md) | — | $0.00132 per call | OK |
| [Search LinkedIn posts by keyword](https://www.orcarouter.ai/tools/linkedin/search-posts/x-v1-linkedin-search-posts.md) | — | $0.002068 per credit | OK |
| [Search LinkedIn groups](https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-group-search.md) | — | $0.0022 per call | OK |
| [LinkedIn Post Search (full)](https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-search-posts-full.md) | — | $0.0044 per call | OK |
| [Search LinkedIn companies](https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-company-search.md) | — | $0.0044 per call | OK |
| [Search LinkedIn service providers](https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-service-search.md) | — | $0.0044 per call | OK |
| [LinkedIn Company Search](https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-search-companies.md) | — | $0.0055 per call | OK |

## FAQ

### How much does Search LinkedIn posts cost?

Search LinkedIn posts costs $0.0044 per call: 1,000 calls cost $4.40.

### What does a $10 budget buy with Search LinkedIn posts?

About 2272 calls at $0.0044 per call.

### What inputs does Search LinkedIn posts need?

It has no required inputs.

### How do I call Search LinkedIn posts?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/linkedin/search-posts/linkedin-post-search
