LeadMine

CLI to scrape and enrich targeted business leads from Google Search, Maps, Yelp and directories

$npm install -g lead-mine

Why LeadMine?

Freelancers, agencies and sales teams burn hours hunting prospects on Google and Maps. Commercial tools are pricey, opaque and rate-limited. LeadMine gives full control with a transparent, self-hosted CLI that pulls public data for any category and locale.

Features

Everything you need, nothing you don't.

🗺️

Maps Scraper

Pulls name, address, phone, rating and website from Google Maps results using Playwright

🔎

Search Leads

Extracts organic Google results and linked contact pages for broader web leads

📍

Yelp Support

Scrapes business listings from Yelp with fallback when Maps data is thin

📊

Smart Export

Writes clean CSV, JSON or XLSX with configurable columns and deduplication

🔧

Contact Enricher

Visits websites to discover email patterns, social links and missing phones

⏱️

Polite Crawling

Built-in rate limiting, random delays, user-agent rotation and stealth to reduce blocks

📋

Targeted Filters

Category, location, rating, review count and keyword filters for high-quality leads

🧪

Mockable Tests

Unit tests with recorded HTML fixtures so CI stays fast and reliable

See it in action

From install to result in seconds.

LeadMine terminal demo

Get started

Three steps. Full docs live in the README.

Install
npm install -g lead-mine
Run
lead-mine scrape --category="plumbers" --location="Portland, OR" --limit=30 --output=leads.csv
Test
npm test

Like it? Give it a ⭐

Stars help other developers discover LeadMine. Issues and PRs are very welcome.

Star on GitHub