logo
PostsFetch Post Details

Fetch Post Details

Retrieves full details of a LinkedIn post including comments and reactions. You can look up a post by its URL or URN.

Pricing: 1 credit per call

curl -X POST "https://v3-api.texau.com/api/v1/post_details" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "url": "https://www.linkedin.com/posts/williamhgates_in-2000-more-than-10-million-children-died-activity-7376356221991178240-H5ez",
  "comments": true,
  "reactions": true
}'
{
  "urn": "urn:li:activity:7376356221991178240",
  "commentary": "example_string",
  "numComments": 42,
  "numReactions": 42,
  "reactionType": {},
  "shareUrl": "example_string",
  "actor": {
    "profileId": "example_string",
    "firstName": "John Doe",
    "lastName": "John Doe",
    "headline": "example_string",
    "profilePicture": "example_string"
  },
  "comments": [
    {
      "id": "example_string",
      "comment": "example_string",
      "totalComments": 42,
      "totalReactions": 42,
      "commenter": {}
    }
  ],
  "reactions": [
    {
      "reaction": "LIKE",
      "reactor": {}
    }
  ],
  "content": {
    "image": {},
    "video": {},
    "article": {},
    "document": {},
    "poll": {}
  },
  "sponsored": true
}
POST
/post_details
POST
API Key (header: x-api-key)
x-api-keystring
Required

Your TexAu API key. Contact TexAu to obtain one.

Your TexAu API key. Contact TexAu to obtain one.
Content-Typestring
Required

The media type of the request body

Options: application/json
urlstring

LinkedIn post URL (use either url or urn)

urnstring

LinkedIn post URN (use either url or urn)

commentsboolean

Include comments in the response

reactionsboolean

Include reactions in the response

Request Preview
Response

Response will appear here after sending the request

Authentication

header
x-api-keystring
Required

API Key for authentication. Your TexAu API key. Contact TexAu to obtain one.

Body

application/json
urlstring

LinkedIn post URL (use either url or urn)

urnstring

LinkedIn post URN (use either url or urn)

commentsboolean

Include comments in the response

reactionsboolean

Include reactions in the response

Responses

urnstring
commentarystring

Post text content

numCommentsinteger
numReactionsinteger
reactionTypeobject

Breakdown by reaction type (like, empathy, praise, etc.)

shareUrlstring

Direct URL to the post

actorobject

Post author details

commentsarray

Post comments (when comments: true)

reactionsarray

Post reactions (when reactions: true)

contentobject

Attached content (image, video, article, document, poll)

sponsoredboolean