linkedin-api-client
Official Python client library for LinkedIn APIs
Decision gist · record as of 2026-08-14
Yes, if you are building a LinkedIn integration and need official API support. The low install friction and single dependency make it easy to add. However, the beta status, dormant maintenance (no updates since 2024-04-21), and proprietary license with unclear terms warrant caution in production. Verify that the current API surface matches your use case and review the license before deploying commercially.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid 3-legged or 2-legged OAuth2 access token from the LinkedIn Developer Portal; the library does not handle token provisioning from scratch.
- Low install friction with a single dependency (requests).
- Maintenance is dormant—last release was 2023-06-29 and last commit 2024-04-21—but the repository remains active and the package supports current Python versions (3.7–3.11).
License · maintenance · safety
Proprietary (unclear) — Licensed as Proprietary with unclear treatment. No SPDX identifier is available, so the exact terms and redistribution rights are not standardized; review the repository directly before use in commercial or open-source contexts.
last release 2023-06-29 (1142 days) · last repo commit 2024-04-21 · 267 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,154,420 downloads/mo, #3,247 on PyPI
Alternatives
Verify before relying
pip install linkedin-api-client
from linkedin_api_client import RestliClient
restli_client = RestliClient()
response = restli_client.get(
resource_path="/me",
access_token="YOUR_3_LEGGED_ACCESS_TOKEN"
)
print(response.entity)- Whether the beta status and lack of recent updates affect API compatibility with current LinkedIn endpoints.
- What specific proprietary license terms apply and whether they restrict commercial use or redistribution.
What it is and what it does
This is the official Python client library for LinkedIn APIs, built on top of the requests HTTP library. It abstracts away the complexity of LinkedIn's Rest.li protocol by handling request formatting, proper headers, parameter encoding, and OAuth2 token management (both 2-legged and 3-legged flows). The library provides methods for standard REST operations (get, batch_get, finder, create, update, delete, etc.) and utilities for token generation and inspection.
The package is currently in beta and dormant—the last release was 2023-06-29 and the last commit 2024-04-21. It supports Python 3.7 through 3.11 and has no known security vulnerabilities. The library handles URL encoding of complex query parameters and supports versioned API calls.
Use it for
- Fetch LinkedIn member profiles using 3-legged OAuth tokens with the r_liteprofile scope.
- Search and manage LinkedIn ad accounts via the Advertising APIs with complex query criteria.
- Implement Sign In With LinkedIn authentication flows by exchanging authorization codes for access tokens.
- Build batch operations to create, update, or delete multiple LinkedIn resources in a single call.
- Integrate LinkedIn data into Python applications without manually constructing Rest.li protocol requests.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a LinkedIn integration and need official API support.
The low install friction and single dependency make it easy to add. However, the beta status, dormant maintenance (no updates since 2024-04-21), and proprietary license with unclear terms warrant caution in production. Verify that the current API surface matches your use case and review the license before deploying commercially.
Install
linkedin-api-client on PyPI
Before you install
Low install friction with a single dependency (requests). Maintenance is dormant—last release was 2023-06-29 and last commit 2024-04-21—but the repository remains active and the package supports current Python versions (3.7–3.11).
Requires a valid 3-legged or 2-legged OAuth2 access token from the LinkedIn Developer Portal; the library does not handle token provisioning from scratch.
License in practice
Licensed as Proprietary with unclear treatment. No SPDX identifier is available, so the exact terms and redistribution rights are not standardized; review the repository directly before use in commercial or open-source contexts.
Quickstart
pip install linkedin-api-client
from linkedin_api_client import RestliClient
restli_client = RestliClient()
response = restli_client.get(
resource_path="/me",
access_token="YOUR_3_LEGGED_ACCESS_TOKEN"
)
print(response.entity)
Verify before relying
- Whether the beta status and lack of recent updates affect API compatibility with current LinkedIn endpoints.
- What specific proprietary license terms apply and whether they restrict commercial use or redistribution.
Package facts
| License | Proprietary unclear |
| Python support | Supports the current Python release >=3.7,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Dormant 1,142 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,154,420 / month, #3,247 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: Other/Proprietary LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: linkedin_api_client-0.3.0-py3-none-any.whl
Tags
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 api client”
- linkedin-api-clientProvides a Python client for LinkedIn's Rest.li APIs, handling…
- proxycurl-pyA Python client for the Proxycurl API that enriches and looks up…
- linkedin-apiProvides direct HTTP access to LinkedIn's internal Voyager API for…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
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.
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.
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.
See also linkedin-api · requests-oauthlib · google-auth-oauthlib · proxycurl-py · python-http-client · xdk · dynamics365crm-python · office365-rest-python-client · oauth2-client · oauth2client