Social media5 min readBy Purrkey teamUpdated

How to list comments on a LinkedIn post

List the comments on a LinkedIn post with full text, commenter details, timestamps, and engagement, then sort them into a response-planning table

On this page

You have one competitor's LinkedIn post URL and need the first 100 comments to review response themes. The deliverable is a response-planning table with comment text, commenter details, timestamps and engagement, sorted so the comments with the most likes or replies are easy to review first. No run has been executed for this guide; the table below is a design, and values are placeholders showing the shape

The task and the response-planning table

Use one row per comment. The columns match the fields the tool returns, so the table can be filled directly from the output. A first pass can tag commentary by theme, keep actor.position beside the name for role context, and sort on engagement.likes or engagement.comments when you decide which objections need a reply

commentaryactor.nameactor.linkedinUrlactor.positioncreatedUtcengagement.likesengagement.commentsurl
(full comment text)(display name)(profile URL)(headline)(Unix seconds)(likes)(replies)(comment permalink)

Example post URL for the setup: https://www.linkedin.com/posts/acme-analytics_q4-planning-activity-7481234567890123456-AbCd. The URL is invented and not a live post. Sort the design table by engagement.likes descending to decide which objections need a reply, and keep engagement.comments visible because it counts replies to a comment

Inputs for the post URL and the comment cap

anyapi.linkedin.post_comments takes a full LinkedIn post URL in url; copy it from the post. The contract lists url as required. Optional fields include limit, an integer from 1 to 100 with a default of 100, and postedLimit, with values any, 24h, week, month, 3months, 6months and year, default any

limit caps returned comments at 100 per call. The maximum accepted value is 100, so a single call cannot return more than 100 comments. For this task, set limit to 100 and leave postedLimit at any unless you need a narrower window. Agents call it through POST /v1/runs with toolId anyapi.linkedin.post_comments

The cap belongs to the call, not the post. If you need five posts for a weekly review, plan five calls, one per post URL. The limit value of 100 is the scope described in this guide

How to read the comment output

The output has found and data. When found is true, data.items holds the comments. When found is false, data is null and reason is not_found; the contract says that answer is a successful call, not an error

For each item, commentary is the full comment text and drives theme coding. actor.name, actor.linkedinUrl and actor.position identify the commenter and headline. createdUtc is a UTC epoch timestamp in seconds; multiply by 1000 for a JavaScript Date in milliseconds. engagement.likes and engagement.comments give likes and reply counts for the comment, and url is the comment permalink. Use those fields to fill the response-planning table and choose which comments to answer first

pinned and edited are also returned as booleans if you want to flag pinned or edited comments in the planning table. The item's required fields are id and commentary; id can be a stable row key when you build the table

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to list the first 100 comments on the LinkedIn post below. Check the current inputs and price of anyapi.linkedin.post_comments before running anything. Call it once with url set to the post URL, limit 100, and postedLimit any. Return a table with commentary, actor.name, actor.linkedinUrl, actor.position, createdUtc, engagement.likes, engagement.comments and url, sorted by engagement.likes descending. If found is false, return the reason and an empty table. Do not invent comments.

Example post URL: https://www.linkedin.com/posts/acme-analytics_q4-planning-activity-7481234567890123456-AbCd

Replace the example URL with the competitor post you are reviewing. The prompt keeps the call at the 100-comment cap and asks for the same table columns described above

Estimated tool cost

The Purrkey catalog lists anyapi.linkedin.post_comments with unit max_call at up to $0.22 per call (unitPriceMicros 220000), read on November 13, 2026, price revision anyapi-catalog-2026-11-05. The unit is explained as "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
One post, up to 100 comments1 call x max priceup to $0.22 per call1 call$0.22
Five posts for a weekly review5 calls x max priceup to $0.22 per call5 calls$1.10

One post with the first 100 comments is one call. A weekly review of five posts is five calls. The two cost scenarios are separate plans, not a combined total

Next action

Open the LinkedIn post comments tool and paste the competitor post URL into url

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with LinkedIn.
Explore LinkedIn tools and pricing

FAQ

How do I list comments on a LinkedIn post?

Call anyapi.linkedin.post_comments with the full post URL. The output holds data.items with commentary, commenter details, createdUtc, engagement counts and comment url.

What inputs does anyapi.linkedin.post_comments take?

The contract lists url as required, plus optional limit and postedLimit. limit accepts 1 to 100 and defaults to 100; postedLimit defaults to any.

What is the maximum number of comments per call?

limit caps returned comments at 100 per call. The minimum is 1 and the default is 100.

What do found and reason mean in the output?

found is true when comments were found for the post. When found is false, reason is not_found, and that answer is a successful call, not an error.

How much does it cost to list comments from one post?

The listed price is up to $0.22 per call. One post with up to 100 comments is one call, so the ceiling is $0.22; model fees for the agent are not counted.

How much does a five-post weekly review cost?

Five calls at up to $0.22 per call give a ceiling of $1.10. Model fees for the agent are not counted.

Can I get comments from a date window?

Yes. postedLimit accepts any, 24h, week, month, 3months, 6months or year, and defaults to any.

Next step

Try this with LinkedIn

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See LinkedIn tools

Share this article