US & Canada Local Business & License Scraper (OSM/FDIC) avatar

US & Canada Local Business & License Scraper (OSM/FDIC)

Pricing

$4.00 / 1,000 normalized local business listings

Go to Apify Store
US & Canada Local Business & License Scraper (OSM/FDIC)

US & Canada Local Business & License Scraper (OSM/FDIC)

Multi-source US & Canada local B2B business scraper combining OpenStreetMap (Overpass + Photon), official licensing registries (TX TDLR, FDIC, provincial), and concurrent website contact enrichment (JSON-LD, Cloudflare email decoding, MX validation, E.164 phones) in 512 MB RAM.

Pricing

$4.00 / 1,000 normalized local business listings

Rating

0.0

(0)

Developer

Xavier Richard

Xavier Richard

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 hours ago

Last modified

Features

Limited permissions

Share

Local Business Directory & Licensing Harvester (US & Canada)

Discover, verify, deduplicate, and contact-enrich local B2B contractors and businesses across the United States and Canada by combining official government licensing registries, OpenStreetMap (Overpass + Komoot Photon instant fallback), industry directory pages, and concurrent website contact extraction — all inside a lean 512 MB RAM HTTP-first engine with zero external sub-actor dependencies.


Why Use Local Directory Harvester?

  • Zero-Key Free Sources First (512 MB RAM, 15–28s Runs): Runs natively over HTTP (got-scraping + cheerio) with no paid API key required out of the box. Free official sources run in parallel before optional paid APIs.
  • Resilient OpenStreetMap Discovery: Automatically falls back from public Overpass mirrors to Komoot Photon geocoding & POI search whenever Overpass returns 502/504, delivering street addresses, postal codes, and lat/lng coordinates reliably on cloud IPs.
  • Official US & Canadian Licensing Registries:
    • Texas TDLR (data.texas.gov Socrata Open Data — licensed electrical contractors with street address, ZIP, and telephone)
    • FDIC BankFind API (US bank branches & safe-deposit providers)
    • Canadian Provincial Contractor Directories (Nova Scotia / Atlantic & Ontario HVAC / oil tank / heat pump programs)
  • Concurrent Website Contact Enrichment: Crawls discovered company websites concurrently (concurrency=6) with JSON-LD @graph parsing, mailto: extraction, Cloudflare data-cfemail de-obfuscation, E.164 phone normalization, and DNS MX-verified B2B role emails (info@, contact@, sales@, service@).
  • Strict Spend Guard (maxUsd) & dryRun Planner: Tracks compute, proxy, and optional API spend continuously and stops cleanly at budget_exhausted before exceeding your cap.
  • Explainable Multi-Key Deduplication: Non-destructive merge across placeId → E.164 phone → root domain (excluding shared platforms) → normalized name + city.
  • Google Maps-Compatible Output Schema: Ready to import directly into CRMs, directory platforms, spreadsheets (CSV/XLSX), Clay, n8n, or Make.

Built-in Vertical Profiles & Custom JSON Support

Choose a pre-configured vertical profile or supply your own customProfile JSON for any local service niche:

Profile (profile)ScopeDefault SourcesTarget Businesses
critical-powerUS & CATX TDLR, OSM/Photon, Industry Directories, Website EnricherElectrical contractors, IR thermography (NFPA 70B), load bank testing, generator service, arc flash studies
safe-depositUSFDIC BankFind, OSM/Photon, Website EnricherPrivate vault facilities, bank branches & credit unions offering safe deposit boxes
oil-tankCAProvincial Programs, OSM/Photon, Website EnricherResidential oil tank removal/replacement, burner/furnace maintenance, heat pump installers
customUS / CA / ALLAny combination of free & optional BYOK sourcesSupply custom keywords, categories, and relevance scoring rules via customProfile

Input Example

{
"profile": "critical-power",
"sources": ["osm_overpass", "registry", "directory_pages", "website_enrichment"],
"locations": ["Houston, TX", "Austin, TX"],
"country": "US",
"maxPerQuery": 20,
"maxRecords": 60,
"maxUsd": 0.5,
"dryRun": false
}

Optional Paid API Extensions (BYOK)

Free discovery runs automatically without API keys. You can optionally enable:

  • google_places_api (bring your own Google Places API New key)
  • brightdata_collect_by_url (bring your own Bright Data Datasets token)

Output Dataset Schema

Every record is normalized into a flat Google Maps-compatible structure with full provenance and enrichment metadata in _meta:

{
"title": "LONE STAR ELECTRICAL SERVICES LLC",
"placeId": null,
"cid": null,
"url": "https://lonestarelectrical.example",
"categoryName": "Electrical Contractor",
"categories": ["Electrical Contractor"],
"address": "4820 WESTPARK DR, HOUSTON, TX 77027",
"street": "4820 WESTPARK DR",
"city": "HOUSTON",
"state": "TX",
"postalCode": "77027",
"countryCode": "US",
"phone": "(713) 555-0148",
"phoneUnformatted": "+17135550148",
"website": "https://lonestarelectrical.example",
"location": { "lat": 29.7265, "lng": -95.4618 },
"permanentlyClosed": false,
"searchString": "critical-power | Houston, TX",
"_meta": {
"sources": ["registry", "website_enrichment"],
"roleEmails": ["service@lonestarelectrical.example"],
"mxValid": true,
"relevanceScore": 85
}
}

Key-Value Store artifacts (OUTPUT, SUMMARY_CSV, and UNREADABLE_SITES) are automatically generated on each run.


Compliance & Polite Crawling

  • CAN-SPAM / CASL / PIPEDA B2B-first: Extracts published business role emails (info@, contact@, sales@, service@) with MX verification and excludes personal named emails by default (includePersonalEmails: false).
  • OpenStreetMap Attribution (ODbL): Data sourced via Overpass/Photon includes © OpenStreetMap contributors attribution metadata.
  • Respects robots.txt: Enforces per-domain rate limits and logs disallowed/blocked domains cleanly without anti-bot circumvention.

Pay-Per-Event Pricing

Billed transparently per normalized local business listing delivered to the default dataset (apify-default-dataset-item), with maxUsd runtime budget protection.


Local Development & Tests

npm install
npm test
npm run build