thebluebook.com Scraper avatar

thebluebook.com Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
thebluebook.com Scraper

thebluebook.com Scraper

Scrape verified contractor and subcontractor profiles from thebluebook.com — the largest US construction directory — into clean JSON, CSV or Excel. Get company names, phones, emails, addresses, trade categories, certifications (MBE/WBE/DBE), project history and key contacts.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

youssef farhan

youssef farhan

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

6

Monthly active users

2 days ago

Last modified

Share

Blue Book Scraper – Extract Contractor Leads, Emails & Project Data from thebluebook.com

Scrape verified contractor and subcontractor profiles from thebluebook.com — the largest US construction directory — into clean JSON, CSV or Excel. Get company names, phones, emails, addresses, trade categories, certifications (MBE/WBE/DBE), project history and key contacts. Pay $0.001 per profile.

What this actor does

This is a production-grade Blue Book scraper for thebluebook.com that turns construction directory pages into structured datasets. Paste a search URL (electricians in Texas, plumbers in California, GCs in Florida — any trade, any state) or a list of direct profile URLs, and the actor returns one clean record per company.

Built for B2B lead generation, construction market research, supplier prospecting, recruiter sourcing, and procurement compliance — anywhere you need verified contractor data at scale.

Output fields

Each scraped company returns:

Identity

  • name, company_id, profile_link, city_state, full_address, website, scrape_date

Contact data

  • phone — main office phone
  • email — best contact email discovered for the company (domain-matched emails ranked above generic inboxes)
  • contact_name, contact_role, contact_phone — primary key contact
  • contacts[] — all key contacts with name, role, direct phone

Business profile

  • trade[] — trade categories (Electrical, Plumbing, HVAC, Concrete, etc.)
  • service_area[] — counties / regions serviced
  • certifications[] — diversity certifications (MBE, WBE, DBE, SBE, VOSB, HUB)
  • established, company_size, annual_volume, listed_since

Project history

  • projects[] — past projects with name, type, location, status, date, general contractor

Sample output

{
"profile_link": "https://www.thebluebook.com/iProView/1424972",
"company_id": "1424972",
"name": "ABC Electrical Contractors",
"phone": "(713) 555-0100",
"email": "info@abcelectrical.com",
"website": "https://www.abcelectrical.com",
"city_state": "Houston, TX",
"full_address": "1234 Main St, Houston, TX 77002",
"trade": ["Electrical Contractors", "Lighting Contractors"],
"certifications": ["MBE", "DBE"],
"service_area": ["Harris County", "Fort Bend County", "Montgomery County"],
"established": "1998",
"company_size": "10-24 Employees",
"annual_volume": "$1M - $5M",
"listed_since": "2005",
"scrape_date": "2026-04-10",
"contact_name": "John Smith",
"contact_role": "Owners, Principals & Senior Executives",
"contact_phone": "(713) 555-0101",
"contacts": [
{ "name": "John Smith", "role": "Owners, Principals & Senior Executives", "phone": "(713) 555-0101" }
],
"projects": [
{
"project_name": "Downtown Office Tower",
"project_location": "Houston, TX",
"project_type": "Commercial",
"project_status": "Completed",
"project_date": "Mar 2023",
"gc_role": "General Contractor",
"gc_name": "Turner Construction"
}
]
}

Input

{
"startUrls": [
{ "url": "https://www.thebluebook.com/iSearch/results/tx/houston/electrical-contractors/sc/261/" },
{ "url": "https://www.thebluebook.com/iSearch/results/ca/los-angeles/general-contractors/sc/240/" }
],
"maxItems": 500
}

To scrape a single company, pass its profile URL directly:

{
"startUrls": [{ "url": "https://www.thebluebook.com/iProView/1424972" }]
}

Inputs accepted:

  • startUrls — any thebluebook.com search-result URL or direct /iProView/{id} profile URL
  • maxItems — optional cap on the number of profiles to return
  • disableEmailScrape — skip website email discovery for faster, cheaper runs

Common use cases

  • Construction material suppliers — build outreach lists targeted by trade and region
  • Sales & CRM teams — enrich leads with verified phone, email, address and project history
  • Staffing & recruiting agencies — source contractor companies filtered by headcount and revenue
  • Procurement & compliance — find MBE / WBE / DBE-certified contractors for diversity sourcing
  • Market research & proptech — benchmark contractor density and project volume by metro
  • Real estate developers — identify active subcontractors by region for upcoming builds

FAQ

What is thebluebook.com?

The Blue Book Network is the largest commercial construction directory in the United States, listing hundreds of thousands of contractors, subcontractors, suppliers and service providers by trade and region.

What does this Blue Book scraper extract?

Company name, phone, email, address, website, trade categories, service area, diversity certifications, year established, company size, annual revenue, key contacts and past projects — see the full field list above.

Is the data fresh?

Yes. Every run pulls live data directly from thebluebook.com — no stale cached datasets.

What output formats are supported?

JSON, CSV, Excel (XLSX), XML and JSONL. Download from the Apify Console or fetch via API.

Can I scrape a specific trade or region?

Yes. Build the relevant thebluebook.com search URL for your target trade and location, then pass it as a startUrl. The actor handles pagination automatically.

How are emails discovered?

The actor visits each company's own website and extracts emails from the page. Domain-matched addresses (e.g. sales@companysite.com) are returned before generic Gmail / Yahoo / Hotmail inboxes.

Does it handle pagination?

Yes — the actor automatically detects total page count and crawls every result page. You only need to provide the first search URL.

Can I run it on a schedule?

Yes. Use Apify's built-in scheduler for daily, weekly or monthly runs, or trigger via webhook / API on any external event.

What if a company has no website or no listed contacts?

The email, full_address and contacts fields will be empty. The core company record is always returned.

The actor collects publicly accessible business directory information. You are responsible for complying with applicable laws, terms of service and data-protection regulations (GDPR, CCPA) when using the data.

Use via API or MCP

Trigger this actor from the Apify API or as an MCP server for AI agents (Claude, ChatGPT, Cursor, Perplexity):

https://mcp.apify.com/actors/fayoussef/thebluebook-scraper

AI agents can launch runs, pass input and read structured output without any manual steps.

Need a custom scraper?

Need a different site, custom fields or a managed data pipeline? Visit automationbyexperts.com for tailored builds, retainers and data-as-a-service.