LinkedIn

Get LinkedIn person comments

Fetch recent public comments made by a LinkedIn person (comments they wrote on other people's posts) by profile URL.

Returns one page at a time. When meta.hasMore is true, request the next page with the same profileUrl, page incremented by 1, and paginationToken set to the value from the previous response.

Recommended client timeout: 90 seconds. Most requests resolve in 2-5 seconds, but set your HTTP client timeout to at least 90 seconds to avoid false timeouts on slower lookups.

Credits

Each successful response deducts 10 credits from your organization. Requests that fail (4xx / 5xx) are not billed.

See the credits documentation for the full rate table.


POST
/data/linkedin/person/comments

Authorization

bearerAuth
AuthorizationBearer <token>

Organization API key (sf_api_… from Integrations → API keys) or a partner OAuth 2.1 access token issued by SnitchFeed (authorization_code + refresh). OAuth tokens must be audience-bound to this API (resource = {apiOrigin}/v1) and carry the route scopes listed per operation.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for POST /data/linkedin/person/comments.

profileUrl*string

Public LinkedIn person profile URL, e.g. https://www.linkedin.com/in/janedoe.

Length1 <= length <= 2048
page?integer

Results page number (1-based). Defaults to 1. Max 100.

Range1 <= value <= 100
paginationToken?|

Cursor from a previous response's meta.paginationToken. Required for page 2+ when one is returned.

Lengthlength <= 4096

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/data/linkedin/person/comments" \  -H "Content-Type: application/json" \  -d '{    "profileUrl": "string"  }'
{  "requestId": "string",  "comments": [    {      "text": "string",      "commentUrl": "string",      "postId": "string",      "postUrl": "string",      "datePosted": "string",      "authorName": "string",      "authorUrl": "string",      "replyCount": 0,      "engagement": {        "likes": 0      }    }  ],  "meta": {    "returnedCount": 0,    "page": 1,    "paginationToken": "string",    "hasMore": true  }}