LinkedIn Comments API
Bring LinkedIn comment management into your SaaS product, agency workflow, support tool, or automation through one API. Act as a member or on behalf of a company Page.
- List comments and nested replies on any post
- Reply to a comment or post a new top-level comment
- Comment as a person or on behalf of an organization
- Delete comments on your posts by comment URN
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"
David Flor, Founder at Darklight Interactive
"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."
Divanshu Khatter, Marketing Manager at Sembark
"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."
Het Tikawala, Founder at Kalizzle AI Studio
Add Social Media to Your Product in Three Steps
Connect once, then publish, schedule, and read data through the same API.
01
Get Your API Key
Sign up and get your API key instantly. No sales calls or complicated setup.
02
Integrate in Minutes
Connect once to PostPeer to publish, schedule, analyze, manage comments, and handle messages.
03
Support Every Major Platform
Give your users access to major social platforms without building and maintaining each integration yourself.
New to PostPeer? Read the getting started guide
Explore Requests and Responses by Format
Use the same endpoint and change only the fields required for each publishing format.
curl -X GET "https://api.postpeer.dev/v1/comments/?platform=linkedin&accountId=acc_li_org_321&postId=urn:li:share:7503693751647723520&limit=25" \
-H "x-access-key: your-api-key"{
"success": true,
"comments": [
{
"id": "urn:li:comment:(urn:li:activity:7503693773307224065,7506340885752803328)",
"text": "Where can I read the docs?",
"author": {
"id": "urn:li:person:ZSAPHe3Z55",
"name": null
},
"timestamp": "2026-08-05T14:22:10Z",
"likeCount": 3,
"hidden": null,
"replies": []
}
],
"nextCursor": null
}Explore LinkedIn Comments API Requests and Responses by Action
Everything You Need for LinkedIn Comment Management
Read and moderate LinkedIn comments without wiring up LinkedIn’s versioned socialActions API. One endpoint for listing, replying, and deleting.
List Comments and Replies
Fetch every comment on a LinkedIn post with author, text, timestamp, like count, and its replies. Pass a comment URN to load its nested replies. Paginate with a cursor.
Reply and Comment
Post a top-level comment on a post, or reply to an existing comment. Switch between a postId and a commentId on the same endpoint.
Person or Organization
PostPeer posts the comment as the connected identity, a member or a company Page, using the right actor URN automatically. No URN juggling on your side.
Delete Comments
Remove a comment from your post by comment URN when you need to clean up spam or abuse. One call.
Works on Existing Posts
Read and moderate comments on any post on the connected account, not only posts you published through PostPeer.
Community Management Handled
PostPeer runs LinkedIn’s Community Management OAuth flow and requests the social-feed scopes comments require. Accounts connected before comment support shipped just reconnect once.
Need More Than Comments?
Add publishing, scheduling, and analytics to the same connected LinkedIn workflow.
LinkedIn Posting
Publish text, image, video, document, and article posts to LinkedIn profiles and Pages through PostPeer.
Explore LinkedIn PostingLinkedIn Scheduling
Schedule supported LinkedIn content for future publishing through PostPeer.
Explore LinkedIn SchedulingLinkedIn Analytics
Bring supported LinkedIn performance data into reporting, dashboard, and analytics workflows.
Explore LinkedIn AnalyticsShip LinkedIn Comments in Any Stack
Whether your product is a Node app, a no-code workflow, or an AI agent, the same PostPeer API can power the publishing workflow.
Dev Stack
Typed SDKs and predictable REST APIs let you integrate PostPeer into the stack your application already uses.
- Node.js SDK
- Python SDK
- REST + cURL
- TypeScript-first types
AI Agents & MCP
Give Claude, Cursor, Codex, or your own AI agent the ability to publish, schedule, and interact with social workflows through PostPeer.
Connect via MCPBeyond LinkedIn: Every Supported Platform
Start with LinkedIn, then reach every other network through the same API.
Instagram API
Read and manage Instagram comments.
Facebook API
Read and manage Facebook comments.
LinkedIn API
Read and manage LinkedIn comments.
Threads API
Read and manage Threads comments.
Add More Social Capabilities
Use the same connected accounts to schedule, analyze, manage comments, and handle conversations.
Frequently Asked Questions
Power Your Next Project With a Unified Social Media API
Give your users posting, scheduling, analytics, and engagement features through one API your team can maintain.
Start with 20 free credits. No credit card required.