Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt

Use this file to discover all available pages before exploring further.

$1.4 / 1k posts Search LinkedIn posts, including author, content, and date, using configurable filters to target specific profiles or companies

Endpoint

POST /api/v1/agents/linkedin/post-search/run

Parameters

queries
array
required
List · Keywords to search LinkedIn posts for. One per line.
maxResults
integer
default:50
Number · Posts per query. Use 0 for all.
postedLimit
string
Dropdown · Only posts within this time window.
any, 1h, 24h, week, month, 3months, 6months, yearLegend: any = Any time, 1h = Past hour, 24h = Past 24 hours, week = Past week, month = Past month, 3months = Past 3 months, 6months = Past 6 months, year = Past yearView all 8 as a structured list →
sortBy
string
Dropdown · Sort order for results.Options: relevance, recentLegend: relevance = Relevance, recent = Most recent
authors
array
List · Filter posts to specific authors. One per line — accepts profile URLs, company names (‘Google’, ‘Stripe’), or keywords matching headlines/titles (‘data scientist’).
mentioning
array
List · Filter posts that mention specific people or companies. One per line — accepts profile URLs (linkedin.com/in/…), company URLs (linkedin.com/company/…), or company names.
contentType
string
Dropdown · Filter to a specific media type.Options: all, videos, images, jobs, live_videos, documents, collaborative_articles

Response columns

FieldDisplay nameType
searchQuerySearch Querytext
postUrlPost URLurl
postTextPost Texttext
postedPostedtext
authorAuthortext
authorTitleAuthor Titletext
authorUrlAuthor URLurl
authorHandleAuthor Handletext
authorTypeAuthor Typetext
likesLikesnumber
commentsCommentsnumber
sharesSharesnumber
reactionsReactionsnumber
typeTypetext
postedAtTimestampPosted At Timestampinteger
authorDetailsAuthor Detailstext
jobDetailsJob Detailsobject
articleDetailsArticle Detailsobject
contentAttributesContent Attributesarray
authorAvatarAuthor Avatarurl
videoThumbnailVideo Thumbnailurl
videoUrlVideo URLurl

Example

curl -X POST https://api.mindcase.co/api/v1/agents/linkedin/post-search/run \
  -H "Authorization: Bearer mk_live_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "queries": [
      "AI agents"
    ],
    "maxResults": 10,
    "scrapeReactions": false,
    "maxReactions": 5,
    "postNestedReactions": false,
    "maxComments": 10
  }
}'

Example response

Response
{
  "job_id": "job_7f3a2b1c",
  "status": "completed",
  "data": [
    {
      "searchQuery": "AI agents",
      "postUrl": "https://www.linkedin.com/posts/shastap_aiagents-activity-7456084515224965121-EZ9S",
      "postText": "Agentic AI: Building Data-First AI Agents! #aiagents",
      "posted": "2026-05-01T20:57:55.781Z",
      "author": "Shasta P.",
      "authorTitle": "Sugar Pop (wax melts) \ud83c\udf6dWhere Fragrance Meets Fun \ud83c\udf6d",
      "authorUrl": "https://www.linkedin.com/in/shastap?miniProfileUrn=urn%3Ali%3Afsd_profile%3AACoAABKGH90BFXkXD4DN9lVEDr8qMpwSXJ4TLT0",
      "authorHandle": "shastap",
      "authorType": "profile",
      "likes": 1,
      "comments": 0,
      "shares": 0,
      "reactions": null,
      "type": "post",
      "postedAtTimestamp": 1777669075781,
      "authorDetails": {
        "id": "ACoAABKGH90BFXkXD4DN9lVEDr8qMpwSXJ4TLT0",
        "universalName": null,
        "publicIdentifier": "shastap",
        "type": "profile",
        "name": "Shasta P.",
        "linkedinUrl": "https://www.linkedin.com/in/shastap?miniProfileUrn=urn%3Ali%3Afsd_profile%3AACoAABKGH90BFXkXD4DN9lVEDr8qMpwSXJ4TLT0",
        "info": "Sugar Pop (wax melts) \ud83c\udf6dWhere Fragrance Meets Fun \ud83c\udf6d",
        "website": null,
        "websiteLabel": null,
        "avatar": {
          "url": "https://media.licdn.com/dms/image/v2/D5603AQFWG2kD9eHYJg/profile-displayphoto-crop_800_800/B56ZyGwTGtGoAI-/0/1771787337440?e=1779321600&v=beta&t=6nwzTsDha2ZYYw8q1pXBQbdGyYfg08dQwnzLPwj5FrE",
          "width": 800,
          "height": 800,
          "expiresAt": 1779321600000
        },
        "urn": "310779869"
      },
      "jobDetails": null,
      "articleDetails": null,
      "contentAttributes": [],
      "authorAvatar": "https://media.licdn.com/dms/image/v2/D5603AQFWG2kD9eHYJg/profile-displayphoto-crop_800_800/B56ZyGwTGtGoAI-/0/1771787337440?e=1779321600&v=beta&t=6nwzTsDha2ZYYw8q1pXBQbdGyYfg08dQwnzLPwj5FrE",
      "videoThumbnail": "https://media.licdn.com/dms/image/v2/D560DAQFL4bRud3pXew/learning-public-crop_144_256/learning-public-crop_144_256/0/1721841126629?e=1778310000&v=beta&t=R19GHMeXxcghhxkpr93jW54j32LcBvUa-evpBHTMmLE",
      "videoUrl": "https://dms.licdn.com/playlist/vid/v2/D4D0DAQEXQd47yB0k3g/mp4-720p-30fp-crf28/mp4-720p-30fp-crf28/0/1721773860868?e=1778310000&v=beta&t=4_gFhYWO8znobxdyfDKi48ROBZiCdspfmaldaxAcxVw"
    }
  ]
}