Web scraping and legality: what data can be collected?

The permissibility of web scraping is determined based on the data collected, the conditions of the source and the purpose of use. Public access alone does not confer the right to collect or use the material. Before implementation, personal data, copyrights, database protection and the terms of use of the service are checked.

Is web scraping legal?

Web scraping is a method of data collection, the permissibility of which depends on the implementation. Before collection, at least the following matters must be clarified:

  • Collection of personal data (GDPR)
  • Copyright protected content
  • Database protection (EU sui generis law)
  • Contractual Violations (Terms of Use)
  • Service Harassment (DoS)

When does GDPR apply to data collection?

GDPR applies to all personal data – Also publicly available.

What is personal data?

  • Names
  • E-mail addresses
  • Telephone numbers
  • IP Addresses
  • Images of which a person can be identified
  • LinkedIn profiles, social media accounts

When can personal data be collected?

You need a legal basis:

  • Consent: The person has given permission
  • Legitimate interest: You have a legitimate need that does not exceed the rights of a person
  • Agreement: Processing is necessary for the performance of the contract

Information about the company may also be personal data if it relates to an identifiable person. Legitimate interest is not automatic permission to collect: evaluate the need, necessity and impact on the person. See Data Protection Ombudsman's instruction on legitimate interest.

How do copyrights affect collection?

The content may be copyrighted:

  • Texts: Articles, News, Blogs
  • Images: Photos, graphics
  • Videos: Streaming services

A single fact as such is not a work protected by copyright. However, it does not solve the permissibility of data collection: database protection, personal data and terms of use are assessed separately.

Copying and publishing a protected text, image or video requires a legal basis, such as permission or an exception to applicable law.

Can database protection limit public data collection?

In the EU, databases can be protected if they have required a significant investment to assemble them.

  • Protected: Copying an entire database or an essential part
  • Repeated and systematic collection of small parts can also violate the protection. See Article 7 of the Database Directive.

Can the Terms of Use be ignored without logging in?

The importance of the terms of use must be assessed separately. It cannot be inferred from the absence of a login that the conditions do not apply:

  • Check the terms of service, licenses, and possible interface usage agreement.
  • Find out how the contract is formed and what the planned use requires.

European Court of Justice Ryanair solution C-30/14 shows that contractual terms may also be relevant when a database does not receive protection under the Directive. Unclear access will be cleared before implementation.

Does robots.txt give permission to use the material?

Robots.txt controls automatic client programs. RFC 9309 specifies that the protocol is not an access authorization. Thus, the rule that allows a file does not resolve data permissions.

  • In addition to the collection instructions, check the terms, licenses and rights related to the material.
  • Please respect the collection restrictions stated by the service.
  • If access is denied, find out the permitted way to obtain the material.

See robots.txt guide.

Good practices

  • ☐ Ensure the right to collect and use selected material
  • ☐ Avoid Personal Information or Verify Legal Basis
  • ☐ Use login or interface only according to agreed permission
  • ☐ Follow robots.txt
  • ☐ Limit the speed of requests (do not load the server)
  • ☐ Do not copy and publish protected content
  • ☐ Document what you collect and why

Which of the different materials should be checked?

Situation Estimate
Public prices of competitors Check the terms of use, database protection and any personal data
Business contact information from the Business Register Check the terms of use, database protection and any personal data
LinkedIn profiles for sales purposes ⚠ Risky (GDPR + Terms of Use)
Copying and publishing news articles Find out the permission or applicable law exception before copying and publishing
The data behind the login Ensure explicit access and terms of contract
Product specifications from the manufacturer's page Check the terms of use, database protection and any personal data

Frequently asked questions

Can Scraping Go to Court?

Yes. Unauthorized collection or use may result in demands and penalties. The small size of the company does not remove the obligations. In an unclear project, a legal assessment should be made before the collection.

What if the site blocks?

Interrupt the collection and find out the cause, as well as the permitted mode of use. The alternative may be the service provider's interface, material license or separately agreed data transfer.

Do I have to ask permission?

The need for a permit depends on the material, rights, terms and purpose of use. Public access alone will not solve the issue. Find out the license or ask the service provider if the license is unclear.

Read also

Do you need help collecting data?

Provide the necessary information, sources and purpose of use. We evaluate the implementation method and the access rights to be determined before starting work.

Ask more

What would you like to improve in your business?

Learn about the content of the related service and Tell us about your business need.