#legal

Scraping vs APIs — and where the legal line actually is

When to scrape, when to use an API, and how to stay on the right side of both the law and the site's terms.

"Just scrape it" is advice that ages badly. The honest answer depends on what you're pulling and who owns the page.

The mental model

  • Public, factual, low-volume (a company's listed email on its own contact page): reading it is generally fine, and an API that does the reading for you is the clean path.
  • Logged-in, personalized, or high-frequency: you're now inside someone's product. That's where terms of service and rate limits start to bite.
  • Personal data at scale: this is a compliance question, not a technical one. Know your jurisdiction (GDPR, CCPA) before you store anything.

Why we expose an API, not a scraper

A scraper you run locally is your liability and your maintenance burden — every site redesign breaks it. An API moves that fragility server-side: we absorb the HTML changes, the retries, the caching, and we return stable JSON. You own the use; we own the read.

Two rules we hold ourselves to, and put in our Acceptable Use Policy:

  1. Respect robots.txt and published rate limits.
  2. No bulk harvesting for spam. The tool is for reaching the right person, not for blasting the wrong thousands.

Used that way, contact discovery is just digital business cards. Used as a spam cannon, it's a problem for everyone — including you. Build for the first.

Written by Scrapeeg Engineering

We build enrichment infrastructure and write about what we learn: data quality, deliverability, compliance, and API design. Corrections and questions welcome via the contact page.

Put this into production

Get 250 free enrichment credits — no credit card required.

Get your API key

Related reading

← Back to all articles