in LinkedIn API Live in production. Email, messengers & calendars next
Pricing Blog
Get API key Sign in

Is Scraping LinkedIn Legal?

Is Scraping LinkedIn Legal?

You have probably been told a court made this legal. The same case ended with the scraper shut out of LinkedIn for good.

Updated October 2026 · 18 min read

Scraping LinkedIn is three questions wearing one coat. Whether it is a crime: in the United States, usually no. Whether it breaches LinkedIn’s User Agreement: for anyone holding a LinkedIn account, yes. And what data protection law lets you keep once the records are on your disk, which is where the fines have actually landed.

The three carry different bills. A criminal statute reaches a person, a contract reaches your accounts, and a data protection regulator reaches your database. The last two are the ones an ordinary B2B team runs into. Reading through an account you connect, with a server holding the pace, answers where every record came from and keeps the reading inside accounts you control, though it leaves the User Agreement where it is. On that stack, gtm-api.com runs 20,000+ accounts with under 1% of them ever restricted.

Three questions, three answers

Each of the three questions belongs to a different body of law, and each gets its own answer. The Computer Fraud and Abuse Act asks whether a computer was accessed without authorisation, and a public page is open to everybody. LinkedIn’s User Agreement asks whether you promised not to do this, and every account holder did. Data protection law asks what you may hold about a named person.

The question What it asks Who it reaches Where it has landed so far
Crime (the CFAA) Was the computer accessed without authorisation Whoever runs the bot Signed out on public pages, the Ninth Circuit says no. Fake accounts and the password wall are still live
Contract (the User Agreement) Did you agree not to scrape Everyone holding a LinkedIn account hiQ lost this one in 2022, and LinkedIn enforces it against the accounts themselves
Data protection (GDPR and its equivalents) May you keep and use records about named people Whoever stores the data, wherever the people live EUR 240,000 against a LinkedIn contact scraper in France, December 2024

Merged, the three produce two confident wrong answers. One says a court made scraping legal, which reads a ruling about a criminal statute as a licence. The other says scraping is illegal, which promotes a contract term into a crime.

What hiQ v. LinkedIn decided and how it ended

hiQ Labs was a data analytics company that built its products out of public LinkedIn profiles. Its bots copied the name, job title, work history and skills from each profile, and it sold employers two kinds of “people analytics” built on them: Keeper, which flagged the employees most likely to be recruited away, and Skill Mapper, which summarised a workforce’s skills. When LinkedIn moved to cut it off in 2017, hiQ sued, and the case it brought, hiQ Labs, Inc. v. LinkedIn Corp., is where the idea that scraping LinkedIn is legal comes from.

hiQ won the injunction and lost the case. The Ninth Circuit, the federal appeals court whose territory includes California, twice upheld an order stopping LinkedIn from blocking hiQ’s bots, on the ground that the CFAA does not fit a site open to the public. The district court then found hiQ had breached the User Agreement, and a stipulated judgment in December 2022, terms both sides agreed to and the court entered, ended the scraping permanently.

The sentence everybody quotes comes from the middle of a sequence that runs from 2017 to the end of 2022, and the sequence moves in both directions.

  • 2017, an injunction before any ruling on the merits. hiQ sued after LinkedIn sent it a cease and desist, and the district court ordered LinkedIn to stop blocking hiQ’s access to public profiles. Everything the case became famous for sits on top of that preliminary posture.
  • June 2021, the Supreme Court sent it back. Van Buren v. United States, decided 3 June 2021, was the case of a Georgia police sergeant who was paid to look up a licence plate in a police database he was allowed to use. The Court overturned his conviction under the CFAA and read the statute as “a gates-up-or-down inquiry”, one either can or cannot access a system or an area inside it. On 14 June 2021 the Court vacated the Ninth Circuit’s hiQ judgment and returned it for a second look in that light.
  • April 2022, the sentence everybody quotes. On remand the Ninth Circuit affirmed the injunction again and held that “when a computer network generally permits public access to its data, a user’s accessing that publicly available data will not constitute access without authorization under the CFAA”.
  • November 2022, the half that travels less well. On 4 November 2022 the district court held that hiQ had breached the User Agreement, by scraping and by having contractors log in under false identities for quality assurance, while leaving hiQ’s waiver and estoppel defences for a jury.
  • December 2022, the ending. The parties filed a stipulated judgment on 6 December 2022, entered two days later. hiQ paid $500,000, took a permanent injunction against scraping LinkedIn and against creating fake accounts, and agreed to destroy the data and the code built on it.
  • The concession inside that judgment. hiQ also accepted that LinkedIn “may establish liability” under the CFAA and its California equivalent, based on its collection practices and on “hiQ’s direct access to password-protected pages on LinkedIn’s platforms using fake accounts”. Stipulated conclusions set no precedent, and this one shows what the party that won the appeal was willing to sign.

The opinion itself said what the CFAA ruling left standing. “Entities that view themselves as victims of data scraping are not without resort, even if the CFAA does not apply: state law trespass to chattels claims may still be available”, the court wrote, listing copyright infringement, misappropriation, unjust enrichment, conversion and breach of contract alongside it. LinkedIn used the last of those.

