Everything you need to integrate the RichAPI API into your product.
Get recent posts published by a LinkedIn company. Supports filtering by date recency and cursor-based pagination.
/api/v1/linkedin_company_postsParameters
| Field | Type | Required | Description |
|---|---|---|---|
page | int | No | Page number for pagination (1-based, default 1). |
linkedin_company_url | text | No | LinkedIn company URL (use this, linkedin_company_id, or linkedin_company_universal_name). |
linkedin_company_id | text | No | LinkedIn company numeric ID (fastest lookup). |
linkedin_company_universal_name | text | No | Last path segment of the company LinkedIn URL (e.g. texauhq). |
posted_limit | text | No | Pre-filter posts by recency: 24h, week, or month. |
scrape_posted_limit | text | No | Scrape posts until this recency threshold is met: '1h', '24h', 'week','month', '3months', '6months', 'year'. |
Example response
{
"elements": [
{
"author": {
"avatar": {
"height": 400,
"url": "https://media.licdn.com/dms/image/v2/D560BAQExme8rEtP5QA/company-logo_400_400/B56ZxqRRoGIIAc-/0/1771309440256/texauhq_logo?e=1783555200&v=beta&t=5ktl-8pximLvXXo1YnSoKoK9OjrYOfpp8QVs6Ixyzg8",
"width": 400
},
"id": "76136784",
"info": "2,288 followers",
"linkedinUrl": "https://www.linkedin.com/company/texauhq/posts",
"name": "TexAu",
"publicIdentifier": null,
"type": "company",
"universalName": "texauhq",
"urn": "76136784",
"website": null,
"websiteLabel": null
},
"comments": [],
"content": "People still think TexAu is a data scraping tool!\n\nOur Founder, Vikesh Tiwari disagrees. Strongly. We sat down with him to ask everything - v3, the API, MCP, new pricing and what comes next.\n\nIf you think you know about TexAu or Curious about what comes next, turn the sound on and watch till the end. π\n\n#TexAu #StartupCulture #GTM #TexAuMcp",
"contentAttributes": [
{
"hyperlink": "https://www.linkedin.com/in/ACoAADSlaZgBSwytnwyWSoHJGmT0LGmDG8twWnU",
"length": 13,
"profile": {
"firstName": "Vikesh",
"id": "ACoAADSlaZgBSwytnwyWSoHJGmT0LGmDG8twWnU",
"lastName": "Tiwari",
"linkedinUrl": "https://www.linkedin.com/in/iamvikeshtiwari",
"publicIdentifier": "iamvikeshtiwari"
},
"start": 64,
"textLink": null,
"type": "PROFILE_MENTION"
}
],
"engagement": {
"comments": 1,
"id": "7458081859688669184",
"likes": 22,
"reactions": [
{
"count": 17,
"type": "LIKE"
},
{
"count": 3,
"type": "EMPATHY"
},
{
"count": 2,
"type": "PRAISE"
}
],
"shares": 1
},
"entityId": "7458081860720689153",
"header": {
"text": null
},
"id": "7458081860720689153",
"linkedinUrl": "https://www.linkedin.com/posts/texauhq_texau-startupculture-gtm-activity-7458081860720689153-a72A",
"postImages": [],
"postVideo": {
"thumbnailUrl": "https://media.licdn.com/dms/image/v2/D4D10AQEu4yscPORhAQ/ads-video-thumbnail_720_1280/B4DZ4BtldQKsAU-/0/1778145187867?e=1782460800&v=beta&t=DsEbhEy5Ym_RTzmd-L4DYkOs6kY3yBDWLZp5CCcR2hw",
"videoUrl": "https://dms.licdn.com/playlist/vid/v2/D4D10AQEu4yscPORhAQ/mp4-720p-30fp-crf28/B4DZ4BtldQKsBg-/0/1778145278116?e=1782460800&v=beta&t=-yOFkLLYA1mOHbYk_G8CTFXdzAYESZqOIqgPgQsz2W8"
},
"postedAt": {
"date": "2026-05-07T09:14:40.056Z",
"postedAgoShort": "1mo",
"postedAgoText": "1 month ago β’ Edited β’ Visible to anyone on or off LinkedIn",
"timestamp": 1778145280056
},
"shareLinkedinUrl": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7458081859688669184",
"shareUrn": "urn:li:ugcPost:7458081859688669184",
"socialContent": {
"hideCommentAction": false,
"hideCommentsCount": false,
"hideReactAction": false,
"hideReactionsCount": false,
"hideRepostsCount": false,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": false,
"hideViewsCount": false,
"shareUrl": "https://www.linkedin.com/posts/texauhq_texau-startupculture-gtm-activity-7458081860720689153-a72A?",
"showContributionExperience": false,
"showSocialDetail": true,
"trustInterventionBanner": null
}
}
],
"pagination": {
"pageNumber": 1,
"pageSize": 1,
"paginationToken": "1758430021-1781853930031-c1cf744f67f08d85017b7d298576af27",
"previousElements": 0,
"totalElements": 1,
"totalPages": 1
},
"query": {
"authorsCompanyIds": [],
"companyIds": [
"76136784"
],
"companyUniversalName": "texauhq",
"page": "1",
"postedLimit": "past-week",
"profileIds": []
},
"status": 200
}Code
curl -X POST https://dev-api.richapi.ai/api/v1/linkedin_company_posts \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"linkedin_company_url": "https://www.linkedin.com/company/texauhq/",
"linkedin_company_id": "123456",
"linkedin_company_universal_name": "texauhq",
"posted_limit": "week",
"scrape_posted_limit": "month"
}'Try it
Sign in to test this endpoint with your API key.
Sign in to try