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

# Individual's social media presence (Bulk)

## Description

The **Bulk Individual's Social Media Presence Enrichment** API retrieves LinkedIn® post data for up to **50 prospects** in a single request. This endpoint helps in monitoring professional engagement, thought leadership, and outreach personalization.

<Icon icon="thumbtack" iconType="solid" color="red" /> **Key Benefits:**

* **Bulk access** to recent LinkedIn® posts from multiple prospects.
* **Identify trends and professional interests** to optimize engagement.
* **Enhance lead nurturing** with personalized messaging strategies.

<AccordionGroup>
  <Accordion title="How It Works">
    1. **Input:** Provide up to 50 `prospect_id` values, obtained from the **Match Prospects** endpoint.
    2. **Processing:** The system retrieves public LinkedIn® posts associated with the provided prospects.
    3. **Output:** Returns structured data in the same order as the input, ensuring easy mapping.
  </Accordion>

  <Accordion title="Request Schema">
    | Field          | Type  | Description                                       |
    | :------------- | :---- | :------------------------------------------------ |
    | `prospect_ids` | Array | A list of up to 50 unique prospect IDs (Required) |
  </Accordion>

  <Accordion title="Example Request (cURL)">
    ```shell Bash theme={null}
    curl --request POST \
         --url https://api.explorium.ai/v1/prospects/linkedin_posts/bulk_enrich \
         --header 'accept: application/json' \
         --header 'api_key: <your api key>' \
         --header 'content-type: application/json' \
         --data '{
      "prospect_ids": [
        "ee936e451b50c70e068e1b54e106cb89173198c4",
        "57f9e5dac64d31d80e6e9432fe2c500d0bba2c01"
      ]
    }'
    ```
  </Accordion>

  <Accordion title="Example Response">
    ```json JSON expandable theme={null}
    {
      "response_context": {
        "correlation_id": "250fcd74ddb9498281b2bb2404bf71e8",
        "request_status": "success",
        "time_took_in_seconds": 29.91
      },
      "data": [
        {
          "prospect_id": "ee936e451b50c70e068e1b54e106cb89173198c4",
          "data": {
            "display_name": null,
            "post_text": "Great to see so many customers and partners unlocking the full ROI of AI.",
            "days_since_posted": 28,
            "post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7293486979298578433",
            "number_of_comments": 122,
            "number_of_likes": 2875,
            "created_at": "2025-02-06T00:00:00"
          }
        },
        {
          "prospect_id": "ee936e451b50c70e068e1b54e106cb89173198c4",
          "data": {
            "display_name": null,
            "post_text": "Today in Nature Magazine: Our MatterGen model represents a paradigm shift in materials design...",
            "days_since_posted": 46,
            "post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7286992519978958848",
            "number_of_comments": 254,
            "number_of_likes": 6115,
            "created_at": "2025-01-19T00:00:00"
          }
        },
        ...
      ],
      "total_results": 20
    }
    ```
  </Accordion>

  <Accordion title="Best Practices">
    * **Use valid prospect IDs** to ensure accurate enrichment results.
    * **Monitor recent LinkedIn® activity** to identify engagement opportunities.
    * **Integrate enriched data** into CRM systems for sales intelligence.
    * **Leverage insights** to craft personalized outreach campaigns.
  </Accordion>

  <Accordion title="Bulk LinkedIn® posts Output Signals">
    | Signal               | API Name                | Description                                                           | Data Type Final |
    | :------------------- | :---------------------- | :-------------------------------------------------------------------- | :-------------- |
    | created\_at          | Time of posting         | Timestamp of when the individual's post was published.                | datetime        |
    | number\_of\_likes    | Number of post likes    | Number of likes the individual's post received by time of collection. | integer         |
    | post\_url            | LinkedIn® post URL      | URL to the LinkedIn® post published by individual.                    | url             |
    | number\_of\_comments | Number of post comments | Number of comments on the individual's post by time of collection.    | integer         |
    | days\_since\_posted  | Days since post         | Number of days since the post was published by the individual.        | integer         |
    | post\_text           | Post text content       | Text content of the LinkedIn® post published by individual.           | string          |
  </Accordion>
</AccordionGroup>

## Body Params - Try Me Example

```
prospect_ids: ["ee936e451b50c70e068e1b54e106cb89173198c4", "57f9e5dac64d31d80e6e9432fe2c500d0bba2c01"]
```


