Legal

Is Scraping LinkedIn Legal? What hiQ v. LinkedIn, the User Agreement and the GDPR Say in 2026

Three separate sets of rules apply to LinkedIn profile data: a US computer-access statute, a private contract and EU data protection law. Each answers a different question.

Last updated · 10 min read

Whether scraping LinkedIn is legal has no single answer, because three different sets of rules apply and each asks a different question. In hiQ v. LinkedIn, the US Court of Appeals for the Ninth Circuit held in 2019, and again in April 2022, that the federal anti-hacking statute's "without authorization" concept does not apply to public web pages. In November 2022 the district court in the same case found that hiQ had breached LinkedIn's User Agreement, which prohibits scraping profiles. Separately, the EU GDPR requires anyone who collects personal data about people in the EU to have a lawful basis under Article 6 and to inform those people under Article 14.

LinkedIn scraping is the automated collection of data from LinkedIn's pages, such as names, job titles, employers and work history from member profiles, by software rather than by a person reading the page. In legal terms it is one activity that touches three separate bodies of rules, and none of them answers the whole question on its own.

  • Computer-access law: in the United States, the Computer Fraud and Abuse Act (CFAA) asks whether a scraper entered a computer "without authorization".
  • Contract law: LinkedIn's User Agreement asks whether the person or company that scrapes agreed not to.
  • Data protection law: the EU GDPR asks what a company does with personal data once it holds it, whoever collected it.

A scraper can be outside one set of rules and inside another, which is why hiQ won on the first point and lost on the second.

What hiQ v. LinkedIn decided about public profiles

hiQ v. LinkedIn decided that LinkedIn could not use the Computer Fraud and Abuse Act to stop hiQ Labs, a data analytics company, from collecting publicly visible LinkedIn profiles, at least at the preliminary injunction stage. The Ninth Circuit affirmed an injunction in hiQ's favour on 9 September 2019 (case No. 17-16783), and affirmed it again on remand on 18 April 2022.

The rulings were about a preliminary injunction, not a final judgment. The Ninth Circuit's 2022 opinion found that hiQ had raised serious questions about whether the CFAA applies, and it lists other claims that a site owner may still bring against a scraper even when the CFAA does not apply: trespass to chattels, copyright infringement, misappropriation, unjust enrichment, conversion, breach of contract and breach of privacy.

How Van Buren changed the CFAA question in 2021

Van Buren v. United States, decided by the US Supreme Court on 3 June 2021, read the Computer Fraud and Abuse Act as asking a yes-or-no question about access: either a person can access a computer system or an area within it, or they cannot. The Supreme Court then vacated the Ninth Circuit's 2019 hiQ judgment and sent the case back for reconsideration in light of Van Buren.

On remand, the Ninth Circuit held that Van Buren supported its first reading: the public sections of a website are open to anyone with a browser, so there is no gate for a scraper to pass. In the words of the April 2022 opinion: "the concept of 'without authorization' does not apply to public websites." That holding concerns the federal statute only, and pages behind a login are a different case.

What the district court found about LinkedIn's User Agreement in 2022

The US District Court for the Northern District of California, in an order filed on 3 November 2022 in case No. 17-cv-03301-EMC, found that hiQ breached LinkedIn's User Agreement. According to the order, hiQ breached the agreement both by scraping LinkedIn's site and using the scraped data, and through contractors who created false identities on LinkedIn to support the scraping.

The same order did not grant LinkedIn full summary judgment on the scraping claim, because factual disputes remained over hiQ's waiver and estoppel defenses. For a developer, the lesson of the 2022 order is narrower than a general rule: a company that accepts LinkedIn's terms and then scrapes can be held to that contract, whatever the CFAA says.

Who LinkedIn's User Agreement binds

LinkedIn's User Agreement, in the version effective on 3 November 2025, binds whoever creates a LinkedIn account or accesses or uses LinkedIn's services. Section 1.2 says the contract applies to both members and visitors, so it covers people who browse without registering as well as account holders.

Section 8.2 of the LinkedIn User Agreement lists what users agree not to do, including using software such as scripts, crawlers, robots or browser plugins that scrape or copy the services, profiles and other data included. The same list rules out using another person's account, for example by sharing log-in credentials, and bypassing access controls or use limits. Section 5 says section 8.2 survives the end of the contract.

The User Agreement is a contract, not a statute. It gives LinkedIn claims against the parties to it, as the hiQ district court order shows, and the practical consequences for a team writing its own scraper are covered in the guide to scraping LinkedIn with Python.

What does the EU GDPR require before you collect LinkedIn profile data?

The EU General Data Protection Regulation (Regulation (EU) 2016/679) requires a company that collects LinkedIn profile data about people in the EU to have a lawful basis for that processing and to tell those people what it is doing. A LinkedIn profile is personal data: the GDPR defines personal data as any information relating to an identified or identifiable natural person, and a profile names one.

