Get Post Engagement

Fetch a post's comments and reactions in a single call. Bills 2 credits and 2 rate-limit units; all-or-nothing (0 credits on error).

get/api/v1/post/engagement

Request

  • Base URL: https://api.fetchin.io
  • URL: https://api.fetchin.io/api/v1/post/engagement
  • Auth: API key in header X-API-Key

Query parameters

postUrlOrUrnstring required

Professional post URL or URN

commentCountinteger

Number of comments to fetch (1-100)

commentStartinteger

Offset of the first item to return. This endpoint pages by offset: advance start by the number of items you received. Keep requesting while hasMore is true; an empty page ends the list.

commentPaginationTokenstring

Token for the next page of comments

reactionCountinteger

Number of reactions to fetch (1-100)

reactionStartinteger

Offset of the first item to return. This endpoint pages by offset: advance start by the number of items you received. Keep requesting while hasMore is true; an empty page ends the list.

Response

Combined comments and reactions

poststring

The resolved post identifier

commentsobject[]

Comments (same shape as GET /post/comments)

commentsPaginationTokenstring

Token for the next page of comments (absent when none)

commentsHasMoreboolean
commentsTotalinteger

Number of top-level comments the source reports for the post (replies not included), as total on GET /post/comments. Omitted when not reported.

reactionsHasMoreboolean
reactionsTotalinteger

Number of reactions the source reports for the post, as total on GET /post/reactions. A complete walk can end a few short of it. Omitted when not reported.

Example response

{
  "reactions": [
    {
      "actor": {
        "urn": "urn:li:fsd_profile:ACoAABBfDXAB9eK9V6vEHbzfQXZ-wcjke_QuT7g",
        "name": "Jane Doe",
        "headline": "Software Engineer at Tech Company",
        "profileUrl": "https://www.linkedin.com/in/kevin-piacentini/",
        "profilePictureUrl": "https://media.licdn.com/dms/image/...",
        "publicId": "kevin-piacentini"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.