LinkedIn Shared & Mutual Connections Scraper avatar

LinkedIn Shared & Mutual Connections Scraper

Pricing

from $4.99 / 1,000 results

Go to Apify Store
LinkedIn Shared & Mutual Connections Scraper

LinkedIn Shared & Mutual Connections Scraper

Extract shared and mutual LinkedIn connections from public profile relationships. Collect connection details, profile URLs, names, and network insights to support lead generation, relationship mapping, recruitment research, sales prospecting, and business networking.

Pricing

from $4.99 / 1,000 results

Rating

1.0

(1)

Developer

Scrapier

Scrapier

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Share

πŸ”— LinkedIn Shared & Mutual Connections Scraper

Find out who you both know. Paste any LinkedIn profile URL (or a whole bulk list) and this Actor returns the shared / mutual connections between your account and that profile β€” names, headlines, locations, degree of connection, and direct profile links β€” as clean, structured data.

Perfect for warm-intro prospecting, account-based sales, recruiting, and network mapping.


⭐ Why Choose This Actor?

  • 🎯 Bulk input β€” process dozens of profiles in a single run.
  • πŸ›‘οΈ Smart anti-block ladder β€” connects directly first, then transparently escalates to a datacenter proxy, then a sticky residential proxy if LinkedIn pushes back. You see every switch in the log.
  • πŸ’Ύ Live results β€” connections are saved the instant they're found, so a long run never loses progress.
  • πŸ“‚ Per-profile sections β€” each profile's connections also land in their own dataset for easy separation.
  • πŸ†• "Only new" mode β€” skip everyone you already pulled in earlier runs.
  • 🧹 Clean schema β€” output maps 1:1 to a tidy table, ready for CRM import.

✨ Key Features

FeatureDescription
🎯 Bulk profilesSubmit one or many LinkedIn profile URLs
🌐 Network filter1st + 2nd degree, or also 3rd+/out-of-network
πŸ›‘οΈ Proxy fallbackdirect β†’ datacenter β†’ residential (sticky)
πŸ” Auto-retryUp to 3 attempts with backoff on blocks/timeouts
πŸ“„ PaginationWalks every result page up to your page limit
πŸ’Ύ Incremental saveEvery connection pushed live to the dataset

πŸ“₯ Input

FieldTypeRequiredDescription
urlsarrayβœ…LinkedIn profile URLs (bulk supported)
li_atstring (secret)βœ…*Your li_at session cookie value
cookiesarray⬜Full exported cookie session (overrides li_at)
networkstring⬜F,S (1st+2nd) or F,S,O (+3rd/out-of-network)
getOnlyNewboolean⬜Return only connections not seen in previous runs
maxPagesinteger⬜Max result pages per profile (default 10)
requestDelaynumber⬜Base delay between page requests in seconds
proxyConfigurationobject⬜Apify proxy settings (enables the fallback ladder)

* Provide either li_at or a cookies array containing li_at.

Example input

{
"urls": [
{ "url": "https://www.linkedin.com/in/contact-mahfuz/" }
],
"network": "F,S",
"li_at": "AQEDA...your-session-cookie...",
"getOnlyNew": false,
"maxPages": 10,
"proxyConfiguration": { "useApifyProxy": true }
}
  1. Log into LinkedIn in your browser.
  2. Open DevTools β†’ Application β†’ Cookies β†’ https://www.linkedin.com.
  3. Copy the value of the li_at cookie.
  4. Paste it into the li_at field (it is stored as a secret).

πŸ“€ Output

Each row is one mutual connection:

{
"urn_li_member": "ACoAADMVI0YBVVgJVoOiWFf1CU6b_EQtHVmaiYA",
"network_distance": "1",
"full_name": "Raisul Islam",
"linkedin": "https://www.linkedin.com/in/contact-raisul",
"is_premium": false,
"jobtitle": "Designing scalable web data systems...",
"location": "Chattogram, Chattogram, Bangladesh",
"mutual_connections_link": "https://www.linkedin.com/search/results/people/?facetNetwork=...",
"mutual_connections": "",
"followers": "",
"source_profile": "https://www.linkedin.com/in/contact-mahfuz/"
}
FieldDescription
full_nameConnection's display name
network_distance1 = 1st, 2 = 2nd, 3 = 3rd degree
jobtitleHeadline / current role
locationLocation text
linkedinDirect profile URL
is_premiumWhether the profile shows a Premium badge
mutual_connectionsCount text where LinkedIn exposes it
mutual_connections_linkCanned LinkedIn search for the shared network
urn_li_memberLinkedIn member URN (ACoAA...)
source_profileWhich input profile this connection came from

πŸš€ How to Use (Apify Console)

  1. Log in at console.apify.com β†’ Actors.
  2. Open the LinkedIn Shared & Mutual Connections Scraper.
  3. Paste your profile URL(s) and your li_at cookie.
  4. (Optional) Pick the network filter and proxy settings.
  5. Click Start and watch connections stream into the log in real time.
  6. Open the Output tab when the run finishes and export to JSON / CSV / XLSX.

πŸ€– Use via API

curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"urls": [{ "url": "https://www.linkedin.com/in/contact-mahfuz/" }],
"network": "F,S",
"li_at": "YOUR_COOKIE",
"proxyConfiguration": { "useApifyProxy": true }
}'

πŸ’‘ Best Use Cases

  • Warm-intro sales β€” find who can introduce you to a target buyer.
  • Recruiting β€” map shared connections to candidates for trusted referrals.
  • Network analysis β€” understand overlap between you and key accounts.

πŸ’³ Pricing

This Actor uses the Pay-Per-Event model. You are billed per mutual connection returned, plus standard Apify platform usage (compute + proxy). The combined dataset is the unit of value β€” partial runs only bill for what was actually collected.


❓ FAQ

Do I need a LinkedIn account? Yes. LinkedIn only shows shared connections to authenticated users, so a valid li_at cookie from your own account is required.

Will this get my account banned? The Actor warms up like a real browser, throttles requests, and rotates proxies on blocks to stay gentle. Still, scraping always carries some risk β€” use a sensible maxPages, modest run frequency, and reasonable delays.

Why are some fields empty? LinkedIn does not expose every field (e.g. followers, exact mutual counts) on every card. Empty strings mean LinkedIn didn't render that value for that result.

Can I scrape profiles I'm not connected to? You can scan the shared connections that your account is permitted to see. Set network to F,S,O to widen the net to 3rd+/out-of-network where visible.


πŸ›‘οΈ Compliance & Caution

  • Collect data only from sources you are authorized to access with your own account.
  • You are responsible for compliance with LinkedIn's Terms, GDPR/CCPA, and anti-spam laws.
  • Do not use collected data for harassment or unsolicited bulk outreach.

πŸ“¨ Support & Feedback

Found a bug or want a new field? Open an issue on the Actor's Issues tab β€” real answers, fast.