LinkedIn Comment Replies

https://api.sandbase.ai/v1/api/linkedin/comment-replies

List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes.

Price
$0.0026USD / call
Method
POST
Response
JSON
Parameters
1 required · 0 optional
Production route

Try the model

Playground

Open playground
Input
LinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with "Copy link to comment" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A reply's URL returns the thread it belongs to. A post URL without dashCommentUrn is refused as invalid input, with no charge.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.0026 / run

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

url
string · required

Access

Provider
LinkedIn
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/linkedin/comment-replies
Authentication
Bearer API key

API README

LinkedIn Comment Replies API

List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "linkedin/comment-replies", "url": "https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510749329649725442%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510749329649725442%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"}'

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

Parameters

NameTypeRequiredDescription
urlstringYesLinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with "Copy link to comment" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A reply's URL returns the thread it bel

Pricing

Billed at the actual cost of each call, usually $0.0026 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.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/linkedin/comment-replies
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/linkedin/comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "url": "https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510749329649725442%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510749329649725442%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
LinkedInFrom $0.0026 per callJSONOct 31, 2026
LinkedInFrom $0.0012 per callJSONOct 31, 2026
LinkedInFrom $0.03 per callJSONOct 31, 2026
LinkedInFrom $0.0012 per callJSONOct 31, 2026
LinkedInFrom $0.0057 per callJSONOct 31, 2026
LinkedInFrom $0.0026 per callJSONOct 31, 2026

Questions

FAQ

How do I use the LinkedIn Comment Replies API?

Send a POST request to https://api.sandbase.ai/v1/api/linkedin/comment-replies 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 Comment Replies API cost?

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

What parameters does the LinkedIn Comment Replies API accept?

Required: url (string). The Parameters table and the Playground on this page list every field.

What does the LinkedIn Comment Replies API return?

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

Do I need a LinkedIn developer account or API key?

No. LinkedIn Comment Replies 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.