LinkedIn Post Comments

https://api.sandbase.ai/v1/api/linkedin/post-comments

List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.

Price
$0.0029USD / call
Method
POST
Response
JSON
Parameters
1 required · 2 optional

Playground

Input
Full URL of the LinkedIn post to list comments for.
1100
Maximum number of comments to return. Range: 1 to 100.
Only return comments posted within this window (default any). Allowed values: any, 24h, week, month, 3months, 6months, year.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API README

LinkedIn Post Comments API

List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/post-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", "limit": 10}'

The result is returned in outputs[0].data. A lookup that finds nothing still succeeds and returns found: false.

Parameters

NameTypeRequiredDescription
urlstringYesFull URL of the LinkedIn post to list comments for.
limitintegerNoMaximum number of comments to return. Default 100.
postedLimitstringNoOnly return comments posted within this window (default any). One of: any, 24h, week, month, 3months, 6months, year.

Pricing

Billed at the actual cost of each call, usually $0.0029 per request. A call can cost more when the first data source fails and another one answers. Failed calls are not charged. Lookups that find nothing and searches with no results are billed at their actual cost, which is often lower and can be $0.

Explore more

Related APIs

All APIs
APIPriceResponse
LinkedInFrom $0.0029 per callJSON
LinkedInFrom $0.0012 per callJSON
LinkedInFrom $0.03 per callJSON
LinkedInFrom $0.0012 per callJSON
LinkedInFrom $0.0057 per callJSON
LinkedInFrom $0.0026 per callJSON

Questions

FAQ

How do I use the LinkedIn Post Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/linkedin/post-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the LinkedIn Post Comments API cost?

From $0.0029 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the LinkedIn Post Comments API accept?

Required: url (string). Optional: limit (integer) and postedLimit (one of any, 24h, week, month, 3months, 6months, year). The Parameters table and the Playground on this page list every field.

What does the LinkedIn Post Comments API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a LinkedIn developer account or API key?

No. LinkedIn Post Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for LinkedIn API access separately.