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.00188 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
LinkedIn Post Search API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
LinkedIn — Search Posts API
Finds public LinkedIn posts, feed updates, and Pulse articles by keyword using Google Search, then returns post details such as description, author, media, images, like count, comment count, and published date when LinkedIn exposes them publicly. Provide query in query. 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: query, date_posted, cursor |
| Selected implementation | scrapecreators · LinkedIn — Search 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 |
|---|---|
cursor |
Pagination cursor |
credits_charged |
Returned credits charged field |
credits_remaining |
Returned credits remaining field |
posts[].author |
Author context |
posts[].commentCount |
Returned comment count field |
posts[].comments |
Returned comments field |
posts[].datePublished |
Returned date published field |
posts[].description |
Description |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/linkedin/search/posts?date_posted=last-week&query=ai+agents' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published LinkedIn — Search 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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| Search LinkedIn posts · GET · View API reference | $0.004 / call | —Select to load statistics | —successP50— | |
Current LinkedIn — Search Posts · GET · View API reference | $0.00188 / call | 0 | —successP50— |
- Unit price
- $0.00188
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.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/linkedin/search/posts- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | URL query parametersquery | string | Yes | Keyword or phrase to search for in public LinkedIn posts |
date_posted | URL query parametersquery | string | No | Date posted filter based on Google-indexed results enum: "last-hour", "last-day", "last-week", "last-month", "last-year" |
cursor | URL query parametersquery | string | No | The cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
credits_chargedintegercredits_remainingintegercursorstringpostsobject[]authorobjectfollowersintegerimagestringnamestringurlstring
commentCountintegercommentsobject[]authorstringlinkedinUrlstringtextstring
datePublishedstringdescriptionstringimagestringimagesstring[]likeCountintegermediastringurlstring
querystringsuccessboolean
Agent integration
Copy the resource contract without sharing an API key.
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
Official example
Example from the provider's documentation. Field values in your results will differ.
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 3
Review these request fields before running. Keep the published provider and request method unchanged.
query- Keyword or phrase to search for in public LinkedIn posts
date_posted- Date posted filter based on Google-indexed results
cursor- The cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/linkedin/search/posts?date_posted=last-week&query=ai+agents' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 49997307943, "cursor": "2", "posts": [ { "author": { "followers": 313422, "image": "https://media.licdn.com/dms/image/v2/D5603AQGl7mUqMgCLRQ/profile-displayphoto-scale_200_200/B56Z3V9cKNKgAc-/0/1777411150180?e=2147483647&v=beta&t=oVB3kzDdrFGH-2pOYeziFk3m_B8fTCiH190YbTMrgoY", "name": "Aakash Gupta", "url": "https://www.linkedin.com/in/aagupta" }, "commentCount": 25, "comments": [ { "author": "Lewin Wanzer", "linkedinUrl": "https://www.linkedin.com/in/lewinwanzer", "text": "Thanks for sharing, Aakash. Appreciate the breakdown—but here’s the twist most are missing: the AI agent is Agent Smith.\nThe more we chase “smart tasks” without structure, the more we lose the plot. Developers are confused. “AI Architects” don’t exist. And agents are now doing things they were never cleared to do.\nWe don’t need more tools—we need orchestration, identity-bound execution, and governed outcomes. Tourque will set the standard. Until that’s the norm, it’s just hype on autopilot." } ], "datePublished": "2025-07-25T19:56:02.566Z", "description": "There's way too much hype about AI agents.\n\nHere's your simple guide:\n\nForget the super complex taxonomies out there. There are 4 categories of tools you should know.\n\n1. Consumer Agents\n\nThe latest LLMs, like Grok and Claude, have agents built-in. ChatGPT is rolling out the 'Agent' tool to paid plans as we speak.\n\nThese are best for:\n\n- Ad-hoc analysis\n- Quick research tasks\n- Content creation (PRDs, strategy docs)\n\n2. No-Code Agent Builders\n\nThere is a new class of tools that you must know. Tools like Zapier and Lindy offer where you can do things like connecting your Gmail to Claude.\n\nBe sure to explore these for:\n\n- Email triage\n- Competitor monitoring\n- Automated data reporting\n\n3. Developer-First Platforms\n\nAll the tools you've heard like CrewAI, Langchain, and Autogen are great frameworks for developers. Think of them as the React/Node for agents.\n\nThey're for:\n\n- Customer-facing agents\n- Deep system integrations\n- Complex, proprietary business logic\n\n4. Specialized Agent Apps\n\nTools like Cursor, Otter, and Jasper are specialized agent apps. They're supported by complex business logic to do one task really well.\n\nMy recommendations:\n\n- Coding → Cursor\n- Meetings → Otter AI\n- Research → Perplexity\n\nReady to go the layer deeper? I teamed up with AI PM at Meta Vikash Rungta to write you the web's most practical and simple guide: https://lnkd.in/eeey5Cxr\n\nPlease, let's end all the hype and talk real use cases.\n\nP.S. What agent are you using most?", "image": "https://media.licdn.com/dms/image/v2/D4E1FAQHAzpgC7eaKgw/feedshare-document-images_160/B4EZhDHPPEGoAs-/1/1753472629037?e=1780531200&v=beta&t=7UAmCkScn1TSkvHB9HxLTPoBV7wibupD2WlKSec3ork", "images": [ "https://media.licdn.com/dms/image/v2/D4E1FAQHAzpgC7eaKgw/feedshare-document-images_160/B4EZhDHPPEGoAs-/1/1753472629037?e=1780531200&v=beta&t=7UAmCkScn1TSkvHB9HxLTPoBV7wibupD2WlKSec3ork" ], "likeCount": 217, "media": "https://media.licdn.com/dms/image/v2/D4E1FAQHAzpgC7eaKgw/feedshare-document-images_160/B4EZhDHPPEGoAs-/1/1753472629037?e=1780531200&v=beta&t=7UAmCkScn1TSkvHB9HxLTPoBV7wibupD2WlKSec3ork", "url": "https://www.linkedin.com/posts/aagupta_what-you-need-to-know-ai-agents-activity-7354600338621906944-RvXR" } ], "query": "ai agents", "success": true }