GET /v1/linkedin/post
LinkedIn post API: text, reactions, comments and reposts by post URL
Returns one post: its text, author, reactions, comment and repost counts, and under extra.comments the first comments the public page shows. Send url as a linkedin.com/posts or /feed/update URL or the numeric activity id. LinkedIn shows no further comments to a signed-out reader, so this call cannot page them.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/linkedin/post?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fopenai_openai-bio-bug-bounty-activity-7481413628601229312-Lbc7' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/linkedin/post",
params={
"url": "https://www.linkedin.com/posts/openai_openai-bio-bug-bounty-activity-7481413628601229312-Lbc7",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
url required | query | string | A linkedin.com/posts or /feed/update URL, or the numeric activity id. |
cached | query | auto | cache_only | live | auto (default) serves a read saved within the last 24 hours for these exact arguments, otherwise fetches. cache_only never contacts LinkedIn (404 not_cached when nothing is saved, whatever its age). live always fetches. Anything else is a 400. |
get_raw | query | boolean | Not available on this operation: the upstream document is an HTML page, and true answers 400. The default false returns the normalized type. |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
{
"data": {
"id": "7481413628601229312",
"shortcode": null,
"taken_at": "2026-07-10T18:26:46.986000+00:00",
"kind": null,
"product_type": "text",
"caption": "As part of our ongoing efforts to strengthen our safeguards for advanced AI capabilities in biology, we’re evolving our Bio Bug Bounty into an ongoing private program, known as the OpenAI Bio Bug Bounty program and doubling rewards to $50K.…",
"hashtags": [],
"mentions": [],
"accessibility_caption": null,
"likes": 961,
"comments": 135,
"views": null,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": null,
"owner": {
"id": "11130470",
"username": "openai",
"full_name": "OpenAI 12,056,703 followers 3mo",
"is_verified": null,
"is_private": null,
"avatar_url": null,
"latest_story_at": null,
"extra": {
"account_kind": "company"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": null,
"thumbnail_url": null,
"video_duration": null,
"media": [],
"media_urls": [],
"extra": {
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7481413628601229312/",
"canonical_urn": "urn:li:activity:7481413628601229312",
"reposts": null,
"likes_approximate": false,
"comments_approximate": false,
"comments": [
{
"id": "7481415220238884865",
"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…",
"created_at": "2026-07-10T18:33:06.479000+00:00",
"likes": 32,
"replies": null,
"liked_by_owner": null,
"owner": {
"id": null,
"username": "richard-b-42469439b",
"full_name": "Richard B",
"is_verified": null,
"is_private": null,
"avatar_url": null,
"latest_story_at": null,
"extra": {
"account_kind": "member"
}
},
"extra": {
"canonical_urn": "urn:li:comment:(urn:li:activity:7481413628601229312,7481415220238884865)",
"is_partial": true
}
},
{
"id": "7481416140829868033",
"text": "The success criterion is doing a lot of work here. \"Universal jailbreak\" assumes one pattern that breaks the guardrail across contexts. In security audits I almost never see that vector in the wild. What actually works is multi-turn escalat…",
"created_at": "2026-07-10T18:36:45.965000+00:00",
"likes": 3,
"replies": null,
"liked_by_owner": null,
"owner": {
"id": null,
"username": "marek-porycki",
"full_name": "Marek Porycki",
"is_verified": null,
"is_private": null,
"avatar_url": null,
"latest_story_at": null,
"extra": {
"account_kind": "member"
}
},
"extra": {
"canonical_urn": "urn:li:comment:(urn:li:activity:7481413628601229312,7481416140829868033)",
"is_partial": true
}
}
]
}
},
"meta": {
"source": "live",
"fetched_at": "2026-10-27T20:38:50.818781+00:00",
"cost": "$0.0005",
"balance": "$0.9990",
"request_id": "req_5554851f6bceac105431187cc61b2e91"
}
}How it works
One post with its author, reactions, comments and reposts. extra.comments holds the first comments the guest page shows; LinkedIn pages no further comments to a signed-out reader. Returns Post under data. LinkedIn is read as a signed-out guest and every upstream document is an HTML page, so get_raw is not available.
A field LinkedIn does not carry is null, a list it does not carry is [], and LinkedIn-only facts sit under extra. Unknown, unsupported, and repeated query parameters return 400 before acquisition or billing.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | cached=cache_only found nothing saved for these arguments (not_cached; call again with cached=auto to fetch it), or the LinkedIn account or item does not exist (not_found). You are not charged. |
429 | Over 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. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |