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

# Search LinkedIn Content

> Extract posts data from a LinkedIn search content.

LinkedIn is a hub of professional content, with numerous posts shared daily. This action allows you to extract data from LinkedIn content searches, helping you stay updated on relevant topics, generate leads by identifying influencers, and network with ideal customer profiles (ICPs).

<Steps>
  <Step title="Navigate to LinkedIn Content Search">
    Go to LinkedIn and perform a content search on a specific topic.
  </Step>

  <Step title="Copy the URL">
    Copy the URL from your browser's address bar.
  </Step>

  <Step title="Paste the URL">
    Paste the URL into the provided input field.
  </Step>
</Steps>

### Inputs

<ParamField path="linkedin_content_search_url" type="string" required={true} primary={true}>
  A LinkedIn Content Search URL should start with
  '[https://www.linkedin.com/search/results/content](https://www.linkedin.com/search/results/content)'.
</ParamField>

### Parameters

<ParamField path="max_results" type="number" default={100} minimum={0} maximum={1000}>
  The maximum number of posts to extract per input.
</ParamField>

### Output Fields

The extracted data includes various fields such as author details, post content, and engagement metrics. Below is a detailed list of the output fields:

<ResponseField>
  <Expandable title="properties">
    <ResponseField name="author_name" type="string">
      The name of the post's author
    </ResponseField>

    <ResponseField name="comment_count" type="integer">
      The number of comments on the post
    </ResponseField>

    <ResponseField name="content_image_url" type="string">
      URL of the image in the post
    </ResponseField>

    <ResponseField name="content_text" type="string">
      The text content of the post
    </ResponseField>

    <ResponseField name="headline" type="string">
      The headline of the post
    </ResponseField>

    <ResponseField name="linkedin_job_url" type="string">
      URL of the LinkedIn job related to the post
    </ResponseField>

    <ResponseField name="linkedin_post_id" type="string">
      Unique identifier for the LinkedIn post
    </ResponseField>

    <ResponseField name="linkedin_post_url" type="string">
      URL of the LinkedIn post
    </ResponseField>

    <ResponseField name="linkedin_profile_handle" type="string">
      The LinkedIn handle of the author
    </ResponseField>

    <ResponseField name="linkedin_profile_url" type="string">
      URL of the author's LinkedIn profile
    </ResponseField>

    <ResponseField name="profile_image_url" type="string">
      URL of the author's profile image
    </ResponseField>

    <ResponseField name="published_date" type="string">
      The date the post was published
    </ResponseField>

    <ResponseField name="published_time" type="string">
      The time the post was published
    </ResponseField>

    <ResponseField name="reaction_count" type="integer">
      The number of reactions to the post
    </ResponseField>

    <ResponseField name="tracking_id" type="string">
      Tracking identifier for the post
    </ResponseField>
  </Expandable>
</ResponseField>

Below is the JSON schema for the output fields:

<Accordion title="Show JSON Output Schema">
  ```json
  {
      "author_name": "string",
      "comment_count": "integer",
      "content_image_url": "string",
      "content_text": "string",
      "headline": "string",
      "linkedin_job_url": "string",
      "linkedin_post_id": "string",
      "linkedin_post_url": "string",
      "linkedin_profile_handle": "string",
      "linkedin_profile_url": "string",
      "profile_image_url": "string",
      "published_date": "string",
      "published_time": "string",
      "reaction_count": "integer",
      "tracking_id": "string"
  }
  ```
</Accordion>
