GET
/
api
/
v1
/
user
/
comments
curl --request GET \
  --url https://fresh-linkedin-scraper-api.p.rapidapi.com/api/v1/user/comments \
  --header 'x-rapidapi-key: <api-key>'
{
  "success": true,
  "cost": 1,
  "pagination_token": "dXJuOmxpOmFjdGl2aXR5OjczMTEzNzE0NTE4NjgwNTc2MDAtMTc0MzE2Njc5MDE0Ng==",
  "data": [
    {
      "urn": "urn:li:fsd_comment:(7311684614106845184,urn:li:activity:7311409252898611201)",
      "comment": "Taha, sometimes, growth means letting go...",
      "created_at": "2025-03-29T09:44:16.534Z",
      "activity": {
        "num_likes": 100,
        "num_comments": 50,
        "num_shares": 20,
        "reaction_counts": [
          {
            "type": "LIKE",
            "count": 10
          }
        ]
      },
      "post": {
        "id": "7311326459975905280",
        "urn": "urn:li:activity:7311326459975905280",
        "text": "Kubernetes allows orgs to adjust their infrastructure to match changing demand...",
        "content": {
          "images": [
            {
              "width": 400,
              "height": 400,
              "url": "https://media.licdn.com/dms/image/v2/D4E0BAQHjelLY2a-Mnw/company-logo_400_400/company-logo_400_400/0/1666083635765?e=1748476800&v=beta&t=V_T_yXL6Bs2HDEY-iZAKSkNype7_-7USjP2HIXo0Zv8",
              "expires_at": 1748476800000
            }
          ],
          "video": {
            "thumbnail": [
              {
                "width": 400,
                "height": 400,
                "url": "https://media.licdn.com/dms/image/v2/D4E0BAQHjelLY2a-Mnw/company-logo_400_400/company-logo_400_400/0/1666083635765?e=1748476800&v=beta&t=V_T_yXL6Bs2HDEY-iZAKSkNype7_-7USjP2HIXo0Zv8",
                "expires_at": 1748476800000
              }
            ],
            "duration": "<string>",
            "aspect_ratio": "<string>",
            "streams": [
              {
                "url": "https://www.linkedin.com/video/urn:li:dms_video:D4E3DAQGzWAY8oQqw",
                "expires_at": 1748476800000,
                "size": 123456,
                "width": 1920,
                "height": 1080,
                "bit_rate": 5000000
              }
            ]
          },
          "document": {
            "title": "<string>",
            "total_page_count": 123,
            "manifest_url": "<string>",
            "manifest_url_expires_at": 123,
            "transcribed_document_url": "<string>"
          },
          "article": {
            "title": "<string>",
            "subtitle": "<string>",
            "article_url": "<string>",
            "image": [
              {
                "width": 400,
                "height": 400,
                "url": "https://media.licdn.com/dms/image/v2/D4E0BAQHjelLY2a-Mnw/company-logo_400_400/company-logo_400_400/0/1666083635765?e=1748476800&v=beta&t=V_T_yXL6Bs2HDEY-iZAKSkNype7_-7USjP2HIXo0Zv8",
                "expires_at": 1748476800000
              }
            ]
          },
          "celebration": {
            "url": "<string>",
            "title": "<string>",
            "tagged": [
              {
                "url": "<string>",
                "first_name": "<string>",
                "last_name": "<string>",
                "public_identifier": "<string>",
                "urn": "<string>"
              }
            ]
          },
          "poll": {
            "question": "<string>",
            "closed": true,
            "duration": "<string>",
            "options": [
              {
                "title": "<string>",
                "count": 123
              }
            ]
          },
          "event": {
            "title": "<string>",
            "banner": [
              {
                "width": 400,
                "height": 400,
                "url": "https://media.licdn.com/dms/image/v2/D4E0BAQHjelLY2a-Mnw/company-logo_400_400/company-logo_400_400/0/1666083635765?e=1748476800&v=beta&t=V_T_yXL6Bs2HDEY-iZAKSkNype7_-7USjP2HIXo0Zv8",
                "expires_at": 1748476800000
              }
            ],
            "url": "<string>",
            "time_start": "<string>",
            "time_event": "<string>",
            "location": "<string>"
          }
        },
        "activity": {
          "num_likes": 100,
          "num_comments": 50,
          "num_shares": 20,
          "reaction_counts": [
            {
              "type": "LIKE",
              "count": 10
            }
          ]
        },
        "author": {
          "id": "<string>",
          "url": "<string>",
          "name": "<string>",
          "avatar": [
            {
              "width": 400,
              "height": 400,
              "url": "https://media.licdn.com/dms/image/v2/D4E0BAQHjelLY2a-Mnw/company-logo_400_400/company-logo_400_400/0/1666083635765?e=1748476800&v=beta&t=V_T_yXL6Bs2HDEY-iZAKSkNype7_-7USjP2HIXo0Zv8",
              "expires_at": 1748476800000
            }
          ]
        },
        "created_at": "2025-03-28T10:12:49.775Z",
        "url": "https://www.linkedin.com/feed/update/urn:li:activity:7311326459975905280",
        "share_urn": "urn:li:share:7310423073340493825"
      },
      "is_edited": false
    }
  ]
}

Authorizations

x-rapidapi-key
string
header
required

Rapid API Key

Query Parameters

urn
string

User URN

Example:

"ACoAABCtiL8B26nfi3Nbpo_AM8ngg4LeClT1Wh8"

username
string

Username. Enabling this option will consume an additional 1 request.

Example:

"gabag26"

page
integer
default:1

Page number for pagination

Required range: x > 0
Example:

1

pagination_token
string

Pagination token for pagination

Response

200
application/json
Success

The response is of type object.