LinkedIn Search Posts API
Run a LinkedIn search posts and get structured, ranked results as clean JSON.
GET request to /v1/linkedin/search-posts that responds with clean JSON and costs ~16 credits (0.8/result). Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.What is the LinkedIn Search Posts API?
The LinkedIn Search Posts API lets you search and return matching results for LinkedIn search posts with a single REST call. No OAuth, no infrastructure to maintain, and no platform SDKs — send the request, get clean structured JSON back. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh.
What you get
- Ranked, structured result list
- Title, URL, author, and thumbnail per result when available
- Engagement metrics where the platform exposes them
- Configurable result limit
Try it
Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).
Parameters
curl "https://api.captapi.com/v1/linkedin/search-posts?q=artificial%20intelligence" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."Edit the parameters and the code updates instantly. Switch languages and hit copy.
Example response
{
"success": true,
"data": {
"query": "artificial intelligence",
"sort": "relevance",
"totalReturned": 5,
"posts": [
{
"platform": "linkedin",
"type": "post",
"url": "https://www.linkedin.com/posts/edward-hallett-9aa4406b_ai-is-a-tool-we-need-to-remember-that-activity-7460399963181617152-BX0D",
"text": "AI is a tool. \n\nWe need to remember that because it presents as intelligence. But intelligence is sentient.\n\nThat’s why we call it *artificial* intelligence \n\nIt’s artificial because ai only appears to create meaning. \n\nIn fact, there can be no meaning created by ai. \n\nMeaning only ever persists in the humans who engage with ai. (Meaning is the unique condition of being human). \n\nThink of ai as a ‘magic mirror’ or an ‘echo chamber’. It returns our words and images to us with heightened grandeur and clarity.\n\nI’m grateful for AI. \n\nAi can help with the task of route optimization or translation.\n\nBut it cannot establish whether the destination is worth getting to, or whether the translated text is moving (for that someone needs to be moved). \n\nSo what? \n\nRemembering that this intelligence is artificial helps us delineate what within the province of human productivity cannot for structural reasons be substituted for by ai.\n\nThis is because human beings value intelligence (sentience) in the realm of productivity.\n\nI return to my chosen advisor (broker, therapist, architect) not just because they produce the right words or images, but because they hold me in their care.\n\nIn some industries, this grounding in relationship is at the heart of productive value. \n\nIn these industries, the goal of AI is to release the full productive value of these relationships.\n\nWhen we think like this, AI allows us to celebrate the human as well as the artificial.",
"publishedAt": "2026-05-13T18:45:58.726Z",
"author": {
"name": "Edward Hallett",
"url": "https://www.linkedin.com/in/edward-hallett-9aa4406b"
},
"engagement": {
"likes": 57,
"comments": 3
},
"id": "7460399963181617152"
},
{
"platform": "linkedin",
"type": "post",
"url": "https://www.linkedin.com/posts/ebender_when-people-ask-me-what-the-phrase-artificial-activity-7480663649716494336-Wnbx",
"text": "When people ask me what the phrase \"artificial intelligence\" means, my short answer is, it means \"venture capitalists, give me some money\".\n\nBut OUP asked me for a longer answer, given here and summarized in the section headings:\n\nhttps://lnkd.in/gb28PW5k\n\nPreprint available from my publications page:\nhttps://lnkd.in/gW-KW9DY",
"publishedAt": "2026-07-08T16:46:38.081Z",
"author": {
"name": "Emily M. Bender",
"url": "https://www.linkedin.com/in/ebender"
},
"engagement": {
"likes": 524,
"comments": 18
},
"id": "7480663649716494336"
},
{
"platform": "linkedin",
"type": "post",
"url": "https://www.linkedin.com/posts/arthur-c-brooks_artificial-intelligence-is-changing-the-world-activity-7467623521242972160-giS5",
"text": "Artificial intelligence is changing the world at extraordinary speed. But the most important question isn't what AI can do. It's what it means for us to remain fully human.\n\nIt was a pleasure to sit down with Fr. Mike Schmitz to discuss Pope Leo XIV's new encyclical on artificial intelligence, human dignity, meaning, faith, and the responsibilities we face as this technology becomes more powerful. Together, we explored how technology shapes our attention, our relationships, and ultimately our understanding of what it means to be a person.\n\nThe conversation isn't really about AI. It's about us. You can watch the full conversation here: https://lnkd.in/etTUpfFj",
"publishedAt": "2026-06-02T17:09:49.184Z",
"author": {
"name": "Dr. Arthur Brooks",
"url": "https://www.linkedin.com/in/arthur-c-brooks"
},
"engagement": {
"likes": 573,
"comments": 30
},
"id": "7467623521242972160"
},
{
"platform": "linkedin",
"type": "post",
"url": "https://www.linkedin.com/posts/lukas-althoff-a57756a3_artificial-intelligence-is-enabling-people-activity-7481386565726937088-ZF9q",
"text": "Artificial Intelligence is enabling people to do things they were not able to do before. \n\nA short personal anecdote: My mum wrote her first book a few years ago. Without any experience, she submitted it to a few publishers and was rejected. She recently learned to use AI's help in spell-checking, layout design, and self-publish her book.\n\nMany of us have stories like my mum's. And our research paper provides a rigorous basis for optimism that these anecdotes will add up to AI working as an equalizer in the labor market, helping lower-skilled workers compete with higher-skilled ones more effectively.",
"publishedAt": "2026-07-10T16:39:14.695Z",
"author": {
"name": "Lukas Althoff",
"url": "https://www.linkedin.com/in/lukas-althoff-a57756a3"
},
"engagement": {
"likes": 63,
"comments": 1
},
"id": "7481386565726937088"
},
{
"platform": "linkedin",
"type": "post",
"url": "https://www.linkedin.com/posts/addyosmani_ai-leadership-motivation-activity-7397899139424043008-SPz7",
"text": "\"Critical thinking in the age of AI\": human critical thinking still matters\n\nMy latest article: https://lnkd.in/gHzdswnW\n\nCritical thinking has never mattered more than it does in this AI-heavy chapter of our industry. We can ask an assistant to generate code, propose a system design, or summarize a problem in seconds, but none of that replaces the human ability to question, verify, and think independently.\n\nIn my latest newsletter, I explore how to apply this classic framework to AI:\n\n✅ Who: Don’t rely on AI as an oracle. Treat it like a junior intern and verify the output.\n\n✅ What: Define the real problem before rushing to a solution. Don't just fix the symptom.\n\n✅ Where: Context is king. A fix that works in a sandbox might break in production.\n\n✅ When: Know the difference between a quick triage (heuristic) and a deep root-cause analysis.\n\n✅ Why: Use the \"5 Whys\" technique to uncover underlying causes, not just surface-level issues.\n\n✅ How: Communicate with evidence and data, not just opinions or \"gut feelings.\"\n\nThe goal isn't to stop using AI, but to pair it with \"humble curiosity\" - the willingness to ask if we might be missing something.\n\nThe more we rely on AI to accelerate the work, the more important this mindset becomes. Critical thinking is what keeps us honest. It keeps us from shipping band-aids. It helps us avoid chasing trendy ideas that don’t solve real user problems. And it keeps our teams aligned on the decisions that matter.\n\n#ai #leadership #motivation #programming #lifeatgoogle",
"publishedAt": "2025-11-22T07:30:01.114Z",
"author": {
"name": "Addy Osmani",
"url": "https://www.linkedin.com/in/addyosmani"
},
"engagement": {
"likes": 325,
"comments": 21
},
"id": "7397899139424043008"
}
]
}
}Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.
Response structure
A successful call returns success, cached, creditsUsed, and a data object with the following fields:
Top-level fields
queryThe search query you sent.sortSort. Example: "relevance".totalReturnedNumber of items returned in this response.
Posts
Each item in posts contains:
platformPlatform identifier (e.g. youtube, instagram).typeContent type of the item.urlCanonical URL of the item.textText content.publishedAtPublish date (ISO 8601).authorObject with name, url.engagementObject with likes, comments.idStable platform ID for the item.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Search query or keywords (min 2 characters). |
| sort | string | No | relevance or date. Default relevance. |
| limit | integer | No | Max items to return (default 20, max 50). Billed per result. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs ~16 credits (0.8/result) — billed per result, so the exact amount scales with how many items you request. Pass cache=true for a free 24h cache hit; default is always fresh (metrics refresh within ~1 hour).
linkedin_search_posts via @captapi/mcp. Set it up →How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Send one request to
/v1/linkedin/search-postsand parse the JSON response.
Use cases
Trend Discovery
Find trending content by keyword or hashtag.
Content Sourcing
Build feeds and playlists programmatically.
Monitoring
Track topics, brands, and competitors.
Research
Sample large sets of content for analysis.
Frequently asked questions
What does the LinkedIn Search Posts API do?+
The LinkedIn Search Posts API lets you search and return matching results from a public LinkedIn query using one GET request to /v1/linkedin/search-posts. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the LinkedIn Search Posts API cost?+
At the default limit this endpoint costs 16 credits (0.8 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a LinkedIn API key or OAuth?+
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the LinkedIn Search Posts API suitable for production use?+
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
More LinkedIn APIs
Ready to use the LinkedIn Search Posts API?
Sign up, grab your key, and make your first call in 60 seconds.