GET /v1/linkedin/stored/post/comments

LinkedIn stored comments API: saved comments of a post by URL or ID

Returns the comments we have stored for one post, in the order we stored them: author, text, reactions and comment date, plus stored_total. Send q as a post URL or numeric activity 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/post/comments?q=7481413628601229312' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

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

Parameters

NameInTypeDescription
q requiredquerystringA linkedin.com/posts or /feed/update URL, or the numeric activity id. Example 7481413628601229312.
cursor querystringOpaque next_cursor from the previous page.
limit queryintegerComments per page. Default 50.

Example response

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

json
{
  "data": {
    "post": {
      "activity_id": "7481413628601229312"
    },
    "comments": [
      {
        "linkedin_comment_id": "7481414183733952512",
        "canonical_urn": "urn:li:comment:(urn:li:activity:7481413628601229312,7481414183733952512)",
        "author_display_name": "Sergio Cardenas",
        "author_slug": "sergioestebanc",
        "text": "cc Aryan Sharma",
        "reactions": 1,
        "commented_at": "2026-07-10T18:28:59.357000Z",
        "is_partial": true,
        "first_seen_at": "2026-10-27T20:42:43.443105Z"
      },
      {
        "linkedin_comment_id": "7481415220238884865",
        "canonical_urn": "urn:li:comment:(urn:li:activity:7481413628601229312,7481415220238884865)",
        "author_display_name": "Richard B",
        "author_slug": "richard-b-42469439b",
        "text": "$50K for a universal biosafety jailbreak is a serious signal. OpenAI are acknowledging the threat is real enough to put significant money behind finding it before someone else does. SPECTER ORACLE runs autonomous LLM-vs-LLM jailbreaking — D…",
        "reactions": 32,
        "commented_at": "2026-07-10T18:33:06.479000Z",
        "is_partial": true,
        "first_seen_at": "2026-10-27T20:42:43.443105Z"
      }
    ],
    "stored_total": 9,
    "next_cursor": "WzE3XQ",
    "has_more": true
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$0.9800",
    "request_id": "req_848fb8ecd3ae31318aff9ed770d4d482"
  }
}

How it works

The comments stored for one post, in the order they were stored, with next_cursor while has_more is true.

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 post 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.