Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Web scraping for lead generation

Web scraping for lead generation builds prospect lists from public directories, maps, marketplaces and member lists that match your ideal customer profile. Zenrows crawls directory categories, fetches every profile page through protected access, and returns structured fields to filter, deduplicate and load into your CRM or outbound tool.

Updated

Sample output: prospects from one directory
{
  "source": "https://www.example-directory.com/agencies/ecommerce-development/germany",
  "collected_at": "2026-10-17",
  "results_on_page": 3,
  "prospects": [
    {
      "company": "Northwind Commerce GmbH",
      "website": "https://northwind-commerce.example",
      "city": "Berlin",
      "country": "DE",
      "employees_band": "50-249",
      "min_project_size": "10,000+",
      "services": ["Shopify development", "Ecommerce strategy"],
      "rating": 4.9,
      "review_count": 31,
      "profile_url": "https://www.example-directory.com/profile/northwind-commerce"
    },
    {
      "company": "Blue Harbor Digital",
      "website": "https://blueharbor.example",
      "city": "Hamburg",
      "country": "DE",
      "employees_band": "10-49",
      "min_project_size": "5,000+",
      "services": ["Magento development"],
      "rating": 4.7,
      "review_count": 12,
      "profile_url": "https://www.example-directory.com/profile/blue-harbor-digital"
    }
  ]
}
Illustrative rows from a B2B agency directory; each keeps its profile URL to re-check or enrich later.

Where lead generation scraping finds prospects

Start from a page that already groups your targets: a directory category, map search or exhibitor list.

Read every result, keep ICP fits, capture enough to route them.

JobData you collectTypical sources
Agency and service-provider lists Company, website, services, team size, minimum project, location Clutch, DesignRush, GoodFirms, vendor partner directories
Local business prospecting Name, category, address, phone, website, rating Google Maps, Yelp, Yellow Pages, BBB
Software buyer lists Products per category, vendor, review count G2 and Capterra categories, app marketplaces
Event and association lists Exhibitors, sponsors, members, categories Trade show exhibitor pages, association member directories
Hiring-intent lists Companies hiring for roles your product serves Indeed, careers pages, Greenhouse and Lever boards
Supplier and manufacturer lists Company, product lines, country, certifications IndiaMART, Thomasnet, Europages, chamber of commerce directories

Why lead scraping stalls

Directories earn from listings, so many rate-limit, paginate hard or protect results.

Lists go stale fast, and one company in five directories means duplicates.

What it looks like

A challenge page after a few dozen requests

How Zenrows handles it

Zenrows' stealth gets through DataDome, Cloudflare and similar

How to scrape leads with Zenrows

  1. Pick the list pages already filtered by industry, region or size.
  2. Collect every profile URL: Crawl the category with a profile URL pattern; pagination is followed for you.
  3. Read the fields with CSS selectors on a results page, or send profiles to Batch and let Extract return JSON.
  4. Filter and deduplicate: drop non-ICP rows, merge on website domain.
  5. Hand off to enrichment: domains go to lead enrichment, then your CRM or sequencer.
curl -X POST "https://api.zenrows.com/v1/crawls" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "DIRECTORY_CATEGORY_URL",
    "max_items": 2000,
    "include_patterns": ["/profile/"],
    "exclude_patterns": ["/reviews/", "/compare/"]
  }'
# Returns a crawl_id. Read the profile URLs with:
# GET https://api.zenrows.com/v1/crawls/{crawl_id}

What success looks like

MeasureWhat good looks likeHow to check it
Category coverage Every company the category shows Your count against the page's result count
ICP match rate Most rows fit size, industry and region before review Score 50 sampled rows per run
Duplicate rate One row per company across sources Rows per normalized domain
Website presence Nearly every row has a working domain Rows whose domain returns a page
Time to a new list New vertical or region to CRM in a day First crawl to import time

Web scraping for lead generation FAQ

  • Collecting public business listings (names, categories, addresses, websites) is common practice. Mind site terms and personal data: individuals' names, personal emails and direct phones fall under GDPR and CCPA, outreach under e-marketing rules in many countries. Ask your legal team before collecting data about people.

  • A tool or script that turns businesses on directory, map or marketplace pages into rows: company, website, location, category. Some are point-and-click apps for one site; Zenrows is a lead scraper API: you pick sources and fields, it returns pages from protected sites. See our lead scraper roundup.

  • The one that already filters by your customer: Clutch and DesignRush for agencies, Google Maps, Yelp and BBB for local services, G2 and Capterra for software vendors, IndiaMART or Thomasnet for manufacturers. Exhibitor lists and association directories are often the most targeted in a niche.

  • Yes. A category and city search returns name, address, phone, website, rating and review count. Render it in a full browser and scroll with page actions, or open each place page. See local business data.

  • Companies move, rebrand, close and resize, so lists decay monthly. Re-crawl before each campaign, or monthly for active lists, and diff by domain: new domains are fresh leads, missing ones candidates to suppress. Keep a last-seen date per row.

  • Key on the website domain: lowercase it, strip www. and paths, merge rows that share it and keep each source URL. Without a website, match name plus city and confirm by hand.

  • Company pages often list info@ or sales@, and Fetch's emails output filter returns the addresses a page shows. Personal work emails are personal data: check GDPR, CCPA and local e-marketing rules with your legal team first.

Turn the live web into usable data.