# License Disciplinary Actions - Enforcement Records Scraper (`lulzasaur/license-disciplinary-scraper`) Actor

Scrape professional license disciplinary actions and enforcement records from state licensing boards. Get complaints, violations, dispositions, and penalties for FL DBPR licensees.

- **URL**: https://apify.com/lulzasaur/license-disciplinary-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** Lead generation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## License Disciplinary Actions - Enforcement Records Scraper

Apify Actor for scraping professional license disciplinary actions, complaints, and enforcement records from state licensing boards. Currently supports Florida DBPR (Department of Business & Professional Regulation).

### Supported States

- **Florida (FL)** -- DBPR MyFloridaLicense.com (classic ASP form, no CAPTCHA)

### How It Works

1. Searches the FL DBPR licensee database by name or license number
2. Visits each licensee's detail page for full license information
3. Checks each licensee's complaint page for disciplinary actions
4. Returns combined license + disciplinary data in a single dataset

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `state` | string | `"FL"` | State to search (FL) |
| `lastName` | string | `"Smith"` | Last name to search |
| `firstName` | string | `""` | First name (optional) |
| `licenseNumber` | string | `""` | License number lookup |
| `licenseType` | string | `""` | Filter by license type code |
| `board` | string | `""` | Board code (e.g., `06` = Construction, `25` = Real Estate) |
| `maxResults` | integer | `25` | Max records (0 = unlimited) |

#### Florida Board Codes

| Code | Board |
|------|-------|
| `01` | Certified Public Accounting |
| `02` | Architecture & Interior Design |
| `03` | Barbers |
| `05` | Cosmetology |
| `06` | Construction Industry |
| `08` | Electrical Contractors |
| `09` | Engineers |
| `13` | Landscape Architecture |
| `25` | Real Estate |
| `26` | Veterinary Medicine |
| `38` | Community Association Managers |
| `200` | Hotels and Restaurants |
| `400` | Alcoholic Beverages & Tobacco |

### Output

Each record contains license details and any disciplinary actions:

