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.7 / 1k comments Extract LinkedIn post comments and replies, including likes and reactions, from a list of post URLs

Endpoint

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

Parameters

posts
array
required
List · LinkedIn post URLs to scrape comments from. One per line.
maxResults
integer
default:100
Number · Comments per post. Use 0 for all.
postedLimit
string
Dropdown · Only comments within this time window.Options: any, 1h, 24h, week, monthLegend: any = Any time, 1h = Past hour, 24h = Past 24 hours, week = Past week, month = Past month
includeReplies
boolean
Toggle · Also fetch replies to each top-level comment.

Response columns

FieldDisplay nameType
sourcePostUrlSource Post URLurl
commentUrlComment URLurl
commentTextComment Texttext
authorAuthortext
authorTitleAuthor Titletext
authorUrlAuthor URLurl
authorTypeAuthor Typetext
isPostAuthorIs Post Authorboolean
postedPostedtext
likesLikesnumber
repliesRepliesnumber
reactionsReactionsnumber
sharesSharesnumber
editedEditedboolean
pinnedPinnedboolean
contributedContributedboolean
authorAvatarAuthor Avatarurl

Example

curl -X POST https://api.mindcase.co/api/v1/agents/linkedin/post-comments/run \
  -H "Authorization: Bearer mk_live_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "posts": [
      "https://www.linkedin.com/posts/satyanadella_to-mark-the-broad-rollout-of-agent-mode-in-activity-7452924970042826753-r6bz"
    ],
    "maxResults": 10,
    "includeReplies": false
  }
}'

Example response

Response
{
  "job_id": "job_7f3a2b1c",
  "status": "completed",
  "data": [
    {
      "sourcePostUrl": "https://www.linkedin.com/posts/satyanadella_to-mark-the-broad-rollout-of-agent-mode-in-activity-7452924970042826753-r6bz",
      "commentUrl": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7452924815130165248?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7452924815130165248%2C7456715305940127744%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287456715305940127744%2Curn%3Ali%3AugcPost%3A7452924815130165248%29",
      "commentText": "Agent mode in excel is amazing. Thank you \ud83d\ude4f",
      "author": "Geethy Panicker",
      "authorTitle": "SVP, Head of Risk Appetite & Risk Strategy, Risk Governance, Enterprise Risk | Operational Risk| COO| Futurist |Intnl\u2019 Speaker | Digital Risk| AI transformation | Climate risk | MBA| MIT | Oxford| LBS | Cornell| SCR GARP",
      "authorUrl": "https://www.linkedin.com/in/geethy-panicker",
      "authorType": "profile",
      "isPostAuthor": false,
      "posted": "2026-05-03T14:44:28.007Z",
      "likes": 0,
      "replies": 0,
      "reactions": null,
      "shares": 0,
      "edited": false,
      "pinned": false,
      "contributed": false,
      "authorAvatar": null
    }
  ]
}