GET /v1/linkedin/stored/company/posts

LinkedIn stored company posts API: saved posts of a company

Returns the posts we have stored for one company, newest first: text, likes, comments, reposts, posted date, post URL, content type and media URLs. Send q as a company slug, URL or numeric id, and send next_cursor back as cursor while has_more is true. It reads our database only, so a miss is a 404, is not billed and never starts a crawl.

Price
$0.0005 per call
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/linkedin/stored/company/posts?q=microsoft' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/linkedin/stored/company/posts",
    params={
        "q": "microsoft",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
q requiredquerystringA company slug or linkedin.com/company URL, or its numeric company id. Example microsoft.
cursor querystringnext_cursor from the previous page.
limit queryintegerRows per page. Default 30.

Example response

The example response of the API reference, with lists cut to their first 3 items and long text shortened.

json
{
  "data": {
    "posts": [
      {
        "linkedin_activity_id": "7520878131965091840",
        "canonical_urn": "urn:li:activity:7520878131965091840",
        "author_display_name": "Microsoft",
        "author_urn": "urn:li:organization:1035",
        "caption": "Information overload is real. What if you could lighten it?\n \nIn the October edition of The Monthly Tech-In, we explore how AI is increasingly helping people turn mounds of data into action.\n \nAt the office, the new Microsoft Copilot is cha…",
        "likes": 337,
        "comments": 14,
        "reposts": null,
        "posted_at": "2026-10-27T16:04:37.817000Z",
        "post_url": "https://www.linkedin.com/posts/microsoft_october-2026-the-new-copilot-activity-7520878131965091840-mCcZ",
        "content_type": "text",
        "media_urls": [],
        "image_url": null,
        "video_url": null,
        "is_video": false,
        "metric_precision": {},
        "first_seen_at": "2026-10-27T20:42:42.393037Z",
        "last_seen_at": "2026-10-27T20:42:42.597897Z"
      },
      {
        "linkedin_activity_id": "7516505833061474305",
        "canonical_urn": "urn:li:activity:7516505833061474305",
        "author_display_name": "Microsoft",
        "author_urn": "urn:li:organization:1035",
        "caption": "This month, the Microsoft Atlanta team, in partnership with Black in Technology, hosted the 404 Tech Summit (BitCon) for two days of conversations on AI and the future of work with Atlanta's tech community. Great to learn alongside the tech…",
        "likes": 274,
        "comments": 44,
        "reposts": null,
        "posted_at": "2026-10-15T14:30:40.526000Z",
        "post_url": "https://www.linkedin.com/posts/microsoft_this-month-the-microsoft-atlanta-team-in-activity-7516505833061474305-T6ou",
        "content_type": "text",
        "media_urls": [],
        "image_url": null,
        "video_url": null,
        "is_video": false,
        "metric_precision": {},
        "first_seen_at": "2026-10-27T20:42:42.393037Z",
        "last_seen_at": "2026-10-27T20:42:42.597897Z"
      }
    ],
    "next_cursor": "WzEzMzgsIjIwMjYtMTAtMTVUMTQ6MzA6NDAuNTI2MDAwKzAwOjAwIl0",
    "has_more": true
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$0.9830",
    "request_id": "req_96b9878fa5227a2e72421c247c6ab806"
  }
}

How it works

The stored posts of one company. Newest first, with an opaque next_cursor while has_more is true; send it back as cursor.

Strictly DB: this reads what the crawler already stored and never crawls. A miss is a 404 and is not billed.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404The company is not stored. You are not charged.
429Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.