Terms of Service is the legal agreement a website publishes governing how visitors may use it. Some websites' terms prohibit scraping. Violating a site's ToS can lead the site to refuse service, or to civil claims. In 2022, a U.S. court ruled that hiQ Labs had breached LinkedIn's User Agreement.

ToS enforceability against scrapers is unclear and can vary by jurisdiction, so large-scale scraping operations benefit from legal review of both the target site's ToS and applicable regional law.

A site's ToS is a contractual restriction, not a technical one, so violating it can carry legal exposure even when the scraping itself never breaks a rate limit or triggers detection, which is a separate risk from what GDPR governs around the data itself.