```json
{
    "name": "SMITH, JOHN A",
    "licenseNumber": "CGC1234567",
    "licenseType": "Certified General Contractor",
    "rank": "Cert General",
    "board": "Construction Industry",
    "status": "Current,Active",
    "licensureDate": "01/15/2005",
    "expirationDate": "08/31/2026",
    "address": "123 MAIN ST MIAMI, Florida 33101",
    "county": "MIAMI-DADE",
    "hasDisciplinaryAction": true,
    "disciplinaryCount": 2,
    "disciplinaryActions": [
        {
            "caseNumber": "2023-012345",
            "caseClass": "Legally Sufficient",
            "incidentDate": "03/15/2023",
            "caseStatus": "Closed",
            "disposition": "Final Order",
            "dispositionDate": "09/01/2023",
            "disciplineDescription": "09/01/2023 - Fine $2,500; Probation 1 year"
        }
    ],
    "detailUrl": "https://www.myfloridalicense.com/LicenseDetail.asp?SID=&id=...",
    "complaintUrl": "https://www.myfloridalicense.com/viewcomplaint.asp?SID=&licid=...",
    "state": "FL",
    "source": "Florida DBPR",
    "searchedLastName": "Smith",
    "searchedFirstName": "",
    "scrapedAt": "2026-04-04T01:30:00.000Z"
}
````

#### Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `name` | string | Licensee name |
| `licenseNumber` | string | License number |
| `licenseType` | string | Full license type description |
| `rank` | string | License rank/classification |
| `board` | string | Licensing board category |
| `status` | string | License status (Current, Active, Expired, etc.) |
| `licensureDate` | string | Date license was issued |
| `expirationDate` | string | License expiration date |
| `address` | string | Primary address on file |
| `county` | string | County |
| `hasDisciplinaryAction` | boolean | Whether any complaints/discipline exist |
| `disciplinaryCount` | number | Number of disciplinary actions |
| `disciplinaryActions` | array | Detailed complaint/discipline records |
| `detailUrl` | string | Direct link to license detail page |
| `complaintUrl` | string | Direct link to complaint history page |

#### Disciplinary Action Fields

| Field | Type | Description |
|-------|------|-------------|
| `caseNumber` | string | Complaint/case number |
| `caseClass` | string | Complaint classification |
| `incidentDate` | string | Date of incident |
| `caseStatus` | string | Status (Open, Closed, etc.) |
| `disposition` | string | Case outcome (Final Order, Dismissed, etc.) |
| `dispositionDate` | string | Date of disposition |
| `disciplineDescription` | string | Penalty details (fines, probation, suspension, etc.) |

### Use Cases

- **Compliance screening** -- Verify contractors, real estate agents, or other professionals before hiring
- **Due diligence** -- Check for disciplinary history before engaging a licensed professional
- **Risk assessment** -- Identify licensees with patterns of complaints or enforcement actions
- **Regulatory monitoring** -- Track disciplinary trends across professions and boards
- **Insurance underwriting** -- Screen licensed professionals for claims and risk factors
- **Journalism/research** -- Investigate enforcement patterns in regulated industries

### Quick Start

```bash
apify run --purge
```

### Performance Notes

- Each result requires 2-3 HTTP requests (listing + detail + complaint page)
- Default `maxResults=25` keeps runs fast and cost-effective
- For bulk searches, increase `maxResults` but expect longer run times
- Built-in rate limiting (300ms between detail page fetches) to be respectful

### Related Scrapers

More data tools by [lulzasaur](https://apify.com/lulzasaur):

- [Contractor License Scraper](https://apify.com/lulzasaur/contractor-license-scraper) -- Contractor licenses across 11 states
- [Insurance License Scraper](https://apify.com/lulzasaur/insurance-license-scraper) -- Insurance agent license verification
- [Healthcare License Scraper](https://apify.com/lulzasaur/healthcare-license-scraper) -- Healthcare provider licenses
- [OSHA Scraper](https://apify.com/lulzasaur/osha-scraper) -- OSHA violations data

# Actor input Schema

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

State to search. Currently supports FL (Florida).

## `lastName` (type: `string`):

Licensee last name to search for.

## `firstName` (type: `string`):

Licensee first name (optional, narrows results).

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

Specific license number to look up (optional). If provided without lastName, searches by license number.

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

Filter by license type code (optional). Leave empty for all types.

## `board` (type: `string`):

Filter by board code (e.g., '06' for Construction, '25' for Real Estate). Leave empty for all boards.

## `maxResults` (type: `integer`):

Maximum number of license records to return. Each record includes full detail + complaint data. Set to 0 for unlimited.

## `proxyConfiguration` (type: `object`):

Proxy settings. Not required for FL DBPR.

## Actor input object example

```json
{
  "state": "FL",
  "lastName": "Smith",
  "firstName": "",
  "licenseNumber": "",
  "licenseType": "",
  "board": "",
  "maxResults": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/license-disciplinary-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/license-disciplinary-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call lulzasaur/license-disciplinary-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lulzasaur/license-disciplinary-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "License Disciplinary Actions - Enforcement Records Scraper",
        "description": "Scrape professional license disciplinary actions and enforcement records from state licensing boards. Get complaints, violations, dispositions, and penalties for FL DBPR licensees.",
        "version": "1.0",
        "x-build-id": "HC4yMankTCnXrXz7b"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lulzasaur~license-disciplinary-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lulzasaur-license-disciplinary-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/lulzasaur~license-disciplinary-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lulzasaur-license-disciplinary-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/lulzasaur~license-disciplinary-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lulzasaur-license-disciplinary-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "state"
                ],
                "properties": {
                    "state": {
                        "title": "State",
                        "enum": [
                            "FL"
                        ],
                        "type": "string",
                        "description": "State to search. Currently supports FL (Florida).",
                        "default": "FL"
                    },
                    "lastName": {
                        "title": "Last Name",
                        "type": "string",
                        "description": "Licensee last name to search for.",
                        "default": "Smith"
                    },
                    "firstName": {
                        "title": "First Name",
                        "type": "string",
                        "description": "Licensee first name (optional, narrows results).",
                        "default": ""
                    },
                    "licenseNumber": {
                        "title": "License Number",
                        "type": "string",
                        "description": "Specific license number to look up (optional). If provided without lastName, searches by license number.",
                        "default": ""
                    },
                    "licenseType": {
                        "title": "License Type",
                        "type": "string",
                        "description": "Filter by license type code (optional). Leave empty for all types.",
                        "default": ""
                    },
                    "board": {
                        "title": "Board / License Category",
                        "type": "string",
                        "description": "Filter by board code (e.g., '06' for Construction, '25' for Real Estate). Leave empty for all boards.",
                        "default": ""
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of license records to return. Each record includes full detail + complaint data. Set to 0 for unlimited.",
                        "default": 25
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. Not required for FL DBPR.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
