Data and retrieval

Web scraping

Web scraping is the automated collection of data from websites, where a program loads pages, reads their content and saves the fields it needs, such as prices, listings or contact details, into a structured dataset.

When the data a business needs is on public web pages rather than behind an API, web scraping is how it gets collected at scale. Typical uses include competitor price monitoring, building lead lists from directories, tracking product reviews and collecting listings for property or job aggregators. Adding AI to a scraper mostly helps with the reading step: a language model can pull clean fields out of messy, inconsistent pages that would break a fixed parser.

How it works

A scraper has three parts. A crawler decides which URLs to visit, following links or working from a list. A fetcher downloads each page; simple sites return their content in plain HTML, while sites built with heavy JavaScript need a real browser driven by tools such as Playwright or Puppeteer (browser automation). A parser then reads the page and pulls out the fields, either with selectors that target specific HTML elements or with a model doing data extraction.

Around that core sits the operational work that decides whether a scraper survives: rate limiting so the target site is not overloaded, retries for failed pages, proxy rotation where sites block repeated requests, deduplication, and a scheduled job to rerun the collection daily or weekly. The output usually lands in a spreadsheet, database or data pipeline.

What it means for cost

Scraping quotes vary widely because the hard part is the target sites, not the code. Points to clarify before asking for a price:

  • How many sites, and how different they are. One well-structured site is quick; fifty sites with different layouts each need their own handling, or an AI extraction layer.
  • Anti-bot measures. Logins, CAPTCHAs and aggressive blocking add proxies, browser automation and ongoing running costs.
  • Freshness. A one-off export is a small job; a feed that must stay current needs monitoring and maintenance.

Scrapers break when target sites change their layout, so budget for maintenance from the start and ask the builder how breakage will be detected. Live figures are on the web scraping cost page.

Whether scraping a given site is allowed depends on the site's terms, the jurisdiction and the kind of data. Collecting personal data brings data protection law into play even when the pages are public. This is not legal advice; a buyer planning to scrape personal or copyrighted material should get proper advice first.

Common questions

Scraping publicly available, non-personal data is common practice, but legality varies by country, by the site's terms of use and by what is done with the data. Personal data and content behind a login carry more risk. Check before building, not after.

Why do scrapers need so much maintenance?

Websites change their layout, page structure and blocking rules without notice, and a scraper that relied on the old structure silently stops returning data. Monitoring for empty or malformed results is the only reliable way to catch this quickly.

Related terms

Pricing a build that involves Web scraping? Send the brief and get a fixed price set next to the market range.Get a quote