The crime question and why it is the wrong worry

For a team reading profiles to build a pipeline, the criminal question is the smallest of the three. The statute is about access to a computer, the Ninth Circuit has held that a public site’s data is open to anyone, and the reported cases run against vendors operating at scale. What survives the holding is narrow and specific.

Van Buren supplied the framing the Ninth Circuit then applied. The Supreme Court described liability as a gates-up-or-down inquiry and warned that the government’s wider reading would make criminals of “millions of otherwise law-abiding citizens”, using the example of an employee who reads the news on a work computer against policy. A term of service is a policy. Breaking one stopped being the test for a federal crime.

The public-pages holding stops at the login. Every part of the argument that went hiQ’s way rested on the bot being signed out and the pages being open to anyone. A cookie, a headless browser signed in as a member, and an account created to get past the wall all sit on the other side of that line, which is exactly where hiQ’s own concession points.

That line is also where LinkedIn still litigates. On 3 October 2025 it sued ProAPIs and its founder in the Northern District of California over what the complaint calls an “industrial-scale fake account mill” that scraped member information, including data available only behind LinkedIn’s password wall, and resold access for up to $15,000 a month. Nothing in the hiQ line of cases protects that fact pattern.

The contract question: the one you already agreed to

This is the question that reaches an ordinary B2B team, and it reaches it through the account. LinkedIn’s User Agreement bans scraping in section 8.2, and the Ninth Circuit quoted the clause in its opinion. Everyone on your team with a LinkedIn login accepted that agreement at signup, so the promise has already been given on your side.

Section 8.2 tells members not to “Scrape or copy profiles and information of others through any means (including crawlers, browser plugins and add-ons, and any other technology or manual work)”. A second clause in the same list covers manual or automated software, devices, scripts, robots and other processes used to access, scrape, crawl or spider the service. Between the two there is no reading under which an automated read of profiles is permitted.

Whether that agreement reaches a particular scraper turns on the login, and a court has drawn the line. Meta sued Bright Data, a company that sells scraped web data and the tools to collect it, over its collection of public Facebook and Instagram pages. In Meta Platforms v. Bright Data (No. 3:23-cv-00077, Northern District of California, 23 January 2024) the court gave Bright Data summary judgment on the contract claim, holding it “did not ‘use’ Facebook and Instagram when it engaged in public logged-off scraping” and stood “in the same shoes as a visitor to whom the Terms cannot apply”. The judge was Edward Chen, who had decided the hiQ contract question about fourteen months earlier.

The distinction is cleaner in a filing than in a sales team. The fields that make LinkedIn worth reading, full profiles, search results, contact details, sit behind the login, so a working stack reads from a member session. Once a member session is doing the reading, the agreement applies, and enforcement arrives as a checkpoint or a restriction on that account long before it arrives as a filing. LinkedIn account restricted covers that ladder and what reopens an account.

The data protection question: where the fines have landed

A LinkedIn profile is personal data about a named person, so copying it is processing, and the page having been public changes nothing about that. Under the GDPR you need a lawful basis for the copy, a retention period you can defend, and a notice to the person, because they never handed you the record themselves.

Article 14 is the one that surprises people. It governs information to be provided where personal data have not been obtained from the data subject, and it puts a clock on the notice: within one month of obtaining the record. A prospecting database built by scraping is the case that article describes, and the duty attaches to whoever holds the copy.

France’s regulator applied all of it to a LinkedIn scraper on 5 December 2024. Kaspr, a French company, sold a browser extension that pulled professional contact details off LinkedIn profiles into a database of around 160 million contacts. The CNIL fined it EUR 240,000 and published the decision on 19 December, and the findings read like a list of what a scraped prospecting database gets wrong.

  • A visibility setting is not consent to your database. Many of the contacts had limited their details to first and second-degree connections, and the regulator held that this choice did not authorise collection by a third party.
  • Retention has to track the purpose. Records kept for five years from the last update went stale as people changed jobs, and the CNIL treated that period as disproportionate.
  • The notice has to arrive, in a language the person reads. Kaspr began notifying individuals in 2022, four years after launch, by email written in English.
  • “Publicly accessible sources” is no answer to a subject access request. Asked where their data came from, the company offered that phrase without naming the sources listed in its own privacy policy.

Kaspr is one decision, and regulators have said the same thing more broadly. On 24 August 2023 twelve data protection authorities, the UK’s ICO among them, published a joint statement on data scraping and sent it directly to the largest social platforms, Microsoft for LinkedIn included. Its first key takeaway reads “Personal information that is publicly accessible is still subject to data protection and privacy laws in most jurisdictions”, and after talks with those companies seventeen authorities issued a follow-up on 28 October 2024. The reasoning reaches past LinkedIn as well. Clearview AI, an American company that sells facial recognition to intelligence and investigative services, built a database of more than 30 billion photos scraped from the internet, and the Dutch regulator fined it EUR 30.5 million in a decision of 16 May 2024, announced on 3 September.