The GDPR applies whether the data was scraped, bought from a provider or copied by hand. What matters is the processing, so the company that decides why and how the profiles are used, the controller, carries these duties.

Choosing a lawful basis under Article 6

Article 6(1) of the GDPR lists six lawful bases, and processing is lawful only if at least one applies. For profile data collected without contact with the person, the two discussed most are consent, under point (a), and legitimate interests, under point (f).

Legitimate interests under Article 6(1)(f) apply only where the interests of the controller or a third party are not overridden by the interests or fundamental rights and freedoms of the person concerned. That balance is the controller's to make, purpose by purpose, such as recruiting for one role or researching one market.

Informing people under Article 14 within one month

Article 14 of the GDPR covers personal data that was not obtained from the person it is about, which is the situation of any profile collected from LinkedIn. The controller must tell the person, among other things, who the controller is, the purposes and lawful basis, the categories of data and the source the data came from, including whether it came from publicly accessible sources.

Under Article 14(3), that information is due within a reasonable period and at the latest within one month of obtaining the data, or at the first communication if the data is used to contact the person. Article 14(5)(b) relieves the controller where informing people proves impossible or would involve a disproportionate effort, and in those cases the controller must take appropriate measures to protect the person's rights, including making the information public.

When the GDPR applies to a company outside the EU

Article 3(2) of the GDPR extends the regulation to a controller not established in the EU when it processes personal data of people who are in the EU and the processing relates to offering them goods or services or to monitoring their behaviour in the EU. A US startup that collects profiles of engineers in Berlin should check Article 3(2) before assuming that EU rules stay in Europe.

US computer-access law, LinkedIn's contract and the GDPR compared (2026)

The three sets of rules that apply to LinkedIn scraping differ in what they regulate, whom they bind and where their text comes from. The table sets them side by side as of November 2026.

Rule What it regulates Whom it binds What the source says Source
Computer Fraud and Abuse Act (US) Accessing a computer "without authorization" Anyone who accesses a protected computer The Ninth Circuit held in April 2022 that "without authorization" does not apply to public websites hiQ v. LinkedIn, No. 17-16783 (9th Cir. 2019 and 2022)
LinkedIn User Agreement, section 8.2 Scraping, copying and automated access to LinkedIn Members and Visitors of LinkedIn Prohibits software and crawlers that scrape or copy profiles; the district court found hiQ in breach in November 2022 LinkedIn User Agreement, effective 3 November 2025; N.D. Cal. No. 17-cv-03301-EMC
EU GDPR, Articles 6 and 14 Processing personal data The controller of the data, inside or outside the EU under Article 3 Requires a lawful basis and information to the person within one month Regulation (EU) 2016/679

Each row answers a different question, so a result under one rule does not settle the others.

What this means if you use a LinkedIn profile API

Using a LinkedIn profile API changes who runs the collection, not who answers for the data. pineapi, an API that searches LinkedIn profiles by filter or reads them by URL at $0.010 per delivered profile and at least $0.12 per search, authenticates with a bearer token and never asks for the customer's LinkedIn account, password or session cookie, so the customer's team does not operate a scraper under its own LinkedIn membership.

pineapi is not an official LinkedIn product and is not affiliated with LinkedIn, and the company that receives the profiles is the one that needs a lawful basis for using them. Under the GDPR that company is the controller for its own purposes, which means the Article 6 balance and the Article 14 information duty are its decisions. The pineapi terms of service put the same responsibility on customers.

Two product facts help a controller plan its own processing. pineapi profiles carry no email addresses, so contact details are not part of what is collected, and a pineapi run's results are erased once 30 days have passed, leaving the customer to decide what to keep in its own storage and for how long. The LinkedIn scraper API page sets out what pineapi collects and what it does not.

Questions to answer before you collect LinkedIn profile data

A team that plans to collect LinkedIn profile data can work through the three sets of rules in order, before the first request is sent. Each question below names the rule it comes from.

  1. Whose account does the collection run under? LinkedIn's User Agreement binds members and visitors and prohibits scraping software, so a team should not run a scraper through its own or anyone else's LinkedIn account.
  2. Are the pages public? The Ninth Circuit's hiQ reasoning covers public pages under the CFAA only; pages behind a login raise a different question.
  3. What is the purpose, and which Article 6 basis covers it? The GDPR lawful basis is chosen per purpose, and a legitimate-interests basis rests on weighing the team's interests against the rights of the people in the data.
  4. How will people be told? Article 14 of the GDPR sets a one-month deadline, or first contact, for informing the people whose profiles are collected.
  5. Does the GDPR reach the team at all? Article 3(2) can apply it to a controller outside the EU that monitors or offers services to people in the EU.
  6. Who can review it? None of these rules gives a general yes or no, so a team building a product on LinkedIn profile data should have its own lawyer review the use case.

LinkedIn's own developer products, and the limited profile data they return, are described in the article on the official LinkedIn API in 2026.