Introducing the Instagram APIRead more →

LinkedIn Profile Comments API. Comments, page by page.

Comments a member wrote, with the post each is on. We handle the proxies, blocks and platform changes.

In your agent: LinkedIn MCP server →

LinkedIn Profile Comments API at a glance

Returns the comments a LinkedIn member wrote on posts, newest first, from their profile link or name. Each comment has its text, exact time and reply count, beside the post it is on: its link, author and the start of its text. A data partner reads the member's recent activity.

GET /v1/linkedin/profile_comments

Read the API reference
  • 10 credits per page, $7.49–$19.67 per 1,000 pages
  • 16 typed fields null when unknown
  • 100 comments per page, newest first
  • handle is all it needs, e.g. https://www.linkedin.com/in/williamhgates/

Send one request. Get up to 100 comments back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = https://www.linkedin.com/in/williamhgates/
GET /v1/linkedin/profile_commentsTry in
const params = new URLSearchParams({
  handle: "https://www.linkedin.com/in/williamhgates/",
});
const res = await fetch(`https://socialtap.dev/v1/linkedin/profile_comments?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/linkedin/profile_commentsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 13 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field LinkedIn doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The LinkedIn member: their profile link (linkedin.com/in/<name>, any tab of it such as /recent-activity/comments/), their public name, with or without in/ (in/williamhgates), or their profile URN (ACoAA…, alone or as linkedin.com/in/ACoAA…).

  • Write one parser

    LinkedIn, TikTok, Instagram and 10 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native comment ID (string; Reddit with its t1_ prefix).
post_idstring
ID of the post commented on (equals post.id).
parent_idstring
ID of the comment this replies to; null for top-level comments.
urlstring
Permalink, when the platform has one.
textstring
Comment body as plain text.
authorobject
The commenting account. An account the platform no longer names (a deleted account) has a null id and username and the platform's label as display_name (Reddit: [deleted]).
published_atstring
When the comment was posted, RFC 3339 UTC. Where the platform shows only a relative time ("3 weeks ago"), the latest time that label allows (the fetch time minus the stated amount), listed in approximate_fields.

What teams build with the LinkedIn Profile Comments API.

  • See what a prospect says on other people's posts

  • Track an executive's public replies over time

  • Find the posts a candidate engages with

  • Monitor what a competitor's leaders comment on

Good to know before you build.

  • A data partner reads every request: LinkedIn's logged-out pages show a member's comments with an age such as 2d, and with no ID.
  • LinkedIn names no comment logged out, so id is SocialTap's: the post's ID and the comment's time in milliseconds, joined by an underscore. It stays the same across requests, and url is null.
  • The partner reads a member's most recent activity only, so a long list ends at platform_limit.
  • A reply the member wrote is listed like a comment, with parent_id null: the partner doesn't say which comment it answers. Like counts are null.
  • Comments in LinkedIn groups are left out: a group's posts are its members' alone.

10 credits per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Data partner vendor10 credits$7.49–$19.67
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the LinkedIn Profile Comments API.

More in the API reference.

How much does the LinkedIn Profile Comments API cost?
A page of up to 100 comments costs 10 credits. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 276 endpoints
Start for free Read the docs