# LinkedIn Public Comments & Reactions Scraper

> LinkedIn Public Comments & Reactions Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-02).

Scrapes public LinkedIn comment previews and/or reaction previews from one or more profile activity pages, optionally enriching each row with post details.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/linkedin-comments?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/linkedin-public-comments-reactions-scraper-6c2589ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PAZ2bPuS0A5T_Elg-mCMR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability linkedin-public-comments-reactions-scraper-6c2589ae -d '<json body>'
```

Example prompt: Scrape the public LinkedIn comments and reactions for these three profiles — linkedin.com/in/johndoe, linkedin.com/in/janedoe, linkedin.com/in/bobsmith — get both comments and reactions, limit to activity from the past month, up to 50 rows per profile, and include the full post details for each comment.

## When to prefer this

Choose this endpoint when you need structured, pay-per-result extraction of public LinkedIn comment and reaction activity at scale across multiple profiles, especially for lead research, sales intelligence, or social listening workflows — without building or maintaining your own LinkedIn scraper.

## Known failure modes

- Private or restricted LinkedIn profiles return zero rows but are not charged
- Profile URL format not matching expected /in/ pattern may cause parse errors
- LinkedIn rate limiting or anti-bot measures may cause empty results
- Invalid scrapeType enum value returns a validation error
- Empty profiles array returns no data

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count and an array of activity items, each containing fields such as profileName, profileHeadline, profileImageUrl, profileInput, sourceProfile, activityUrl, actionType, reactionType — and when post enrichment is enabled, additional post-level fields like post text, author, engagement counts, and a direct comment link.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Stop after this many rows across all profiles; 0 means no total cap."
  },
  "profiles": {
   "type": "array",
   "description": "Public /in/ profile URLs or usernames. Only the activity shown on each anonymous profile preview is available."
  },
  "scrapeType": {
   "enum": [
    "comments",
    "reactions",
    "both"
   ],
   "type": "string",
   "default": "comments",
   "description": "Collect public comment previews, reaction previews, or both."
  },
  "postedLimit": {
   "enum": [
    "any",
    "week",
    "month",
    "3months",
    "6months",
    "12months"
   ],
   "type": "string",
   "default": "any",
   "description": "Filter using the relative age shown publicly. Reaction rows use the post age because the reaction date is unavailable."
  },
  "commentsLimit": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Maximum comment preview rows per profile; 0 collects every publicly visible preview row."
  },
  "reactionsLimit": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Maximum reaction preview rows per profile; 0 collects every publicly visible preview row."
  },
  "includePostDetails": {
   "type": "boolean",
   "default": true,
   "description": "Open linked public posts to enrich comment rows with post text, author, counts, and a comment link when visible."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "actionType": null,
    "activityUrl": null,
    "profileName": null,
    "profileInput": null,
    "reactionType": null,
    "sourceProfile": null,
    "profileHeadline": null,
    "profileImageUrl": null
   }
  ],
  "product": "linkedin-comments"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/linkedin-public-comments-reactions-scraper-6c2589ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
