> ## 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.

# LinkedIn posts (async)

## Description

The **Asynchronous Individual's Social Media Presence Enrichment** API retrieves LinkedIn® post data for up to **10,000** 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:**

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

<Note>
  **Asynchronous variant.** This submits a job through the [async job infrastructure](/v2/async-jobs) — poll [job status](/v2/jobs/get_job_status) for progress and results. Input comes from an uploaded dataset (`list_id`); limits are 10,000 rows and a 24-hour run time.

  For the full output signal reference, see [the synchronous endpoint](/v2/prospects/enrichments/linkedin_posts_enrich).
</Note>

<AccordionGroup>
  <Accordion title="How It Works">
    1. **Input:** Provide up to 10,000 `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                                            |
    | :-------- | :----- | :----------------------------------------------------- |
    | `list_id` | String | Identifier of an uploaded entity ID dataset (Required) |
  </Accordion>

  <Accordion title="Example Request (cURL)">
    ```shell Bash theme={null}
    curl --request POST \
         --url https://api.explorium.ai/v2/prospects/linkedin_posts/job \
         --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="Asynchronous 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 /v2/prospects/linkedin_posts/job
openapi: 3.1.0
info:
  title: Partner Service
  version: 0.3.18
servers:
  - url: https://api.explorium.ai
    description: AgentSource Server
security: []
paths:
  /v2/prospects/linkedin_posts/job:
    post:
      tags:
        - AsyncEnrichmentJobs
      summary: Prospects Linkedin Posts Job
      operationId: v2_prospects_linkedin_posts_job
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AsyncProspectsLinkedinPostsJobSubmitRequest'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2AsyncEnrichmentJobSubmitResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - APIKeyHeader: []
components:
  schemas:
    AsyncProspectsLinkedinPostsJobSubmitRequest:
      properties:
        list_id:
          type: string
          title: List Id
          description: Entity ID list identifier returned by the upload endpoint
        parameters:
          $ref: '#/components/schemas/LinkedInPostsEnrichmentParams'
      type: object
      required:
        - list_id
      title: AsyncProspectsLinkedinPostsJobSubmitRequest
    V2AsyncEnrichmentJobSubmitResponse:
      properties:
        job_id:
          type: string
          title: Job Id
        status:
          type: string
          title: Status
        status_url:
          type: string
          title: Status Url
      type: object
      required:
        - job_id
        - status
        - status_url
      title: V2AsyncEnrichmentJobSubmitResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LinkedInPostsEnrichmentParams:
      properties: {}
      additionalProperties: false
      type: object
      title: LinkedInPostsEnrichmentParams
    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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: api_key

````