LinkedIn Post comments

Extract all comments and their authors from a post

Starting price
$0.0028 /record
Offers
1 same output format
Max URLs per request
50

Endpoint

One endpoint for every offer below. Omit provider and the router picks with automatic failover — the response's served_by tells you which one ran.

POSThttps://api.socialrouter.io/v1/extract/linkedin/post.comments

Offers

Every offer below returns the same normalized output, in failover order — the first one serves unless you pin another with the provider field.

  • apify/harvestapivia Apifydefault route

    Up to 50 URLs per request

    $0.0028per record

Parameters

JSON body of the request. Unknown fields and unknown options are rejected with the valid list, so a wrong guess costs nothing.

ParameterTypeDescription
urlsRequiredstring[]One URL per record to process. Accepted shapes:https://www.linkedin.com/posts/<slug> — A single-comment permalink (the URL carrying ?commentUrn=…) is accepted too.Example: https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCdA single url string is accepted too.
providerOptionalstringPin one offer, e.g. apify/harvestapi. Omit it and the router picks with failover.
limitOptionalintegerMax records to return per URL.
optionsOptionalobjectService-specific options, listed below.
options.postedLimitOptionalany | 24h | week | month | 3months | 6months | yearOnly return comments posted within this window.

Output

Each record has the fields below, whichever offer serves the request. Offers may include additional platform-specific fields on top.

  • namestring

    Full name of the commenter

  • profile_urlurl

    Link to the commenter's public profile

  • comment_textstring

    Text of the comment

  • comment_urlurl

    Direct link to the comment

  • likes_countnumber

    Number of likes on the comment

  • posted_atiso8601

    When the comment was posted

  • sourcestring

    Platform the record was extracted from (e.g. "linkedin")

  • extracted_atiso8601

    UTC timestamp when the record was produced

Going further

Auth, error semantics, and every other endpoint live in the API reference — including the machine-readable OpenAPI spec at /v1/openapi.json.

Frequently asked questions

How much does LinkedIn post comments cost?

Prices start at $0.0028 per record, depending on the offer that serves the request. You are only charged for records actually returned.

Which offers serve linkedin/post.comments?

apify/harvestapi — 1 offer is available behind the same endpoint. Pin one with the optional "provider" field, or omit it and the router picks with automatic failover. The response's "served_by" field names the offer that ran.

What input does it need?

The "urls" field of the JSON body, as an array of strings: https://www.linkedin.com/posts/<slug> — A single-comment permalink (the URL carrying ?commentUrn=…) is accepted too.. For example: https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCd

Is the output format the same for every offer?

Yes. Every offer returns the normalized record schema documented on this page; some add extra platform-specific fields on top, but the documented fields are always present.

How many URLs can I send per request?

Up to 50 URLs in a single request, depending on the offer.

What happens if an offer fails?

SocialRouter automatically fails over to the next offer serving the same service, so a single upstream outage doesn't break your integration.

What options does it take?

postedLimit (any|24h|week|month|3months|6months|year): Only return comments posted within this window.

Related services

Get linkedin post comments into your app or your AI agent

$1 in free credits to test it — no credit card, no commitment.