Domain II /

When is web scraping unlawful?

By the endDecide whether a scraping practice is access without authorization or exceeds authorized access under the CFAA, and whether a civil claim is available.

The CFAA offence that scraping cases turn on

The Computer Fraud and Abuse Act (CFAA), 18 U.S.C. 1030, makes it an offence to intentionally access a computer without authorization or exceed authorized access, and thereby obtain information from any protected computer. A protected computer includes one used in or affecting interstate or foreign commerce or communication. To "exceed authorized access" means to access a computer with authorization and use that access to obtain or alter information in the computer that the accesser is not entitled so to obtain or alter. In hiQ v. LinkedIn the pivotal CFAA question was whether scraping after a cease-and-desist letter was "without authorization".

Who can sue

Section 1030(g) lets any person who suffers damage or loss from a violation bring a civil action for compensatory damages and injunctive or other equitable relief. The conduct must involve one of the factors in section 1030(c)(4)(A)(i)(I)-(V). One factor is loss to 1 or more persons during any 1-year period aggregating at least $5,000 in value, and a claim resting only on that factor is limited to economic damages. Damage means impairment to the integrity or availability of data, a program, a system or information. Loss means reasonable costs such as responding to an offence, assessing damage and restoring data, plus revenue lost or other consequential damages from an interruption of service. The action must begin within 2 years of the act or of discovering the damage.

Van Buren: gates up or down

Nathan Van Buren, a police sergeant, ran a license-plate search in a law enforcement database in exchange for money, against a department policy that allowed searches only for law enforcement purposes. In Van Buren v. United States (2021) the Supreme Court held that a person "exceeds authorized access" when he accesses a computer with authorization but then obtains information located in particular areas of the computer, such as files, folders or databases, that are off limits to him. Van Buren could use the system to retrieve license-plate information, so he did not exceed authorized access, even though his purpose was improper. The Court adopted Van Buren's reading, under which liability under both clauses stems from a gates-up-or-down inquiry: one either can or cannot access a computer system, and one either can or cannot access certain areas within it. It said the civil terms "damage" and "loss" focus on technological harms to computer data or systems. In footnote 8 it left open whether the inquiry turns only on technological, or "code-based", limits on access, or also on limits in contracts or policies.

hiQ v. LinkedIn: public pages have no gate

hiQ, a data analytics company, scraped profiles that LinkedIn users had made public and that anyone with a web browser could view. In May 2017 LinkedIn sent hiQ a cease-and-desist letter and said it had technical measures to block scraping, and hiQ sued and won a preliminary injunction. The Ninth Circuit affirmed in 2019; the Supreme Court vacated that judgment and remanded in light of Van Buren, and on 18 April 2022 the Ninth Circuit affirmed again. It reasoned that a computer hosting publicly available webpages "has erected no gates to lift or lower in the first place." In its view, access "without authorization" occurs when a person circumvents a computer's generally applicable rules on access permissions, such as username and password requirements, and accessing publicly available data likely is not access without authorization. It distinguished Facebook v. Power Ventures, where the data sat behind Facebook's username and password system. Areas of a public website that require authorization stay protected.

Back in the district court: the User Agreement decides

After the remand, the district court ruled on the parties' contract and tort claims. On 1 August 2022 the district court dissolved the preliminary injunction because hiQ no longer had an ongoing business. In a summary judgment order dated 27 October 2022 and filed on 4 November 2022, it held that LinkedIn's User Agreement unambiguously prohibited hiQ's scraping and unauthorised use of the scraped data, and that hiQ breached the agreement both through that scraping and through independent contractors known as "turkers", who created false identities on LinkedIn on hiQ's instructions. It granted LinkedIn summary judgment on the turkers' conduct but left hiQ's waiver and estoppel defences to the scraping claim for a jury. It also granted LinkedIn summary judgment on hiQ's tortious interference and unfair competition claims under California's litigation privilege, and refused hiQ's request to hold LinkedIn's CFAA claim time-barred. On 8 December 2022 the court entered a Consent Judgment and Permanent Injunction: a $500,000 judgment against hiQ, and a permanent bar on accessing or using the LinkedIn platform in violation of its User Agreement, including by automated means to access or copy data, whether logged in or not, without LinkedIn's express written permission, and by creating or using accounts with fake identities. hiQ also had to delete its code for accessing LinkedIn or using its data, and the LinkedIn member profile data it held.

Inside or outside the gate

Apply Van Buren and hiQ by asking whether the scraper passed an access barrier, not why it wanted the data.

Likely outside the CFAA

  • Collecting profiles anyone with a web browser can view
  • An employee using data his access covers for an improper purpose
  • Scraping public pages after a cease-and-desist letter, on hiQ's preliminary view

Within the CFAA

  • Using someone else's username and password to reach data the scraper was never given, or has lost, authorization to access
  • Reaching files, folders or databases that are off limits to the user
  • Entering password-protected areas of an otherwise public website without authorization

Worked example

A price-comparison scraper