## OpenAPI

````yaml post /v1/prospects/linkedin_posts/bulk_enrich
openapi: 3.1.0
info:
  title: Partner Service
  version: 0.2.349
servers:
  - url: https://api.explorium.ai
    description: AgentSource Server
security: []
paths:
  /v1/prospects/linkedin_posts/bulk_enrich:
    post:
      tags:
        - ProspectsBulkEnrichments
      summary: Linkedin Posts
      operationId: prospects_linkedin_posts_bulk_enrich
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/partner_service__models__prospects__enrich_requests__LinkedInPostsBulkEnrichRequest
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ProspectsBulkEnrichResponse_LinkedinProspectsPostsOutputSchema_
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - APIKeyHeader: []
components:
  schemas:
    partner_service__models__prospects__enrich_requests__LinkedInPostsBulkEnrichRequest:
      properties:
        request_context:
          type: object
          title: Request Context
          example: null
          nullable: true
        parameters:
          allOf:
            - $ref: '#/components/schemas/LinkedInPostsEnrichmentParams'
          title: Parameters
          nullable: true
        prospect_ids:
          items:
            type: string
            pattern: ^[a-f0-9]{40}$
          type: array
          maxItems: 50
          minItems: 1
          title: Prospect Ids
      additionalProperties: false
      type: object
      required:
        - prospect_ids
      title: LinkedInPostsBulkEnrichRequest
    ProspectsBulkEnrichResponse_LinkedinProspectsPostsOutputSchema_:
      properties:
        response_context:
          $ref: '#/components/schemas/ResponseContext'
        data:
          items:
            $ref: >-
              #/components/schemas/ProspectsBulkEnrichRow_LinkedinProspectsPostsOutputSchema_
          type: array
          title: Data
        entity_id:
          anyOf:
            - type: string
              pattern: ^[a-f0-9]{32}$
            - type: string
              pattern: ^[a-f0-9]{40}$
          title: Entity Id
        total_results:
          type: integer
          title: Total Results
      type: object
      required:
        - response_context
        - total_results
      title: ProspectsBulkEnrichResponse[LinkedinProspectsPostsOutputSchema]
      description: 'This is base response model for all responses in partner service. '
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LinkedInPostsEnrichmentParams:
      properties: {}
      additionalProperties: false
      type: object
      title: LinkedInPostsEnrichmentParams
    ResponseContext:
      properties:
        correlation_id:
          type: string
          title: Correlation Id
        request_status:
          $ref: '#/components/schemas/RequestStatus'
        time_took_in_seconds:
          type: number
          title: Time Took In Seconds
      type: object
      required:
        - correlation_id
        - request_status
        - time_took_in_seconds
      title: ResponseContext
    ProspectsBulkEnrichRow_LinkedinProspectsPostsOutputSchema_:
      properties:
        prospect_id:
          type: string
          pattern: ^[a-f0-9]{40}$
          title: Prospect Id
        data:
          $ref: '#/components/schemas/LinkedinProspectsPostsOutputSchema'
      type: object
      required:
        - prospect_id
      title: ProspectsBulkEnrichRow[LinkedinProspectsPostsOutputSchema]
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    RequestStatus:
      type: string
      enum:
        - success
        - miss
        - failure
      title: RequestStatus
      description: >-
        The `RequestStatus` class is an enumeration that defines the possible
        statuses of a request.


        This enum is used to indicate whether a request was successful, missed,
        or failed. It ensures

        consistent handling of request statuses across the application.


        Attributes:
            SUCCESS: Indicates that the request was successfully processed.
            MISS: Indicates that the request did not find any matching data.
            FAILURE: Indicates that the request encountered an error or failure.
    LinkedinProspectsPostsOutputSchema:
      properties:
        display_name:
          type: string
          title: Display Name
        post_text:
          type: string
          title: Post Text
        days_since_posted:
          type: integer
          title: Days Since Posted
        post_url:
          type: string
          maxLength: 2048
          pattern: >-
            ^(https?:)?//(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+[a-z\u00a1-\uffff]{2,}\.?(?:[/?#]\S*)?$
          format: uri
          title: Post Url
        number_of_comments:
          type: integer
          title: Number Of Comments
        number_of_likes:
          type: integer
          title: Number Of Likes
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      title: LinkedinProspectsPostsOutputSchema
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: api_key

````