# Mississippi MSBOC Contractor License Search Scraper (`scrapers_lat/mississippi-msboc-contractors-scraper`) Actor

Search Mississippi State Board of Contractors licensed commercial & residential contractors. Get license number, status, classifications, address, phone, officers and expiration. Export JSON, CSV, Excel.

- **URL**: https://apify.com/scrapers\_lat/mississippi-msboc-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 $20.00 / 1,000 results

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

## Mississippi MSBOC Contractor License Search Scraper

Search the **Mississippi State Board of Contractors (MSBOC)** public license database and get clean, structured contractor records — commercial (Certificate of Responsibility) and residential — in JSON, CSV or Excel.

Great for lead generation, contractor verification/KYB, compliance checks, market research and CRM enrichment.

### What you get

Each contractor record includes:

- **Company / contractor name**
- **License / certificate number**
- **License status** (Licensed, Licensed Expired, Unlicensed, revoked/suspended, etc.)
- **License type** — Commercial or Residential
- **Street address, city, state, ZIP**
- **Phone**
- **Trade classifications** (e.g. Electrical Work, HVAC, Plumbing, Roofing) with the qualifying party for each
- **Company officers** (name + title)
- **License expiration date** and **first-issue date**
- **Fax** and **minority-owned flag** when listed
- Direct MSBOC detail-page URL

### Filters

- **License type** — commercial, residential, or both
- **Keyword** — broad match across company name and trade/classification
- **Company name**
- **License / certificate number** (digits only; prefix/suffix handled for you)
- **City**, **county**, **state**, **ZIP**
- **Status filter** — active only, expired, revoked, suspended, or any
- **Fetch full details** toggle — turn off for faster, listing-only results
- **Max contractors** per run

### Example input

```json
{
  "licenseType": "commercial",
  "keyword": "electrical",
  "status": "active",
  "withDetails": true,
  "maxRecords": 50
}
```

### Example output

```json
{
  "licenseType": "Commercial",
  "companyName": "3D MECHANICAL, ELECTRICAL AND PLUMBING, LLC",
  "licenseNumber": "22500-MC",
  "status": "Licensed",
  "city": "ELLISVILLE",
  "state": "MS",
  "phone": "601-297-4920",
  "classificationNames": ["ELECTRICAL WORK", "HEAT, A/C, VENTILATION, DUCT WORK(HVAC)", "PLUMBING"],
  "expiration": "11/15/2026",
  "officers": [{ "name": "…", "title": "PRESIDENT" }]
}
```

### Pricing

Pay-per-result. You are charged per contractor record returned, plus a small add-on per record when full details are fetched (turn the details toggle off to pay for listings only). Failed runs are never charged.

### Notes

- Data comes from the official MSBOC public consolidated search and reflects what the board publishes.
- Free Apify accounts are capped at 10 records per run; upgrade for larger pulls.
- Set a **Max total charge (USD)** to hard-cap spend on any run.

# Actor input Schema

## `licenseType` (type: `string`):

Search commercial contractors (Certificate of Responsibility), residential contractors, or both.

## `keyword` (type: `string`):

General keyword search across company name and trade/classification (e.g. "roofing", "electrical"). Fast, broad match.

## `companyName` (type: `string`):

Filter by contractor / company name.

## `licenseNumber` (type: `string`):

Filter by license number. Digits only — the letter prefix/suffix is ignored automatically.

## `city` (type: `string`):

Filter by contractor city.

## `county` (type: `string`):

Filter by Mississippi county.

## `state` (type: `string`):

Filter by state (2-letter code, e.g. MS). Contractors from other states are also licensed in Mississippi.

## `zip` (type: `string`):

Filter by ZIP code.

## `classCode` (type: `string`):

Optional MSBOC classification code for precise trade filtering. Most users should use Keyword instead.

## `status` (type: `string`):

Return only contractors whose status matches. "Active" keeps currently-licensed (non-expired) records; "Expired" keeps expired ones.

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

Open each contractor's detail page for classifications, qualifying party, officers, expiration, first-issue date and fax. Turn off for faster listing-only results.

## `maxRecords` (type: `integer`):

Maximum number of contractors to return in one run.

## Actor input object example

```json
{
  "licenseType": "both",
  "status": "any",
  "withDetails": true,
  "maxRecords": 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 = {
    "maxRecords": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/mississippi-msboc-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 = { "maxRecords": 50 }

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/mississippi-msboc-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 '{
  "maxRecords": 50
}' |
apify call scrapers_lat/mississippi-msboc-contractors-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapers_lat/mississippi-msboc-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/IPF2WbSchTGCpGuBS/builds/LsebKsiA4kiXSmNKn/openapi.json
