Linkedin Profile 馃煝 UpToDate 21 feb-2024 avatar
Linkedin Profile 馃煝 UpToDate 21 feb-2024
Try for free

3 days trial then $19.00/month - No credit card required now

View all Actors
Linkedin Profile 馃煝 UpToDate 21 feb-2024

Linkedin Profile 馃煝 UpToDate 21 feb-2024

saswave/linkedin-profile
Try for free

3 days trial then $19.00/month - No credit card required now

Get : connections, followers, location, all experiences, educations, languages, about, personal contact infos (firstname, lastname, email, phonenumber, account type, birthday, account creation date and more) Get information of LinkedIn profile from URL. Helps extracting profiles at scale

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "cookies": [
11        {
12            "domain": ".linkedin.com",
13            "expirationDate": 1716940616.08443,
14            "hostOnly": false,
15            "httpOnly": false,
16            "name": "test",
17            "path": "/",
18            "sameSite": "no_restriction",
19            "secure": true,
20            "session": false,
21            "storeId": "0",
22            "value": "fake",
23            "id": 1
24        }
25    ],
26    "peoples": [
27        "https://www.linkedin.com/in/emmanuelmacron/",
28        "https://www.linkedin.com/in/elisabeth-borne-7a40aa33/"
29    ]
30};
31
32(async () => {
33    // Run the Actor and wait for it to finish
34    const run = await client.actor("saswave/linkedin-profile").call(input);
35
36    // Fetch and print Actor results from the run's dataset (if any)
37    console.log('Results from dataset');
38    const { items } = await client.dataset(run.defaultDatasetId).listItems();
39    items.forEach((item) => {
40        console.dir(item);
41    });
42})();
Developer
Community logoMaintained by Community
Actor metrics
  • 40 monthly users
  • 100.0% runs succeeded
  • 0.2 days response time
  • Created in Oct 2023
  • Modified 10 days ago

You might also like these Actors