> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapin.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Person Comments

> This operation allows you to retrieve the last 50 activity comments of a person based on their Profile URL. This operation consumes 2 credits.

## Request Tracking & Reporting

> [!NOTE]
>
> **Found incorrect or missing data?** Visit your [API
> Logs](https://app.scrapin.io/api-logs) to view all requests and report issues
> directly from the web interface.

**How to report an issue:**

1. Go to [app.scrapin.io/api-logs](https://app.scrapin.io/api-logs)
2. Find the request you want to report in the logs table
3. Click the **"Report"** button in the Actions column
4. Select the issue type and add a description

> [!TIP]
>
> The `request_id` helps our team investigate and resolve issues quickly. All
> enrichment requests are automatically logged for your convenience.


## OpenAPI

````yaml GET /v1/enrichment/persons/activities/comments
openapi: 3.0.0
info:
  title: ScrapIn API
  version: 1.1.0
servers:
  - url: https://api.scrapin.io
security:
  - apiKey: []
tags:
  - name: Person
  - name: Company
  - name: Job
  - name: Workspaces
paths:
  /v1/enrichment/persons/activities/comments:
    get:
      tags:
        - Person
      summary: Get Person Activities Comments
      description: >-
        This operation allows you to retrieve the last 50 activity comments of a
        person based on their Profile URL. This operation consumes 2 credits.
      operationId: PersonsActivitiesComments
      parameters:
        - name: linkedInUrl
          in: query
          required: true
          schema:
            type: string
          description: >-
            This required parameter is a string. It represents the Profile URL
            you want to retrieve all activity comments.
      responses:
        '200':
          description: The endpoint returns the activity comments from the Profile URL
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivitiesComments'
              examples:
                Activities Comments Found:
                  $ref: '#/components/examples/ActivitiesComments'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    ActivitiesComments:
      allOf:
        - type: object
          properties:
            success:
              type: boolean
              description: Indicates success or failure of api request.
        - $ref: '#/components/schemas/RateLimitInfo'
        - type: object
          properties:
            metadata:
              type: object
              properties:
                source:
                  type: string
                  enum:
                    - fresh
                  description: >-
                    Indicates whether the data was served from cache or freshly
                    scraped.
                request_id:
                  type: string
                  description: Unique identifier for this request.
            comments:
              type: array
              description: All comments of a profile
              items:
                $ref: '#/components/schemas/CommentsV2'
    RateLimitInfo:
      type: object
      properties:
        credits_consumed:
          type: number
          description: Represents the number of credits consumed by this query.
        credits_left:
          type: number
          description: >-
            Represents the usable credits available for the user account after
            this query.
        rate_limit_left:
          type: number
          description: >-
            Represents the usable daily request limit available for the user
            account after this query.
        daily_rate_limit_left:
          type: number
          description: >-
            Represents the usable daily request limit available for the user
            account after this query.
        minute_rate_limit_left:
          type: number
          description: >-
            Represents the usable minute request limit available for the user
            account after this query.
        next_minute_rate_limit_reset:
          type: string
          description: >-
            Represents the next minute rate limit reset for the user account
            after this query. Datetime in ISO 8601 format (e.g.,
            2025-11-14T14:34:43.000Z).
        quotas:
          type: object
          description: >-
            Structured quota information for the user account. Provides the same
            data as the flat fields above in a more organized format.
          properties:
            credits:
              type: object
              description: Credit usage information for the user account.
              properties:
                total:
                  type: number
                  description: Total credits available on the account.
                used:
                  type: number
                  description: Total credits used on the account.
                left:
                  type: number
                  description: Remaining credits available on the account.
            daily_rate_limit:
              type: object
              description: Daily rate limit information for the user account.
              properties:
                limit:
                  type: number
                  description: Maximum number of requests allowed per day.
                used:
                  type: number
                  description: Number of requests used today.
                left:
                  type: number
                  description: Remaining requests allowed today.
                next_reset:
                  type: string
                  description: >-
                    Next daily rate limit reset time in ISO 8601 format (e.g.,
                    2026-01-28T00:00:00.000Z).
            minute_rate_limit:
              type: object
              description: Per-minute rate limit information for the user account.
              properties:
                limit:
                  type: number
                  description: Maximum number of requests allowed per minute.
                used:
                  type: number
                  description: Number of requests used in the current minute window.
                left:
                  type: number
                  description: Remaining requests allowed in the current minute window.
                next_reset:
                  type: string
                  description: >-
                    Next minute rate limit reset time in ISO 8601 format (e.g.,
                    2026-01-27T14:32:45.000Z).
    CommentsV2:
      properties:
        text:
          type: string
          description: The text content of the comment.
        reactionsCount:
          type: integer
          description: The number of reactions on the comment.
        commentsCount:
          type: integer
          description: The number of comments (replies) on the comment.
        activityDate:
          type: string
          format: date-time
          description: The date and time of the activity in ISO 8601 format.
        author:
          type: object
          description: Information about the author of the comment.
          properties:
            authorId:
              type: string
              description: The unique identifier of the author.
            authorName:
              type: string
              description: The full name of the author.
            authorPublicIdentifier:
              type: string
              description: The public identifier of the author.
        activityUrl:
          type: string
          format: uri
          description: The URL of the activity.
        relatedPost:
          type: object
          description: Information about the related post.
          properties:
            activityId:
              type: string
              description: The unique identifier of the related post.
            text:
              type: string
              description: The text content of the related post.
            reactionsCount:
              type: integer
              description: The number of reactions on the related post.
            commentsCount:
              type: integer
              description: The number of comments on the related post.
            activityDate:
              type: string
              format: date-time
              description: >-
                The date and time of the related post activity in ISO 8601
                format.
            author:
              type: object
              description: Information about the author of the related post.
              properties:
                authorId:
                  type: string
                  description: The unique identifier of the author.
                authorName:
                  type: string
                  description: The full name of the author.
                authorPublicIdentifier:
                  type: string
                  description: The public identifier of the author.
            activityUrl:
              type: string
              format: uri
              description: The URL of the related post.
            shareUrl:
              type: string
              format: uri
              description: URL of the activity share format.
            relatedPost:
              type: object
              nullable: true
              description: Nested related post information, if any.
    ErrorResponseSchema:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        title:
          type: string
        msg:
          type: string
  examples:
    ActivitiesComments:
      summary: Activities Comments
      value:
        success: true
        credits_consumed: 2
        credits_left: 19934.5
        rate_limit_left: 19999
        daily_rate_limit_left: 19999
        minute_rate_limit_left: 499
        next_minute_rate_limit_reset: '2024-01-15T10:31:00Z'
        quotas:
          credits:
            total: 10000
            used: 1234
            left: 8766
          daily_rate_limit:
            limit: 5000
            used: 150
            left: 4850
            next_reset: '2024-10-31T12:46:00.000Z'
          minute_rate_limit:
            limit: 500
            used: 12
            left: 488
            next_reset: '2024-10-31T12:46:00.000Z'
        metadata:
          source: fresh
          request_id: 000xcc2a-829a-4200-9704-f6f9cf9a23de
        comments:
          - text: This is an excellent opportunity!
            reactionsCount: 12
            commentsCount: 4
            activityDate: '2025-01-15T10:20:30.000Z'
            author:
              authorId: ACoAACZKXYMBEJLkU3PzN_XDp9YAUEZTJ9VBdQ1
              authorName: Marie Dupont
              authorPublicIdentifier: marie-dupont
            activityUrl: >-
              https://www.social.com/feed/update/urn:li:activity:7283548161238761231
            relatedPost:
              activityId: '7283548161238761231'
              text: >-
                We are launching a new product that will revolutionize the
                market! #Innovation
              reactionsCount: 20
              commentsCount: 5
              activityDate: '2025-01-14T14:10:00.000Z'
              author:
                authorId: ACoAACYKLRQBOLOPQU9WV7F6DpTXAULWP5CDEF9
                authorName: John Smith
                authorPublicIdentifier: john-smith
              activityUrl: >-
                https://www.social.com/posts/john-smith_new-product-launch-activity-7283548161238761231
              shareUrl: >-
                https://www.social.com/posts/daily-dev-comparator-work-729304143471596032-4b0e
              relatedPost: null
          - text: Good luck to the team on this ambitious project!
            reactionsCount: 25
            commentsCount: 2
            activityDate: '2025-01-12T18:45:00.000Z'
            author:
              authorId: ACoAAHJLKXTGBYOEMZ9CQPTWVOATSFYIJ8CVZW2
              authorName: Lucas Morel
              authorPublicIdentifier: lucas-morel
            activityUrl: >-
              https://www.social.com/feed/update/urn:li:activity:7285567894563217890
            relatedPost:
              activityId: '7285567894563217890'
              text: >-
                We are looking for experts to join our upcoming tech hackathon.
                Sign up now!
              reactionsCount: 40
              commentsCount: 15
              activityDate: '2025-01-10T15:00:00.000Z'
              author:
                authorId: ACoAAKMZLYTBOLQQPV6TV9JDLPVZAWCXY5DGEFT
                authorName: Nina Brown
                authorPublicIdentifier: nina-brown
              activityUrl: >-
                https://www.social.com/posts/nina-brown_hackathon-tech-activity-7285567894563217890
              shareUrl: >-
                https://www.social.com/posts/daily-dev-comparator-work-729304143471596032-4b0e
              relatedPost: null
    NoApiKey:
      summary: No Api Key
      value:
        success: false
        title: An error has occurred 🚒
        msg: The API Key is missing
    MissingEmail:
      summary: Missing Email
      value:
        success: false
        title: An error has occurred 🚒
        msg: The email is missing
    InvalidEmail:
      summary: Invalid Email
      value:
        success: false
        title: An error has occurred 🚒
        msg: The email has the wrong format
    InvalidApiKey:
      summary: Invalid Api Key
      value:
        success: false
        title: Unauthorized
        msg: API Key is invalid
    PaymentRequired:
      summary: Payment Required
      value:
        success: false
        title: You don't have enough credits on your account 💰
        msg: You have to upgrade to continue
    PageNotFound:
      summary: Data Not Found
      value:
        success: false
        title: Not Found
        msg: No data found
    ServerError:
      summary: Server Error
      value:
        success: false
        title: Internal Server Error
        msg: An internal server error has occurred
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseSchema'
          examples:
            NoApiKey:
              $ref: '#/components/examples/NoApiKey'
            MissingEmail:
              $ref: '#/components/examples/MissingEmail'
            InvalidEmail:
              $ref: '#/components/examples/InvalidEmail'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseSchema'
          examples:
            InvalidApiKey:
              $ref: '#/components/examples/InvalidApiKey'
    PaymentRequired:
      description: Insufficient Account Balance
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseSchema'
          examples:
            PaymentRequired:
              $ref: '#/components/examples/PaymentRequired'
    NotFound:
      description: Data Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseSchema'
          examples:
            PageNotFound:
              $ref: '#/components/examples/PageNotFound'
    ServerError:
      description: Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseSchema'
          examples:
            ServerError:
              $ref: '#/components/examples/ServerError'
  securitySchemes:
    apiKey:
      name: apikey
      in: query
      type: apiKey
      description: >-
        This required parameter is a string. It represents the APIKEY obtained
        from the developer dashboard. 

        You must use it in the query string of your request as
        ?apikey=YOUR_API_KEY or in the headers as x-api-key: YOUR_API_KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.