None of this is theoretical for a B2B list. If a record on your disk describes somebody in the EU or the UK, the obligations attach to your copy, whether a bot collected it, a vendor sold it to you or an API returned it. What the route changes is your ability to say where each record came from and when. How email-finding tools arrive at an address, and why the contact card was the route this decision turned on, is on LinkedIn email scraper.

Which of the three reaches a B2B team

Ordered by the chance of costing you something this quarter: the User Agreement first, data protection second, the CFAA a long way back. The first arrives as restricted accounts. The second arrives as a letter about a database. The third is a vendor-scale question in every reported case, and it turns on fake accounts and the password wall.

LinkedIn does not need a court to act on the contract. The agreement is what lets it throttle, checkpoint, restrict and close the accounts doing the reading, and it applies that self-help long before anything is filed. The bill a scraping stack pays is an account, not a court date, and a closed one takes its connection graph and its message history with it.

Four things follow from that for the coming week.

  • Answer the question you are actually being asked. When somebody says scraping is legal because of a court case, they mean the CFAA, and that answer does not travel to the contract question or to the GDPR one.
  • Keep the reading inside accounts you control. Fake accounts and password-wall workarounds are the conduct that draws the lawsuits, and they are the two things hiQ conceded on.
  • Write the retention position down before the first record lands. A lawful basis, a defensible retention period and a plan for Article 14 notices are cheaper to decide at the start than to reconstruct for a regulator.
  • Do not rest a pipeline on one vendor’s legal exposure. LinkedIn sues the vendors, and their customers lose the service on the day it works. A resold scraper is somebody else’s legal position, priced per record.

What changes on an account you connect

An account-based API moves two of the three questions and leaves the third where it is. The criminal question recedes, because there is no fake account and nothing taken from behind a wall you were never admitted through. The data protection answer gets easier, because every read lands as a row in a data-request ledger, so each record has a source and a time. The User Agreement question stays.

Mechanically the route is dull. You connect a LinkedIn account you already own, the platform runs it in an isolated cloud browser on a dedicated proxy, and your code calls typed endpoints that return parsed objects. The LinkedIn side of the server exposes 190+ typed tools across 12 toolsets, covering profile and company reads, people and Sales Navigator search, and the write actions on the same credential.

Two limits come with it. The API returns what the connected account can see, so it will never match a bulk dataset for raw coverage. And automation through a connected account still runs against LinkedIn’s User Agreement. That holds for every vendor in this category, and no tool can make it untrue. What the route buys is control of the pace and a clean answer to provenance. Pricing is per connected account, from $10 per account at volume with the calls unmetered, and the detail sits on LinkedIn API pricing.

The route comparison, scraper against dataset against account-based API, is on LinkedIn scraping vs a safe API. What a profile record contains and how long you may keep it is on LinkedIn profile data API. The session and pacing mechanics that keep an account alive are on Safe LinkedIn automation, and the endpoint reference is in the developer docs.

Frequently Asked Questions

Can you be prosecuted for scraping LinkedIn?

In the United States, a bot reading public pages while signed out is unlikely to be committing a computer crime after the Ninth Circuit’s opinion of 18 April 2022, which held that data a site opens to the public is not accessed without authorization under the CFAA. The exposure concentrates where accounts are faked or a password wall is crossed, which is the conduct hiQ conceded could establish liability in its own consent judgment.

Does LinkedIn’s User Agreement apply if I never created an account?

A court has said it may not. In Meta Platforms v. Bright Data, decided 23 January 2024, the Northern District of California held that a scraper working logged off had not used the service and stood in the same position as any visitor, so the terms did not bind it. The useful LinkedIn fields sit behind the login, so a working stack reads from a member session, and at that point the agreement applies.

Is scraping LinkedIn legal under the GDPR?

Public visibility is not a lawful basis. Copying a profile is processing personal data about a named person, so it needs a basis, a retention period you can defend, and a notice to that person within one month of obtaining the record under Article 14. France’s CNIL fined Kaspr, a LinkedIn contact-scraping browser extension, EUR 240,000 on 5 December 2024 for failing on exactly those points.

What actually happens to a company that scrapes LinkedIn?

The usual outcome is account enforcement. LinkedIn throttles, checkpoints, restricts and then closes the accounts doing the reading, and each closure takes its connection graph and message history with it. The lawsuits go to vendors at scale: LinkedIn sued ProAPIs and its founder on 3 October 2025 over an operation its complaint describes as an industrial-scale fake account mill.

Does an account-based API change the legal position?

It moves two of the three. There is no fake account and nothing taken from behind a password wall, so the computer-crime question recedes, and every read is logged with its source and time, which is what a data protection answer needs. Automation through a connected account still runs against LinkedIn’s User Agreement, and no vendor can make that untrue.

Sources & Further Reading

Read the profile from an account you own, and know where it came from.

One typed contract for search, enrichment and outreach, running on LinkedIn accounts you connect, inside budgets the server enforces. On that stack, gtm-api.com runs 20,000+ accounts with under 1% of them ever restricted. Free plan, then from $10 per account at volume.

Get your API key →

Last updated: October 2026 · Definitions and benchmarks verified at time of publication