# Alabama LBGC General Contractor License Scraper (`scrapers_lat/alabama-lbgc-contractors-scraper`) Actor

Export licensed Alabama general contractors with business name, license #, specialty, phone, street address, bid limit & expiration. JSON, CSV or Excel.

- **URL**: https://apify.com/scrapers\_lat/alabama-lbgc-contractors-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $17.00 / 1,000 contractor records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Alabama LBGC General Contractor License Scraper

> Bulk-search and export Alabama's Licensing Board for General Contractors (LBGC) registry — by specialty classification, city, business name, license number or phone — with clean, spreadsheet-ready records including phone and full street address.

**📥 [Input](https://apify.com/scrapers_lat/alabama-lbgc-contractors-scraper/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/alabama-lbgc-contractors-scraper/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/alabama-lbgc-contractors-scraper/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/alabama-lbgc-contractors-scraper/examples)**

### What you get

For every matching contractor you receive a flat, spreadsheet-ready record:

- **Business / company name** and **license number**
- **Specialty classification** (Building Construction, Subcontractor, Electrical, Highway/Railroad, Municipal Utility and many more) plus a short **specialty code**
- **Phone number** — populated for the vast majority of licensees
- **Full street address**, **city**, **state** and **ZIP**
- **Fax number**
- **Bid limit** (bond / bonding capacity, e.g. Unlimited)
- **License expiration date** and any **extension date**, plus a derived **license status** (Active / Expired)
- A capture timestamp

Run one job across many filters at once: pass a list of classifications, cities, business names, license numbers or phone numbers and the actor returns every match, de-duplicated by license number.

### Who is it for

- **Lead generation & sales teams** targeting licensed Alabama general contractors by trade and city — with phone included
- **KYB, compliance and due-diligence** teams verifying a contractor's license, specialty, bid limit and expiration
- **Suppliers, insurers and marketplaces** building or refreshing a vetted contractor directory
- **Researchers and analysts** studying the Alabama construction market

### How to use it

1. Add one or more filters: **Classifications / Specialties**, **Cities**, **Business Names**, **License Numbers** or **Phone Numbers** (leave them all empty to export the full roster).
2. Set **Max Contractors To Scrape**.
3. Keep **Fetch full details** on to capture street address, ZIP, fax, bid limit and expiration (turn it off for a faster name/license/phone-only list).
4. Run the actor and export to JSON, CSV or Excel, or pull the results via the Apify API.

### Good to know

- Only **real records are billed** — an empty or failed run costs you nothing.
- **Phone** ships with the base record; **street address, ZIP, fax, bid limit and expiration** come from each contractor's full detail record (fetched by default).
- Records are **de-duplicated by license number**.

### FAQ

**Which filters are supported?** By specialty classification, city, business name, license number, and phone number — combine any of them.

**Do I need an account or login?** No. Just provide your filters.

**Can I export a whole trade or city?** Yes — provide a classification (e.g. BC) and/or a list of cities and raise the max.

### Related actors

Explore more public-registry and contractor-license scrapers from **scrapers.lat** on our Apify profile.

***

*scrapers.lat is an independent provider and is not affiliated with, endorsed by, or sponsored by the Alabama Licensing Board for General Contractors. All data is sourced from publicly available records.*

# Actor input Schema

## `classifications` (type: `array`):

Filter by specialty classification code or text (e.g. BC, BC-S, Building Construction, Subcontractor, Electrical). Matches the specialty column; one filter per item (any match kept).

## `cities` (type: `array`):

Filter to Alabama cities (e.g. Birmingham, Montgomery, Huntsville, Mobile). One filter per item.

## `companyNames` (type: `array`):

Filter by business name. Partial names match. One filter per item.

## `licenseNumbers` (type: `array`):

Look up specific license numbers (exact match). One per item.

## `phoneNumbers` (type: `array`):

Filter by phone number (digits are matched, formatting ignored). One per item.

## `withDetails` (type: `boolean`):

When ON (default), each contractor is enriched from its detail page with street address, ZIP, fax, bid limit (bond) and expiration date. Turn OFF to pay for the listing-only fields (name, license #, city, specialty, phone).

## `withLeadScore` (type: `boolean`):

When ON, each contractor is scored 0-100 as a B2B outreach lead with a hot/warm/cold tier and rationale (AI). Paid add-on, charged only when a score is produced. Requires a paid Apify plan.

## `withProfileSummary` (type: `boolean`):

When ON, each contractor gets a concise plain-language business profile summary (AI). Paid add-on, charged only when a summary is produced. Requires a paid Apify plan.

## `maxContractors` (type: `integer`):

Maximum number of contractors to return this run.

## Actor input object example

```json
{
  "classifications": [
    "BC",
    "Building Construction"
  ],
  "cities": [
    "Birmingham"
  ],
  "withDetails": true,
  "withLeadScore": false,
  "withProfileSummary": false,
  "maxContractors": 50
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "classifications": [
        "BC"
    ],
    "maxContractors": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/alabama-lbgc-contractors-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "classifications": ["BC"],
    "maxContractors": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/alabama-lbgc-contractors-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "classifications": [
    "BC"
  ],
  "maxContractors": 50
}' |
apify call scrapers_lat/alabama-lbgc-contractors-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapers_lat/alabama-lbgc-contractors-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/631aDeMSAlbeNpgKO/builds/baHY66AtdsHOm4beh/openapi.json
