LinkedIn Post Comments Replies Scraper API
Lists the replies under one LinkedIn comment, oldest first, each with its author, text, time, reaction breakdown and ext.is_submitter (true when the reply is by the post's author). Called without cursor it returns the whole thread. Pass the parent comment's comment.id, or its comment.ext.urn, as comment_id; the urn is the faster route on posts published as images, video or documents. A thread read without cursor takes about 20 seconds, and up to about 30 on the first comment of such a post when only the bare id is passed.
GET /api/v1/data/linkedin/post-comments-replies · 5 credits per page · The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.
Inputs
url(required): Full URL of the LinkedIn post. It has to carry the post's ACTIVITY id, either `https://www.linkedin.com/feed/update/urn:li:activity:<id>` or `https://www.linkedin.com/posts/<slug>-activity-<id>-<code>`.comment_id(required): Comment id.cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.count(integer): How many comments this answer holds.comments[].id(string): The item's ID on the platform.comments[].url(string): Link to it on the platform.comments[].post_id(string): The post the comment is on.comments[].parent_id(string): The comment it answers, or null for a comment on the post itself.comments[].text(string): Its text.comments[].published_at(string): When it was published (ISO 8601).comments[].language(string): Its language code.comments[].deleted(boolean): Whether it was deleted.comments[].author_id(string): The author's ID on the platform.comments[].author_username(string): The author's username.comments[].author_name(string): The author's display name.comments[].author_verified(boolean): Whether the author is verified.comments[].author_avatar_url(string): The author's picture.comments[].like_count(number): Likes.comments[].reply_count(number): Replies to it.comments[].platform(string): The platform's name.comments[].source_data(object): Everything the platform sent for this row, as it came.comments[].source_data.comment.author.avatar_url(string): URL to comment author profile picturecomments[].source_data.comment.author.display_name(string): Comment author display namecomments[].source_data.comment.author.username(string): Comment author username (null when tombstoned)comments[].source_data.comment.author.verified(boolean): Whether the comment author is verifiedcomments[].source_data.comment.engagement.likes(number): Like / upvote countcomments[].source_data.comment.engagement.replies(number): Reply / child-comment count.comments[].source_data.comment.ext.author_headline(string): The commenter's profile headline. LinkedIn only.comments[].source_data.comment.ext.author_id(string)comments[].source_data.comment.ext.author_type(string): Whether the commenter is a member (user) or a page (company). LinkedIn only.comments[].source_data.comment.ext.author_urn(string): The commenter's LinkedIn member URN (ACoAA...), the id the profile lookups take; null for a page. LinkedIn only.comments[].source_data.comment.ext.has_previous_replies(boolean): Whether the thread has more replies than comment.replies carries. LinkedIn only.comments[].source_data.comment.ext.is_contribution(boolean): Whether the comment is a contribution to a LinkedIn collaborative article. LinkedIn only.comments[].source_data.comment.ext.is_edited(boolean): Whether the comment was edited.comments[].source_data.comment.ext.is_submitter(boolean): Whether the commenter also wrote the post they are replying under. Reddit's OP badge.comments[].source_data.comment.ext.previous_replies_token(string): Cursor to load the earlier replies of a LinkedIn comment thread.comments[].source_data.comment.ext.reaction_counts(array): Reaction counts by type.comments[].source_data.comment.ext.urn(string): LinkedIn member urn of the commenter.comments[].source_data.comment.flags.deleted(boolean): Whether the comment is tombstoned (always present, even when false)comments[].source_data.comment.flags.pinned(boolean): Pinned flag (null when platform does not surface)comments[].source_data.comment.id(string): Platform-specific comment ID (always a string)comments[].source_data.comment.parent_id(string): Parent comment ID for nested replies, or null for top-level commentscomments[].source_data.comment.post_id(string): ID of the post this comment belongs tocomments[].source_data.comment.published_at(any): Comment creation timestamp as an ISO 8601 UTC string.comments[].source_data.comment.text(string): Comment body.comments[].source_data.comment.url(string)comments[].source_data.computed.country.confidence(number)comments[].source_data.computed.country.source(string)comments[].source_data.computed.country.value(string)comments[].source_data.computed.language(string)next_cursor(string): Send it as cursor to get the next page; null when there is none.has_more(boolean): Whether there is another page.
Good to know
- Each page costs 5 credits. A call that finds nothing, or fails, is free.
- Each call returns one page of about 4 comments. To get the next page, send next_cursor from the answer as cursor.
- The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.
Example call
GET /api/v1/data/linkedin/post-comments-replies?comment_id=7501480403283886080&url=https%3A%2F%2Fwww.linkedin.com%2Ffeed%2Fupdate%2Furn%3Ali%3Aactivity%3A7501466755261820928
Questions
How much does the LinkedIn Post Comments Replies API cost?
Each page costs 5 credits. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send url and comment_id. 2 more inputs are optional: since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How do I get the next page?
Each call returns one page of about 4 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.
How fresh is the data?
The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.
Do I need a LinkedIn account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related LinkedIn endpoints
- Post: Get LinkedIn post details. 5 credits a call
- Post Reactions: List reactors on a LinkedIn post. 10 credits a page
- Post Reposts: List reposts of a LinkedIn post. 5 credits a page
- Post Transcript: Get a LinkedIn post video transcript. 10 credits a call
- Post With Comments: Get a LinkedIn post together with its comments. 5 credits a call
More LinkedIn scraper APIs
- LinkedIn Ad Scraper API
- LinkedIn Ads Search Scraper API
- LinkedIn Article Scraper API
- LinkedIn Article Comments Scraper API
- LinkedIn Article Reactions Scraper API
- LinkedIn Company Scraper API
- LinkedIn Company Affiliated Pages Scraper API
- LinkedIn Company Also Viewed Scraper API
- LinkedIn Company Bulk Scraper API
- LinkedIn Company by Domain Scraper API
- LinkedIn Company Employees Count Scraper API
- LinkedIn Company Insights Scraper API
- LinkedIn Company Job Count Scraper API
- LinkedIn Company Jobs Scraper API
- LinkedIn Company People Scraper API
- LinkedIn Company Posts Scraper API
- LinkedIn Group Scraper API
- LinkedIn Group Posts Scraper API
- LinkedIn Job Scraper API
- LinkedIn Job Hiring Team Scraper API
- LinkedIn Post Scraper API
- LinkedIn Post Reactions Scraper API
- LinkedIn Post Reposts Scraper API
- LinkedIn Post Transcript Scraper API
- LinkedIn Post With Comments Scraper API
- LinkedIn Profile Scraper API
- LinkedIn Profile About Scraper API
- LinkedIn Profile Activity Scraper API
- LinkedIn Profile All Scraper API
- LinkedIn Profile Articles Scraper API
- LinkedIn Profile Certifications Scraper API
- LinkedIn Profile Comments Scraper API
- LinkedIn Profile Complete Scraper API
- LinkedIn Profile Contact Scraper API
- LinkedIn Profile Courses Scraper API
- LinkedIn Profile Educations Scraper API
- LinkedIn Profile Experiences Scraper API
- LinkedIn Profile Featured Scraper API
- LinkedIn Profile Full Scraper API
- LinkedIn Profile Honors Scraper API
- LinkedIn Profile Images Scraper API
- LinkedIn Profile Interests Companies Scraper API
- LinkedIn Profile Interests Groups Scraper API
- LinkedIn Profile Interests Newsletters Scraper API
- LinkedIn Profile Interests Schools Scraper API
- LinkedIn Profile Interests Top Voices Scraper API
- LinkedIn Profile Languages Scraper API
- LinkedIn Profile Organizations Scraper API
- LinkedIn Profile Patents Scraper API
- LinkedIn Profile Position Skills Scraper API
- LinkedIn Profile Posted Jobs Scraper API
- LinkedIn Profile Posts Scraper API
- LinkedIn Profile Posts Archive Scraper API
- LinkedIn Profile Projects Scraper API
- LinkedIn Profile Publications Scraper API
- LinkedIn Profile Reactions Scraper API
- LinkedIn Profile Recommendations Scraper API
- LinkedIn Profile Similar Scraper API
- LinkedIn Profile Skills Scraper API
- LinkedIn Profile Skills Endorsers Scraper API
- LinkedIn Profile Stats Scraper API
- LinkedIn Profile Test Scores Scraper API
- LinkedIn Profile Top Position Scraper API
- LinkedIn Profile Videos Scraper API
- LinkedIn Profile Volunteers Scraper API
- LinkedIn Profile With Posts Scraper API
- LinkedIn Search Companies Scraper API
- LinkedIn Search Hashtag Scraper API
- LinkedIn Search Industry Scraper API
- LinkedIn Search Jobs Scraper API
- LinkedIn Search Location Scraper API
- LinkedIn Search People Scraper API
- LinkedIn Search People by URL Scraper API
- LinkedIn Search Schools Scraper API