Skip to main content
POST
/
api
/
linkedin
/
user
/
comments
/linkedin/user/comments
curl --request POST \
  --url https://api.anysite.io/api/linkedin/user/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <access-token>' \
  --data '{
  "timeout": 300,
  "urn": "urn:li:fsd_profile:ACoAACmguogBIdbijM6YpcIganWLJ67yKyV5kd4",
  "count": 123,
  "commented_after": 1114905601
}'
[
  {
    "@type": "LinkedinUserComment",
    "urn": {
      "type": "<string>",
      "value": "<string>"
    },
    "url": "<string>",
    "text": "<string>",
    "author": {
      "@type": "LinkedinUserCommentUser",
      "internal_id": {
        "type": "<string>",
        "value": "<string>"
      },
      "urn": {
        "type": "<string>",
        "value": "<string>"
      },
      "name": "<string>",
      "alias": "<string>",
      "url": "<string>",
      "image": "<string>",
      "headline": "<string>"
    },
    "created_at": 123,
    "is_commenter_post_author": true,
    "comment_count": 123,
    "reactions": [
      {
        "@type": "<string>",
        "type": "like",
        "count": 123
      }
    ],
    "parent": {
      "type": "<string>",
      "value": "<string>"
    },
    "post": {
      "@type": "LinkedinUserPost",
      "urn": {
        "type": "fsd_company",
        "value": "<string>"
      },
      "url": "<string>",
      "author": {
        "@type": "LinkedinUserPostUser",
        "internal_id": {
          "type": "fsd_company",
          "value": "<string>"
        },
        "urn": {
          "type": "fsd_company",
          "value": "<string>"
        },
        "name": "<string>",
        "alias": "<string>",
        "url": "<string>",
        "headline": "<string>",
        "image": "<string>"
      },
      "created_at": 0,
      "share_urn": {
        "type": "fsd_company",
        "value": "<string>"
      },
      "is_empty_repost": true,
      "repost": {},
      "images": [
        "<string>"
      ],
      "video_url": "<string>",
      "text": "<string>",
      "comment_count": 123,
      "share_count": 123,
      "reactions": [
        {
          "@type": "<string>",
          "type": "like",
          "count": 123
        }
      ],
      "event": {
        "@type": "LinkedinUserPostEvent",
        "url": "<string>",
        "image": "<string>",
        "title": "<string>",
        "date": "<string>",
        "participant_count": 123
      },
      "article": {
        "@type": "LinkedinUserPostArticle",
        "url": "<string>",
        "urn": {
          "type": "fsd_company",
          "value": "<string>"
        },
        "image": "<string>",
        "title": "<string>",
        "subtitle": "<string>",
        "description": "<string>"
      },
      "document": {
        "@type": "LinkedinUserPostDocument",
        "urn": {
          "type": "<string>",
          "value": "<string>"
        },
        "url": "<string>",
        "title": "<string>",
        "cover_images": [
          "<string>"
        ],
        "images": [
          "<string>"
        ],
        "total_images_count": 123
      }
    }
  }
]

Headers

access-token
string
required

Body

application/json
urn
object
required

User URN, only fsd_profile urn type is allowed

count
integer
required

Max result count

Required range: x > 0
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
commented_after
integer | null

Filter comments that created after the specified date. Accepts timestamp

Required range: x > 1114905600

Response

Successful Response

urn
object
required
url
string
required
text
string
required
author
object
required
created_at
integer
required
is_commenter_post_author
boolean
required
post
object
required
@type
string
default:LinkedinUserComment
comment_count
integer | null
reactions
LinkedinReaction · object[] | null
parent
object | null
I