---
updatedAt: 2026-06-15T15:12:43.000Z
agentTools:
  projectIndex: https://docs.datastreamer.io/llms.txt
---

# Datashake LinkedIn

Search and scrape LinkedIn posts and profiles using keyword searches or content URLs

The Datashake LinkedIn component allows you to search and scrape LinkedIn content using keyword searches, content scraping, and content source scraping. It handles the interaction, polling, and result download; and ingresses the returned data into your pipeline.

The complete Datashake documentation about their endpoint can be found in their site [here](https://dashboard.datashake.com/docs/social-media-search/about).

New to Datastreamer? [Start here](https://docs.datastreamer.io/docs/getting-started-1).

> 👍 Unify Schema
>
> This data source already use [Unify Schema](https://docs.datastreamer.io/docs/metadata-fields).

# API Key

To use this component, you will need a Datashake API key. If you don't have one, please reach out to <support@datastreamer.io> and our team will assist you in obtaining the necessary credentials.

# How To Use?

The component is powered by the [Jobs System](https://docs.datastreamer.io/docs/about-jobs), when interacting with the component you have the option to define your jobs queries.

## Search Type

| Search Type                          | Description                                                                          |
| :----------------------------------- | :----------------------------------------------------------------------------------- |
| **Keyword Search**                   | Search for posts containing specific keywords using boolean operators (AND, OR, NOT) |
| **Content (Single Post)**            | Scrape a specific LinkedIn post with its comments                                    |
| **Content Source (Profile/Account)** | Scrape multiple posts from a profile or company page                                 |

## Filters

| Filter Name                     | Description                                                                                                                                                            |
| :------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **search\_type**                | The type of search to perform                                                                                                                                          |
| **query**                       | Get posts based on a search query. Supports boolean operators: AND, OR, NOT, parenthesis and double quotes                                                             |
| **url**                         | URL of a post or content source (profile, company page)                                                                                                                |
| **mode**                        | Archive mode searches only the internal archive (faster). On Demand mode performs a real-time search (may take longer). Note: Keyword search is always in archive mode |
| **max\_content**                | Maximum number of posts/videos to scrape from a profile/account/channel. Default: 100                                                                                  |
| **max\_comments\_per\_content** | Maximum number of comments to retrieve for each scraped post. Default: 200                                                                                             |
| **query\_from**                 | Filter dates from/since - Example '2024-05-01T00:00:00Z'                                                                                                               |
| **query\_to**                   | Filter dates to - Example '2024-08-01T00:00:00Z'                                                                                                                       |

## Examples

### Keyword Search

Search for LinkedIn posts with the keyword "gpt4" between 12/01/2025 and 12/19/2025.

![](https://files.readme.io/f69d65599d0112c23a719f2035df0e388a9fa245e9183fd8e17a197a28bba132-image.png)

<br />

You also have the option to use the API. You can use the **Code** button to extract this example:

```
curl --location 'https://api.platform.datastreamer.io/api/pipelines/{PIPELINE_ID}/components/{COMPONENT_ID}/jobs?ready=true' \
      --header 'apikey: <your-api-key>' \
      --header 'Content-Type: application/json' \
      --data \
        '{
          "job_name": "e50fa843-04da-4753-a80c-58d60927c4e3",
          "component_name": "datashake-linkedin-ingress",
          "data_source": "datashake_socialmedia_linkedin",
          "query": {
            "search_type": "keyword",
            "query": "gpt4"
          },
          "job_type": "oneTime",
          "query_from": "2025-12-01T00:00:00.000Z",
          "query_to": "2025-12-19T00:00:00.000Z"
        }'
```

<br />

### Content (Single Post)

Scrape a specific LinkedIn post with its comments.

```
curl --location 'https://api.platform.datastreamer.io/api/pipelines/{PIPELINE_ID}/components/{COMPONENT_ID}/jobs?ready=true' \
      --header 'apikey: <your-api-key>' \
      --header 'Content-Type: application/json' \
      --data \
        '{
          "job_name": "e50fa843-04da-4753-a80c-58d60927c4e3",
          "component_name": "datashake-linkedin-ingress",
          "data_source": "datashake_socialmedia_linkedin",
          "query": {
            "search_type": "content",
            "url": "https://www.linkedin.com/posts/example/",
            "mode": "on_demand",
            "max_comments_per_content": 200
          },
          "job_type": "oneTime"
        }'
```

<br />

### Content Source (Profile/Account)

Scrape multiple posts from a LinkedIn profile or company page.

```
curl --location 'https://api.platform.datastreamer.io/api/pipelines/{PIPELINE_ID}/components/{COMPONENT_ID}/jobs?ready=true' \
      --header 'apikey: <your-api-key>' \
      --header 'Content-Type: application/json' \
      --data \
        '{
          "job_name": "e50fa843-04da-4753-a80c-58d60927c4e3",
          "component_name": "datashake-linkedin-ingress",
          "data_source": "datashake_socialmedia_linkedin",
          "query": {
            "search_type": "content_source",
            "url": "https://www.linkedin.com/in/example/",
            "mode": "on_demand",
            "max_content": 100,
            "max_comments_per_content": 50
          },
          "job_type": "oneTime"
        }'
```

<br />