LeadGrid | B2B Lead Generator With Google Maps, WhatsApp and Email Finder (Python Flask)

Bluehost Shared Hosting

LeadGrid — Self-Hosted B2B Lead Generator (Python Flask)

LeadGrid is a self-hosted web application that helps you build a list of local businesses for B2B prospecting. Choose a category, a region, a country and a city: LeadGrid queries the data source you configure with your own API key, normalises phone numbers to international / WhatsApp format, optionally looks for the public email on each business website, stores the results in a local SQLite database and lets you export them to CSV / Excel.

⚠️ Responsible use — please read before buying

  • LeadGrid never sends messages by itself. It has no bulk, automatic or scheduled sending feature, and it does not use any unofficial WhatsApp API.
  • The Open in WhatsApp and Open email draft buttons only open WhatsApp or your own email application with an editable draft. You review each message and decide to send it yourself, one at a time.
  • LeadGrid collects business contact details (phone, WhatsApp number, email). You are responsible for lawful use: B2B prospecting is regulated (GDPR and ePrivacy in the EU, UK GDPR and PECR, CAN-SPAM in the USA, CASL in Canada, law 09-08 in Morocco, etc.). Contact only relevant businesses, identify yourself and honour opt-out requests immediately.
  • This notice is built into the application: the installer requires the administrator to acknowledge it, a reminder is shown on the home and results pages, and a full Responsible use & compliance page is linked in the footer of every page. It is also section 15 of the documentation.

Data sources — what to expect

  • Results come from third-party providers and depend entirely on them and on your own account: coverage, accuracy and availability are not guaranteed by LeadGrid, and LeadGrid is not affiliated with these providers.
  • Google Maps listings through Serper, SerpApi or the official Google Places API — each requires your own account and API key; usage is billed by the provider according to its own terms. A Save and test button checks your key from the Settings page.
  • OpenStreetMap (free, no key) uses public community servers (Overpass) that can be slow or temporarily unavailable (e.g. HTTP 504); it is a fallback, with fewer phone numbers.
  • Demo mode (fictitious data, no key) lets you try the whole interface immediately after installation.
  • Emails are not provided by Google Maps; the optional email finder only reads the public email shown on a business’s own website, when there is one.

Features

  • 4-step search: category → region → country → city (7 regions, 247 countries, 156,000+ cities from GeoNames) with an instant accent-insensitive city filter
  • Phone numbers converted to international / wa.me format, duplicates removed
  • Local SQLite cache: a repeated search is served from the database instead of calling the provider again (7 days by default)
  • Editable draft message with {name} / {city} variables, opened in WhatsApp or your email application
  • CSV (Excel-friendly) and XLSX export with formula-injection protection
  • Instant filters: text, WhatsApp only, email only
  • Administrator login, first-run installer, password change, brute-force lock
  • Security: CSRF protection on every form, secure cookies, security headers, SSRF guard on the email finder
  • English and French interface, light / dark theme, responsive design
  • All front-end assets bundled locally and human-readable (Tailwind CSS sources and icon build script included, rebuild with npm)
  • Start scripts for Windows, macOS and Linux; deployment examples for Gunicorn, Waitress, cPanel (Passenger), Docker, Nginx, Apache and IIS
  • Automated tests included, detailed English and French documentation

Requirements

  • Python 3.10 or newer (3.12 recommended)
  • An API key from Serper, SerpApi or Google Places for Google Maps listings (optional: OpenStreetMap and Demo work without a key)
  • Node.js only if you want to rebuild the CSS / icons after customising the templates

Credits

Cities: GeoNames (CC BY 4.0) · OpenStreetMap data © OpenStreetMap contributors (ODbL) · Icons: Lucide (ISC) · Fonts: Inter, Instrument Serif, JetBrains Mono (SIL OFL 1.1). Screenshots show the built-in Demo source: all businesses, numbers and emails in them are fictitious.

0 average based on 0 ratings.

elecspot1

elecspot1

Visit Author's Portfolio

View Portfolio
Last Update 2026-11-19
Created 2026-11-19
Sales 0
Discussion Comments
Application Runtime Native
High Resolution
Compatible OS Versions Windows 11 Windows 10 macOS 15 macOS 14 macOS 13 macOS 12
Video Preview Resolution