A price-comparison start-up runs a bot that copies product prices from a retailer's public pages, which anyone can view without logging in. It also uses a customer's leaked password to collect members-only prices from the retailer's account area; the retailer has never given the start-up an account or any other permission to enter that area. The retailer spends $7,500 over six months responding to the intrusion and restoring its systems.

  1. 1

    Public price pages

    Under hiQ, a computer hosting publicly available webpages erects no gates, so copying the public prices is likely not access without authorization.

  2. 2

    Members-only prices

    Using another person's password to enter an area the start-up was never authorised to enter circumvents a generally applicable access rule, which hiQ treats as access without authorization; that area of the site stays protected.

  3. 3

    Can the retailer sue?

    A civil action needs a factor such as loss of at least $5,000 in a 1-year period. Costs of $7,500 for responding and restoring are loss, so the retailer may sue, limited to economic damages if it relies on that factor alone, within 2 years.

Result: The CFAA claim reaches the password-protected scraping, not the public pages. For the public pages the retailer could look to other claims, such as breach of contract or trespass to chattels, which hiQ said may be available.

Try it

Scraping after a cease-and-desist letter

A research firm scrapes job postings that anyone can view on a company's site without logging in. The company sends a cease-and-desist letter and adds rate limits, and the firm keeps scraping at the same pace without logging in. Does the CFAA reach the firm?

Hint: Ask whether the firm passed any access barrier, and what hiQ actually decided.

02 / Questions

Answer 6 questions

Check 1 of 6recall · easy

In Van Buren v. United States (2021), when did the Supreme Court say a person "exceeds authorized access" under the Computer Fraud and Abuse Act (CFAA)?

Check 2 of 6scenario · medium

A bank analyst allowed to search the customer database for her work looks up a neighbour's account out of curiosity, against bank policy. Under Van Buren v. United States, has she "exceeded authorized access" under the Computer Fraud and Abuse Act (CFAA)?

Check 3 of 6scenario · medium

A start-up scrapes profiles from a professional network that anyone can view without logging in. The network sends a cease-and-desist letter, and the scraping continues. In hiQ Labs v. LinkedIn (2022), what did the Ninth Circuit conclude about the Computer Fraud and Abuse Act (CFAA)?

Check 4 of 6recall · medium

What did the Ninth Circuit's April 2022 decision in hiQ Labs v. LinkedIn actually do?

Check 5 of 6scenario · hard

A bot logs into a retailer's site with a stolen customer password and copies data. Responding and restoring systems costs the retailer $3,200 over one year, with no other harm. Can the retailer bring a civil action under the Computer Fraud and Abuse Act (CFAA)?

Check 6 of 6recall · easy

According to the Ninth Circuit in hiQ Labs v. LinkedIn (2022), what conduct shows access "without authorization" under the Computer Fraud and Abuse Act (CFAA)?

03 / Recall

Answer without looking back

What did Van Buren hold about exceeding authorized access, what did hiQ say about scraping public pages, and what does a CFAA civil claim need?

Primary reading

Read the relevant section

Computer Fraud and Abuse Act, 18 U.S.C. 1030, 2024 edition · 18 U.S.C. 1030(a)(2) ↗
Sources used in this lesson
  1. Computer Fraud and Abuse Act, 18 U.S.C. 1030, 2024 edition, 18 U.S.C. 1030(c)(4)(A)(i)(II)-(V) ↗Office of the Law Revision Counsel, U.S. House of Representatives (published by GPO on govinfo)
  2. Van Buren v. United States, 593 U.S. 374 (2021), 593 U.S. 374, at 396 ↗Supreme Court of the United States
  3. hiQ Labs, Inc. v. LinkedIn Corp., 31 F.4th 1180 (9th Cir. 2022), opinion on remand, No. 17-16783, slip op. at 13 ↗U.S. Court of Appeals for the Ninth Circuit
  4. hiQ Labs, Inc. v. LinkedIn Corp., No. 17-cv-03301-EMC (N.D. Cal.), order on cross-motions for summary judgment and sanctions (ECF 404, dated Oct. 27, 2022, filed Nov. 4, 2022), No. 17-cv-03301-EMC, ECF 404, at 41 (order filed under seal; Dated: October 27, 2022) ↗U.S. District Court for the Northern District of California (RECAP copy via CourtListener)
  5. hiQ Labs, Inc. v. LinkedIn Corp., No. 17-cv-03301-EMC (N.D. Cal.), Consent Judgment and Permanent Injunction (ECF 406, Dec. 8, 2022), No. 17-cv-03301-EMC, ECF 406, at 4 ↗U.S. District Court for the Northern District of California (RECAP copy via CourtListener)
Glossary terms used in this lesson
CFAAComputer Fraud and Abuse Act
The federal law at 18 U.S.C. 1030 that makes it an offence, among other things, to intentionally access a computer without authorization or to exceed authorized access and obtain listed information.
exceeds authorized access
Under the CFAA as read in Van Buren, accessing a computer with authorization and then obtaining information in areas of it, such as files, folders, or databases, that are off limits to that person.