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 Get LinkedIn posts from a company or profile — content, media, and engagement metrics

Endpoint

POST /api/v1/agents/linkedin/company-posts/run

Parameters

urls
array
required
List · LinkedIn company URLs to scrape posts from. One per line.
maxResults
integer
default:50
Number · Posts per company/profile. 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 →
includeQuotePosts
boolean
default:true
Toggle · Quote posts (shared with commentary).
includeReposts
boolean
default:true
Toggle · Reposts (shared without commentary).

Response columns

FieldDisplay nameType
companyUrlCompany URLurl
postUrlPost URLurl
postTextPost Texttext
postedPostedtext
authorAuthortext
authorTitleAuthor Titletext
authorUrlAuthor URLurl
authorAvatarAuthor Avatarurl
authorHandleAuthor Handletext
authorTypeAuthor Typetext
likesLikesnumber
commentsCommentsnumber
sharesSharesnumber
reactionsReactionsnumber
postImagePost Imageurl
videoThumbnailVideo Thumbnailurl
videoUrlVideo URLurl
articleTitleArticle Titletext
articleLinkArticle Linkurl
articleImageArticle Imageurl
typeTypetext

Example

curl -X POST https://api.mindcase.co/api/v1/agents/linkedin/company-posts/run \
  -H "Authorization: Bearer mk_live_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "urls": [
      "https://www.linkedin.com/company/microsoft/"
    ],
    "maxResults": 10,
    "maxReactions": 5,
    "postNestedReactions": false,
    "maxComments": 10,
    "postNestedComments": false
  }
}'

Example response

Response
{
  "job_id": "job_7f3a2b1c",
  "status": "completed",
  "data": [
    {
      "companyUrl": "https://www.linkedin.com/company/microsoft/",
      "postUrl": "https://www.linkedin.com/posts/microsoft_ailearningsummit-activity-7456251136203837442-xDFY",
      "postText": "Um eine Frontier Firm zu werden, braucht es die richtige Einstellung, die passenden Kompetenzen und eine klare Strategie. \ud83d\udc40\n\nDer Countdown l\u00e4uft: In nur 3 Tagen startet der Microsoft AI Learning Summit. Das ist das ideale Event, um den ersten Schritt zu machen.\n\nUnser zweit\u00e4giges Online-Event zeigt auf, wie KI Arbeitsprozesse, Innovation und das Wachstum von Organisationen auf ein neues Level hebt.\n\nStarten Sie jetzt Ihre Reise in die Welt der KI.\n\n\ud83d\udc49 Jetzt registrieren: http://msft.it/6048vynR8\n\n#AILearningSummit",
      "posted": "2026-05-02T08:00:01.318Z",
      "author": "Microsoft",
      "authorTitle": "28,133,750 followers",
      "authorUrl": "https://www.linkedin.com/company/microsoft/posts",
      "authorAvatar": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_400_400/B56ZYQ0mrGGoAc-/0/1744038948046/microsoft_logo?e=1779321600&v=beta&t=LRwzN63RDhH82w_zep4On3Nilpv2CLkmnwD9PvAkWgk",
      "authorHandle": "microsoft",
      "authorType": "company",
      "likes": 8,
      "comments": 0,
      "shares": 3,
      "reactions": null,
      "postImage": null,
      "videoThumbnail": null,
      "videoUrl": null,
      "articleTitle": null,
      "articleLink": null,
      "articleImage": null,
      "type": "post"
    }
  ]
}