LinkedIN Scrapper Actor avatar
LinkedIN Scrapper Actor

Pricing

Pay per usage

Go to Store
LinkedIN Scrapper Actor

LinkedIN Scrapper Actor

Developed by

Ayan Sarkar

Ayan Sarkar

Maintained by Community

The LinkedIN Profile Scrapper Task Code Work Through Video https://www.loom.com/share/30f2e1a109d84a32a198b3f91418eeb6

0.0 (0)

Pricing

Pay per usage

0

Total users

5

Monthly users

5

Runs succeeded

>99%

Last modified

24 days ago

You can access the LinkedIN Scrapper Actor programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "cookies": [
12 {
13 "name": "li_at",
14 "value": "AQEDATBF1fcFFWD-AAABl0EnCcsAAAGXZTONy1YAvG6K6g1h7OFSD6AxUs5LKID3G40ZzP9vr_ziWH4sAmKlKRmnsr8EUg6e7luwOD13h9iZKs2nDU2iI6ozQP1I_P_60--6RI-wv-sWuKJuE3RsYiEW",
15 "domain": ".linkedin.com",
16 "path": "/",
17 "httpOnly": true,
18 "secure": true,
19 "sameSite": "None"
20 },
21 {
22 "name": "JSESSIONID",
23 "value": "ajax:7961322262816580745",
24 "domain": ".www.linkedin.com",
25 "path": "/",
26 "httpOnly": true,
27 "secure": true,
28 "sameSite": "None"
29 }
30 ]
31};
32
33// Run the Actor and wait for it to finish
34const run = await client.actor("ayanxsarkar/linkedin-scrapper-actor").call(input);
35
36// Fetch and print Actor results from the run's dataset (if any)
37console.log('Results from dataset');
38console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
39const { items } = await client.dataset(run.defaultDatasetId).listItems();
40items.forEach((item) => {
41 console.dir(item);
42});
43
44// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

LinkedIN Scrapper Actor API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use LinkedIN Scrapper Actor API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

$npm install apify-client

Other API clients include: