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

# Extract reactions from LinkedIn profile

> Extract reactions left by a LinkedIn profile on other posts. Paginates through the profile's feed activity and filters for reaction-type elements, returning up to the specified limit.

Extract the LinkedIn reactions left by a profile on other people's posts. This endpoint paginates through the profile's feed activity and filters for reaction-type elements, returning up to the specified limit.

## Use Cases

* Surface intent signals from prospects actively engaging with relevant content
* Identify which topics a lead is reacting to (celebrating, finding insightful, etc.) to personalise outreach
* Track engagement patterns of key prospects or customers
* Enrich lead profiles with recent activity data

## Parameters

### Required Parameters

* `linkedin_profile_url`: LinkedIn profile URL to extract reactions from (e.g., `https://www.linkedin.com/in/mathieu-brun-picard/`)
* `limit`: Maximum number of reactions to extract (minimum: 1)

## Response

The response includes an array of reactions with the following fields:

* `id`: Numeric activity ID extracted from the URN
* `reaction_type`: Type of reaction — one of `LIKE`, `CELEBRATE`, `INSIGHTFUL`, `FUNNY`, `SUPPORT`, `LOVE`
* `post_url`: Full LinkedIn URL of the post that was reacted to
* `author`: Full name of the post author
* `author_url`: LinkedIn profile URL of the post author
* `reacted_at`: Date when the reaction was made (`YYYY-MM-DD` format)
* `urn`: LinkedIn URN identifying the activity (`urn:li:activity:<id>`)

## Example Request

```bash theme={null}
curl --request POST \
  --url https://app.pipecorn.com/api/v2/intents/leads/reactions \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: your-api-key' \
  --data '{
    "linkedin_profile_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
    "limit": 10
  }'
```

## Example Response

```json theme={null}
{
  "reactions": [
    {
      "id": "1234567890123456789",
      "reaction_type": "CELEBRATE",
      "post_url": "https://www.linkedin.com/posts/jane-smith_post-title-activity-1234567890123456789-abcd",
      "author": "Jane Smith",
      "author_url": "https://www.linkedin.com/in/jane-smith",
      "reacted_at": "2026-03-11",
      "urn": "urn:li:activity:1234567890123456789"
    },
    {
      "id": "9876543210987654321",
      "reaction_type": "INSIGHTFUL",
      "post_url": "https://www.linkedin.com/posts/bob-jones_another-post-activity-9876543210987654321-efgh",
      "author": "Bob Jones",
      "author_url": "https://www.linkedin.com/in/bob-jones",
      "reacted_at": "2026-03-10",
      "urn": "urn:li:activity:9876543210987654321"
    },
    {
      "id": "1122334455667788990",
      "reaction_type": "LIKE",
      "post_url": "https://www.linkedin.com/posts/alice-martin_third-post-activity-1122334455667788990-ijkl",
      "author": "Alice Martin",
      "author_url": "https://www.linkedin.com/in/alice-martin",
      "reacted_at": "2026-03-09",
      "urn": "urn:li:activity:1122334455667788990"
    }
  ]
}
```

## Notes

* This endpoint returns results synchronously (HTTP 200 OK) — no polling required
* The service paginates through the profile's feed until the limit is reached or the feed is exhausted
* `reaction_type` reflects the LinkedIn reaction emoji: `LIKE` (👍), `CELEBRATE` (👏), `INSIGHTFUL` (💡), `FUNNY` (😄), `SUPPORT` (🤝), `LOVE` (❤️)
* `author_url` is returned with tracking query parameters stripped


## OpenAPI

````yaml POST /intents/leads/reactions
openapi: 3.0.1
info:
  title: Pipecorn Accounts API
  description: Pipecorn Accounts API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.pipecorn.com/api/v2/
security:
  - defaultApiKey: []
paths:
  /intents/leads/reactions:
    post:
      summary: Extract reactions from a LinkedIn profile
      description: >-
        Extract reactions left by a LinkedIn profile on other posts. Paginates
        through the profile's feed activity and filters for reaction-type
        elements, returning up to the specified limit.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - linkedin_profile_url
                - limit
              properties:
                linkedin_profile_url:
                  type: string
                  format: uri
                  description: LinkedIn profile URL to extract reactions from
                  example: https://www.linkedin.com/in/john-doe
                limit:
                  type: integer
                  description: Maximum number of reactions to extract
                  minimum: 1
                  example: 10
      responses:
        '200':
          description: Successfully extracted reactions
          content:
            application/json:
              schema:
                type: object
                properties:
                  reactions:
                    type: array
                    description: >-
                      Array of reactions left by the LinkedIn profile on other
                      posts
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Numeric activity ID extracted from the URN
                          example: '1234567890123456789'
                        reaction_type:
                          type: string
                          enum:
                            - LIKE
                            - CELEBRATE
                            - INSIGHTFUL
                            - FUNNY
                            - SUPPORT
                            - LOVE
                          description: Type of LinkedIn reaction
                          example: CELEBRATE
                        post_url:
                          type: string
                          format: uri
                          description: Full LinkedIn URL of the post that was reacted to
                          example: >-
                            https://www.linkedin.com/posts/jane-smith_post-title-activity-1234567890123456789-abcd
                        author:
                          type: string
                          description: Full name of the post author
                          example: Jane Smith
                        author_url:
                          type: string
                          format: uri
                          description: >-
                            LinkedIn profile URL of the post author (tracking
                            params stripped)
                          example: https://www.linkedin.com/in/jane-smith
                        reacted_at:
                          type: string
                          format: date
                          description: Date when the reaction was made (YYYY-MM-DD)
                          example: '2026-03-11'
                        urn:
                          type: string
                          description: LinkedIn URN identifying the activity
                          example: urn:li:activity:1234567890123456789
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_required:
                  value:
                    error: 400
                    message: 'Missing required keys: linkedin_profile_url, limit'
        '404':
          description: LinkedIn profile not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    format: int32
                    example: 404
                  message:
                    type: string
                    example: LinkedIn profile not found
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    defaultApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````