$npx skillfedfor your agent

linkedin-api

LinkedIn API for Python

SkipPyPI WWW/HTTPReleased Nov 2024105.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — linkedin_api-2.3.1-py3-none-any.whl
v2.3.1 · released 2024-11-07 · Python <4.0,>=3.10 · 3 runtime deps: requests, beautifulsoup4, lxml

No—install only if you accept significant risk. The library is dormant (645 days since last release), explicitly violates LinkedIn's Terms of Service, and may trigger account challenges or bans. No active maintenance means compatibility breaks from LinkedIn's side will go unfixed. Use only for low-stakes personal automation or when official API access is genuinely unavailable and the account risk is acceptable.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.10.
  • LinkedIn may challenge authentication with 2FA, rate-limiting, or IP-based verification; the library does not handle Challenge URLs and will fail in those cases.
  • Low install friction with three common dependencies (requests, beautifulsoup4, lxml).

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

last release 2024-11-07 (645 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 105,287 downloads/mo, #12,709 on PyPI

Verify before relying

pip install linkedin-api

from linkedin_api import Linkedin

api = Linkedin('user@example.com', 'password')
profile = api.get_profile('profile-slug')
connections = api.get_profile_connections('profile-id')
  • Whether LinkedIn's Terms of Service enforcement against this library has changed since last release
  • Current rate-limit thresholds and whether Challenge detection has been improved
  • Compatibility with recent LinkedIn UI or authentication changes not yet reflected in the codebase
Same gist for agents: .md · .json

What it is and what it does

linkedin-api is a Python wrapper around LinkedIn's internal Voyager API endpoints, allowing you to programmatically search profiles, retrieve contact information, manage connections, send and read messages, and interact with job postings and posts—all without needing LinkedIn's official developer API access. It works by authenticating with a valid LinkedIn user account and replicating the HTTP requests the LinkedIn website makes internally.

The library uses requests, beautifulsoup4, and lxml to handle HTTP communication and HTML parsing. It requires Python 3.10 or later. The project explicitly warns that it is not officially supported by LinkedIn and may violate LinkedIn's Terms of Service, so use carries legal and account-risk considerations. Maintenance is dormant as of the fact sheet date, meaning no active development or support is occurring.

Use it for

  • Bulk extract profile data and contact information for recruitment or sales prospecting workflows
  • Automate connection requests and message sending for outreach campaigns
  • Search and monitor job postings on LinkedIn programmatically for job aggregation or alerting
  • Build internal tools to retrieve and analyze your own network and connection data
  • Integrate LinkedIn profile lookups into third-party applications without official API approval

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—install only if you accept significant risk.

The library is dormant (645 days since last release), explicitly violates LinkedIn's Terms of Service, and may trigger account challenges or bans. No active maintenance means compatibility breaks from LinkedIn's side will go unfixed. Use only for low-stakes personal automation or when official API access is genuinely unavailable and the account risk is acceptable.

Install

linkedin-api on PyPI

Before you install

Low install friction with three common dependencies (requests, beautifulsoup4, lxml). Maintenance is dormant—last release was 645 days ago—so expect no active bug fixes or feature updates.

Requires Python >= 3.10. LinkedIn may challenge authentication with 2FA, rate-limiting, or IP-based verification; the library does not handle Challenge URLs and will fail in those cases.

License in practice

MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Quickstart

pip install linkedin-api

from linkedin_api import Linkedin

api = Linkedin('user@example.com', 'password')
profile = api.get_profile('profile-slug')
connections = api.get_profile_connections('profile-id')

Verify before relying

  • Whether LinkedIn's Terms of Service enforcement against this library has changed since last release
  • Current rate-limit thresholds and whether Challenge detection has been improved
  • Compatibility with recent LinkedIn UI or authentication changes not yet reflected in the codebase

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
requestsbeautifulsoup4lxml
MaintenanceDormant 645 days since the last release
First released
Downloads105,287 / month, #12,709 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12

Evidence: linkedin_api-2.3.1-py3-none-any.whl

Tags

Capabilities
linkedin profile scraping pythonlinkedin api without official accesslinkedin messaging automationlinkedin job search apilinkedin connection managementlinkedin data extractionlinkedin profile search
Topics
web-scrapingterms-of-service-riskdormant-maintenance
PyPI keywords
linkedinapiautomationscraperbotdatasdkaiintegrationprofilesnetworkcompany

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “linkedin profile scraping python”

  • linkedin-apiProvides direct HTTP access to LinkedIn's internal Voyager API for…
  • proxycurl-pyA Python client for the Proxycurl API that enriches and looks up…
  • python-jobspyScrapes job postings from LinkedIn, Indeed, Glassdoor, Google,…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also linkedin-api-client · proxycurl-py · python-jobspy · scrapinghub · klaviyo-api · spider-client · klaviyo · firecrawl · instaloader · wapi-python