Is web scraping ethical? It is when you collect only public data you actually need, follow the site's stated rules, keep your load on the server light, protect any personal data you touch and stay reachable if the owner objects. By the end of this article you will have a nine-point ethical web scraping checklist you can run before and during every project, with a concrete check for each point and the mistake that usually breaks it. Responsible data scraping is mostly a matter of doing these nine things every time, not once.
The checklist applies whether you build the scraper yourself or hand the collection to a service such as ScrapingIsNotACrime: the decisions about what to collect and why stay with you.
1. Look for an official API or data export first
If the site offers the data through an API, a feed, a bulk download or an export, that route is usually more stable, comes with clear usage terms and puts no scraping load on the pages.
Check: search the site's footer, developer pages and help center for "API", "developers", "data", "feeds" or "download", and write down what you found, even if the answer is "nothing".
An official route can still come with limits, such as a request quota or fields that are left out. Compare what it offers with what your question needs before deciding that scraping is necessary, and note the gap you are filling.
Mistake that breaks it: assuming there is no API because it is not linked from the home page. Many are listed only under developer or partner sections.
2. Confirm the data is genuinely public
Public data is what any visitor can see without logging in, paying or getting past a technical barrier. If reaching the data needs any of those, it is out of scope for an ethical scraper, full stop.
Check: open the target pages in a private browser window, logged out. If the fields you need are visible, they are public in this sense. If they appear only after login or payment, drop them from the plan.
Mistake that breaks it: testing while logged in to your own account and only discovering later that the scraper depends on a session.
3. Read robots.txt and follow it
The robots.txt file is where the site owner tells automated visitors which paths they may fetch and, sometimes, how often. Following it is the baseline of ethical web scraping.
Check: open the file at the root of the domain, find the group that applies to your user agent or to all agents, and confirm that every path in your plan is allowed. The step-by-step version is in how to read a robots.txt file and apply its rules before you scrape a website.
Mistake that breaks it: reading the file once at the start of a long project. Rules change, so re-read it on a schedule and before each new run.
4. Read the terms of service
Terms often say whether automated access is allowed, what the content may be used for and whether commercial reuse needs permission. They are also where a site may point to an official data route.
Check: search the terms for words such as "automated", "scrape", "crawl", "robot", "commercial" and "license", and record the relevant clauses with the date you read them. When a clause is unclear or seems to forbid what you plan, that is the moment to ask a lawyer rather than guess.
Mistake that breaks it: reading the terms of the main site and missing a separate set that covers the specific section or service you are collecting from.
5. Collect only the fields you need
Every field you store is a field you have to protect, explain and eventually delete. Data minimization matters most for personal data, such as names, usernames, photos or contact details, which privacy laws like the GDPR protect even when it is visible on a public page.
Check: write down the question the dataset must answer, then list each field next to the part of that question it serves. Any field without a reason is removed from the extractor, not just ignored later.
A hypothetical example: a team tracking restaurant openings needs the business name, address, category and opening date. The review pages it collects from also show reviewer names and profile photos. Those fields serve no part of the question, so the extractor never reads them, and the dataset contains no reviewer data to protect.
Mistake that breaks it: saving the full page "just in case". Raw pages carry every personal detail on them, and that copy is the one most often forgotten.
6. Set a polite crawl rate and back off on errors
Your scraper should never be the reason a site slows down for its real visitors. That means a modest, steady request rate, a limit on parallel connections per site and an automatic slowdown when the server signals trouble.
Check: run a short test and confirm three things in your logs: the time between requests to the same domain matches what you configured, responses with status 429 or 503 cause the scraper to wait longer before trying again, and a crawl-delay in robots.txt, if present, is respected. The concepts are explained in rate limiting in web scraping: server limits, crawl rates and backoff.
Mistake that breaks it: retrying failed requests immediately and in a loop, which multiplies the load exactly when the server is struggling.
7. Identify your scraper honestly
An honest user agent string with a product name and a way to reach you lets a site owner understand who is visiting and contact you instead of simply blocking you.
Check: look at a request in your logs and confirm that the user agent names your project and includes a contact address or a link to a page that explains the bot. Then make sure someone actually reads that inbox.
Mistake that breaks it: copying a browser's user agent to blend in. It hides who is responsible, and it is the opposite of what an ethical scraper does.
8. Store, secure and delete the data on a schedule
Responsible data scraping does not end at collection. The dataset needs access controls, a stated purpose and a retention period after which it is deleted or reduced.
Check: for each dataset, record who can access it, where copies live (including exports and backups) and the date it will be reviewed for deletion. Suppose a hypothetical team keeps price data for two years but contact names for only the duration of a campaign: both rules should be written down and tied to an automatic job or a calendar reminder.
Mistake that breaks it: deleting the main table and forgetting the CSV exports sitting in shared folders.
9. Stay reachable and respond when an owner objects
Even a careful scraper will sometimes receive an email, a block or a formal request to stop. How you respond is part of the ethics of web scraping.
Check: have a short written procedure: pause collection from that site, acknowledge the message, review your records of robots.txt, terms and request rates, and get legal advice before deciding whether and how to continue. Keep a log of the decisions you made at each point of this checklist, so the review takes hours instead of weeks.
Mistake that breaks it: switching IP addresses or changing the user agent to keep going after a block. That turns a disagreement into evasion, and no ethical project does it. For the legal assumptions people most often get wrong at this stage, see six myths about whether web scraping is legal.