Keyless API

List comments on a post

Returns who commented on a post and what they wrote, or the replies to one comment. People who comment are warm leads: open their profiles next. Counts as one of your 5 post lookups (posts, comments and reactions) a day.

GET/keyless-api/v1/linkedin/posts/{postId}/comments

Path parameters

postId

required

string

Post id as returned by a post listing or search. An id copied from a post URL often does not resolve.

Query parameters

commentId

optional

string

Read replies to this comment instead of top-level comments.

sortBy

optional

"MOST_RECENT" | "MOST_RELEVANT"

cursor

optional

string

cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.

limit

optional

integer

Results per page, at most 25.

Response

200Comments and a cursor for the next page.

comments

object[]

cursor

string | null

requestId

string · uuid

Id of this request, for support and troubleshooting

info

KeylessInfo

KeylessInfo
message

string

signUpUrl

string

Create a Needle account.

apiKeysUrl

string

Create an API key for the full API once signed in.

apiReferenceUrl

string

Every endpoint of the full API.

mcpUrl

string

Connect Needle to an agent over MCP.

Errors

  • 400: The input asks for something the keyless API does not offer, or a cursor is not valid.
  • 404: Nothing was found at this address.
  • 410: The search behind this cursor can no longer be continued. Start again without the cursor.
  • 422: The input does not match the schema.
  • 429: This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.
  • 503: The keyless API cannot serve this right now. Retry-After says when to try again.

Search docs

Search documentation, API reference, and MCP tools

We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy