--- title: "Scraping LinkedIn with Python in 2026: Profiles, Companies, and Jobs" author: "Pradeep Kumar" published: "2026-08-24T13:25:21.607Z" updated: "2026-08-31T08:30:00.453Z" url: "https://zyvop.com/scraping-linkedin-with-python-in-2026-profiles-companies-and-jobs-n1skm" canonical: "https://zyvop.com/scraping-linkedin-with-python-in-2026-profiles-companies-and-jobs-n1skm" tags: ["Web Scraping","Playwright","linkedin scrapping","developer tools","curl_cffi"] --- # Scraping LinkedIn with Python in 2026: Profiles, Companies, and Jobs Practical Python scraping for LinkedIn profiles, companies, and jobs using curl_cffi, structured data, and the public jobs endpoint. ![Cover image]() LinkedIn is one of the largest publicly accessible sources of structured professional data on the web. Public profile and company pages can expose useful professional metadata, while the jobs surface provides a large, searchable source of listings. Getting that data programmatically is harder: LinkedIn uses significant anti-abuse defenses, its official APIs expose only a subset of member and platform data to most developers, and the commercial scraping landscape changed significantly after Proxycurl shut down in 2025. This guide focuses on techniques that are useful in August 2026, while treating undocumented website behavior as implementation detail rather than a stable API. * * * ## Quick Start One self-contained snippet — no config, no classes. If this returns data, your environment is working. Read the rest of the guide for rate limits, proxies, and production patterns. ```python # pip install curl-cffi parsel import asyncio, json from curl_cffi.requests import AsyncSession from parsel import Selector async def one_profile(url: str) -> dict: async with AsyncSession(impersonate="chrome") as s: r = await s.get( url, headers={"Accept-Language": "en-US,en;q=0.9"}, timeout=20, ) for raw in Selector(r.text).xpath("//script[@type='application/ld+json']/text()").getall(): try: data = json.loads(raw) except json.JSONDecodeError: continue if isinstance(data, dict): nodes = data.get("@graph", [data]) elif isinstance(data, list): nodes = data else: nodes = [] for node in nodes: if not isinstance(node, dict): continue node_type = node.get("@type") if node_type == "Person" or (isinstance(node_type, list) and "Person" in node_type): return { "name": node.get("name"), "headline": node.get("description"), } return {} print(json.dumps(asyncio.run(one_profile("https://www.linkedin.com/in/williamhgates")), indent=2)) ``` * * * ## Legal Takeaways The Ninth Circuit's April 2022 _hiQ Labs v. LinkedIn_ decision is important for scraping publicly accessible data, but it is not a blanket authorization to scrape LinkedIn. The court's CFAA analysis distinguished public websites from access that requires authentication. Other claims, including contract claims under LinkedIn's User Agreement, remain separate. See the [Ninth Circuit opinion](). The hiQ Labs settlement in December 2022 included a $500,000 judgment against hiQ for contract violations, per [Morgan Lewis's summary](). The hiQ case resolved both questions differently: CFAA in hiQ's favor, contract in LinkedIn's favor. LinkedIn announced legal proceedings against Proxycurl on January 24, 2025, saying the action was intended to enforce its User Agreement against unauthorized scraping and fake accounts. LinkedIn later announced on July 28, 2025 that the lawsuit had been resolved. [LinkedIn's announcement]() · [LinkedIn's resolution announcement]() Anyone reselling LinkedIn data or running a commercial-scale pipeline should talk to a lawyer before shipping. * * * ## What the Official API Actually Provides LinkedIn's current API documentation lists three open permissions available to all developers without special approval: `profile`, `email`, and `w_member_social`. Many other products and permissions require explicit approval. For developers who need arbitrary third-party public profile data at scale, the standard self-service API does not provide an equivalent dataset. [LinkedIn API access documentation]() * * * ## Where LinkedIn Stores Its Data Public profiles and company pages can expose structured data in `