Is It Legal to Scrape LinkedIn, Instagram, X and Other Social Media?
LinkedIn does not allow scraping, but scraping public LinkedIn profiles is not automatically illegal. In hiQ Labs v. LinkedIn the Ninth Circuit held on April 18, 2022, after the Supreme Court sent the case back in light of Van Buren v. United States, that scraping profiles anyone can view without logging in is likely not access "without authorization" under the US Computer Fraud and Abuse Act (CFAA). That was a preliminary-injunction ruling, not a final judgment: in November 2022 the district court found hiQ had breached LinkedIn's User Agreement, and the case ended in a consent judgment in December 2022. LinkedIn's User Agreement (effective November 3, 2025) still forbids bots and crawlers, and Instagram, Facebook, X, Reddit, YouTube and TikTok forbid scraping in their own terms; in Europe the GDPR applies to public profiles too. ProxyField sells residential and mobile proxies for lawful social media monitoring of public pages from $1.95/GB; start with the Easy Trial: 1 GB for $2.95.
- residential IPs
- 412M+
- from, traffic never expires
- $1.95/GB
- Easy Trial
- 1 GB for $2.95
| Platform | Do its terms allow scraping? | Official route | Court history |
|---|---|---|---|
| No | LinkedIn developer programs | hiQ v. LinkedIn (2017-2022); 2026 consent judgment against a data provider | |
| Facebook and Instagram | No, without express permission | Graph API | Meta lost a 2024 suit over logged-out scraping |
| X | No, without prior written permission | X API | X's 2023 suit over scraping dismissed in 2024 |
| No; robots.txt disallows everything for all bots | Data API | Reddit sued AI and data companies in 2025 | |
| YouTube | No, except search engines following robots.txt or with permission | YouTube Data API | – |
| TikTok | No, without written approval | Research Tools for academics | See the TikTok guide |
On this page 6 sections
Is scraping LinkedIn allowed?
No. LinkedIn's User Agreement, effective November 3, 2025, says members may not "develop, support or use software, devices, scripts, robots or any other means or processes (such as crawlers, browser plugins and add-ons or any other technology) to scrape or copy the Services, including profiles and other data from the Services", nor "bypass or circumvent any access controls or use limits of the Services". LinkedIn's robots.txt opens with a notice that "the use of robots or other automated means to access LinkedIn without the express permission of LinkedIn is strictly prohibited", and that permitted crawling is limited to approved search engines under LinkedIn's crawling terms.
What did the hiQ case decide?
hiQ Labs sold analytics built from public LinkedIn profiles. In May 2017 LinkedIn sent it a cease-and-desist letter saying further access would violate the CFAA, the Digital Millennium Copyright Act (DMCA), California Penal Code § 502(c) and the California law of trespass, and blocked its bots; a week later hiQ sued (opinion, No. 17-16783).
| Date | Court | What happened |
|---|---|---|
| 2017 | N.D. Cal. No. 3:17-cv-03301 | hiQ sues; the district court grants it a preliminary injunction against LinkedIn's block (273 F. Supp. 3d 1099) |
| September 9, 2019 | Ninth Circuit | Affirms the injunction (938 F.3d 985) |
| June 14, 2021 | Supreme Court, No. 19-1116 | Grants LinkedIn's petition, vacates the judgment and remands "for further consideration in light of Van Buren v. United States" (docket) |
| April 18, 2022 | Ninth Circuit | Affirms the injunction again (31 F.4th 1180) |
| November 2022 | N.D. Cal. | Finds hiQ breached LinkedIn's User Agreement, including through fake profiles |
| December 2022 | N.D. Cal. | The case ends in a consent judgment (docket) |
The holding, in the court's terms. The 2022 panel found that hiQ had raised "serious questions" about whether LinkedIn may invoke the CFAA, and that the balance of hardships "tipped sharply" in hiQ's favor, because hiQ would likely go out of business. It read Van Buren's "gates-up-or-down inquiry" this way: a computer hosting public web pages "has erected no gates to lift or lower in the first place", so the concept of "without authorization" does not apply to public websites. A cease-and-desist letter alone did not change that.
What hiQ did not decide:
- It was not a final ruling on the merits. The court said that at the preliminary injunction stage it "did not resolve the companies' legal dispute definitively".
- Contract claims survive. hiQ later lost on breach of the User Agreement.
- Logged-in or fake-account scraping is different. The same court held in Facebook v. Power Ventures that a company which kept accessing password-protected profiles after a cease-and-desist letter acted "without authorization".
- Copyright, trespass and misappropriation were raised by LinkedIn but not decided; the court addressed only the CFAA defense.
- Privacy law outside the US, such as the GDPR, was not part of the case.
The US anti-hacking law itself, and Van Buren (decided June 3, 2021), are covered in what data is legal to scrape.
LinkedIn keeps suing. LinkedIn sued a company that sold LinkedIn data through an API on October 2, 2025; the case ended in a judgment on consent on September 16, 2026 (docket, N.D. Cal. No. 5:25-cv-08393).
Europe. LinkedIn profiles are personal data. France's CNIL fined a company €240,000 whose browser extension collected the contact details of people whose profiles its customers visited on a professional social network, finding among other things no lawful basis (EDPB news).
For the technical side of LinkedIn data, see the LinkedIn scraper API.
Facebook, Instagram, X, Reddit and YouTube
Facebook and Instagram. Instagram's Terms of Use bar collecting information in an automated way without Meta's express permission; Meta offers the Graph API instead. In January 2024 a federal court in San Francisco ruled against Meta in its suit over a data company's scraping: Meta's terms governed account holders using its services, not scraping while logged out (order, N.D. Cal. No. 3:23-cv-00077).
X. X's Terms of Service ban crawling or scraping without prior written consent. X's 2023 suit against a data company over scraping was dismissed in May 2024; the court held that X's contract claims over public posts were preempted by copyright law, and the case closed with an end-of-case order on July 1, 2025 (docket, N.D. Cal. No. 3:23-cv-03698).
Reddit. On October 23, 2026, reddit.com/robots.txt disallowed the whole site for every user agent, with the note: "Reddit believes in an open internet, but not the misuse of public content." It points to Reddit's Public Content Policy and to support for research and non-commercial use. Reddit's User Agreement bans scraping without prior written consent; the Data API is the licensed route. Reddit sued Anthropic in 2025 and, in October 2025, Perplexity and three data companies over content collected from Google's results (news overview).
YouTube. YouTube's Terms of Service bar automated access except by public search engines following robots.txt or with YouTube's written permission; the YouTube Data API is the licensed route. Videos and transcripts are copyrighted.
Is It Legal to Scrape LinkedIn FAQ
Is scraping LinkedIn allowed?
ProxyField's acceptable use policy allows public pages only and follows each site's terms, and LinkedIn's User Agreement, effective November 3, 2025, forbids scripts, robots and crawlers that scrape or copy profiles and other data. So LinkedIn does not allow it. Scraping public profiles while logged out was held unlikely to break the US anti-hacking law in hiQ v. LinkedIn, but hiQ then lost on contract, and in Europe profiles are personal data under the GDPR.
Is it legal to scrape LinkedIn profiles, and what did the hiQ case decide?
Scraping public LinkedIn profiles is not automatically illegal in the US, but it breaks LinkedIn's terms. In hiQ v. LinkedIn the Ninth Circuit held on April 18, 2022, after a Supreme Court remand in light of Van Buren, that scraping profiles anyone can view without logging in is likely not access "without authorization" under the CFAA; that was a preliminary-injunction ruling. In November 2022 the district court found hiQ had breached the User Agreement, and the case closed with a consent judgment in December 2022.
Did the Supreme Court decide hiQ v. LinkedIn?
No. On June 14, 2021 it granted LinkedIn's petition (No. 19-1116), vacated the Ninth Circuit's 2019 judgment and sent the case back for reconsideration in light of Van Buren v. United States, without ruling on scraping itself. The Ninth Circuit then reached the same result on April 18, 2022.
What do LinkedIn's policies say about automation and scraping?
The User Agreement, effective November 3, 2025, bars software, scripts, robots, crawlers, browser plugins and add-ons that scrape or copy the Services, and bots or other unauthorized automated methods that access the Services or drive inauthentic engagement. LinkedIn's robots.txt adds that automated access without express permission is strictly prohibited.
How can you scrape LinkedIn data legally?
Through LinkedIn's own developer programs, with a data license, or with the people's permission, such as exporting your own connections. Scraping without them breaks the User Agreement whatever tool you use; in Europe you also need a lawful basis for any profile data.
Is it legal to scrape social media?
Collecting public posts while logged out is not a crime in the US after hiQ, but every major platform forbids it in its terms, and the data is about people, so the GDPR applies in Europe. Aggregate topics and counts carry far less risk than profiles, follower lists or contact details.
Is it legal to scrape Instagram?
Instagram's Terms of Use bar automated collection without Meta's express permission, so it is a contract risk; Meta lost its 2024 suit against a data company over logged-out scraping. Private profiles, logged-in scraping and collecting photos or contact details raise the risk, and the Graph API is the licensed route.
Is it legal to scrape Facebook?
Public Facebook pages can be read without logging in, and a federal court held in 2024 that Meta's terms did not reach logged-out scraping. Most Facebook data sits behind a login, though, where the terms bind you, and it is personal data in Europe.
Is it legal to scrape Twitter (X)?
X's Terms of Service ban crawling or scraping without prior written consent, so it breaks X's terms. In court, X's 2023 suit against a data company was dismissed in May 2024, with its contract claims over public posts held preempted by copyright law; the X API is the licensed route.
Is it legal to scrape Reddit?
Reddit forbids scraping without prior written consent, and its robots.txt disallows the whole site for every bot. Reddit sues: it brought cases against Anthropic and against Perplexity and three data companies in 2025. The Data API is the licensed route, and Reddit says it supports research and non-commercial use.
Show 2 more questionsShow fewer questions
Does Reddit allow web scraping?
No. Its User Agreement allows crawling only under robots.txt and bans scraping without prior written consent, and on October 23, 2026, its robots.txt disallowed all paths for all user agents.
Is it legal to scrape YouTube?
YouTube's Terms of Service bar automated access except by public search engines following robots.txt or with written permission, so scraping breaks the terms. Video metadata such as titles and view counts is low copyright risk; downloading videos or transcripts copies protected works. The YouTube Data API is the licensed route.
Sources
- LinkedIn User Agreement (effective November 3, 2025)
- linkedin.com/robots.txt
- hiQ Labs v. LinkedIn, 9th Cir. No. 17-16783, April 18, 2022, 31 F.4th 1180
- LinkedIn v. hiQ Labs, Supreme Court No. 19-1116, docket (order of June 14, 2021)
- hiQ Labs v. LinkedIn, N.D. Cal. No. 3:17-cv-03301, docket
- LinkedIn v. a data provider, N.D. Cal. No. 5:25-cv-08393, docket
- EDPB news, CNIL fine in a data-scraping case
- Instagram Terms of Use
- Meta Graph API
- N.D. Cal. No. 3:23-cv-00077, order of January 23, 2024
- X Terms of Service
- X v. a data company, N.D. Cal. No. 3:23-cv-03698, docket
- reddit.com/robots.txt
- Reddit User Agreement
- Reddit Data API
- YouTube Terms of Service
- YouTube Data API
- GDPR, Regulation (EU) 2016/679
- ICO and others, joint statement on data scraping (August 2023)
This is not legal advice. Laws, court decisions and platforms' terms change, and the primary sources linked on this page are the authority.
Related pages
Easy Trial: 1 GB for $2.95.
Try for the price of 1 GB, no subscription, traffic never expires.