# Oregon Ccb Contractors Scraper (`zerobreak/oregon-ccb-contractors-scraper`) Actor

Oregon CCB Contractors Scraper is a Python tool designed to extract contractor license statuses, business names, RMI info, insurance bond coverage, and disciplinary actions from the Oregon Construction Contractors Board directory. It exports structured business datasets into clean CSV or JSON format

- **URL**: https://apify.com/zerobreak/oregon-ccb-contractors-scraper.md
- **Developed by:** [ZeroBreak](https://apify.com/zerobreak) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Oregon CCB Contractors Scraper — Active Contractor Licenses and Business Data

![Oregon CCB Contractors Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/oregon-ccb-contractors-scraper-cover.png)

Collect publicly available active construction contractor records from the Oregon Construction Contractors Board. Retrieve license details, contractor names, business addresses, contact information, insurance and bond details, and license classifications. Export structured results as JSON, CSV, or Excel without requiring a login.

### Overview

Oregon CCB Contractors Scraper helps you discover and organize public contractor license records from Oregon's active licenses dataset.

Choose between collecting all available records, filtering contractors using search conditions, or retrieving dataset metadata. Build structured contractor datasets for business research, lead generation, market analysis, and compliance workflows.

### Features

- **Full dataset collection:** Retrieve records from the public active contractor licenses dataset.
- **Filtered collection:** Narrow results using conditions or full-text searches.
- **Dataset metadata:** Retrieve available column names, data types, and descriptions.
- **License information:** Collect contractor license numbers, types, and expiration dates.
- **Business details:** Retrieve contractor names, addresses, cities, states, and ZIP codes.
- **Contact information:** Collect publicly available phone numbers.
- **Insurance and bond details:** Retrieve available insurance and bonding information.
- **Contractor classifications:** Collect endorsement and registration details.
- **Result limits:** Control the maximum number of records collected.
- **Structured exports:** Download results as JSON, CSV, Excel, and other supported formats.

### Collection Modes

**All rows mode**

Collect records from the public Oregon CCB Active Licenses dataset, with pagination and a configurable result limit.

**Filtered rows mode**

Narrow the collection using filtering conditions or full-text search. For example, search for contractors in a particular city or filter records by license type.

**Dataset metadata mode**

Retrieve information about the dataset's available columns, including their names, data types, and descriptions.

### Use Cases

- **Contractor lead generation:** Build lists of active Oregon construction contractors.
- **Business research:** Explore contractor names, locations, and license classifications.
- **Market analysis:** Analyze contractor distribution by city, county, or license type.
- **License verification research:** Review publicly available license and expiration information.
- **Insurance research:** Examine available bond and insurance details.
- **Data enrichment:** Combine contractor records with other business research datasets.
- **Scheduled monitoring:** Refresh contractor records periodically to review updated information.

### Input Parameters

| Parameter | Type | Description |
|---|---|---|
| `mode` | String | Collection mode: `rows`, `filtered`, or `metadata`. |
| `maxItems` | Integer | Maximum number of records to collect. |
| `orderBy` | String | Field or ordering expression used to sort collected rows. |
| `where` | String | Optional filtering condition used in filtered mode. |
| `search` | String | Optional full-text search term, if supported by the actor input. |
| `requestDelaySecs` | Number | Delay between requests in seconds. |

### Example Input

**All rows mode**

```json id="m8q4vx"
{
  "mode": "rows",
  "maxItems": 50,
  "orderBy": ":id",
  "requestDelaySecs": 1
}
```

**Filtered rows mode**

```json id="p3k7wn"
{
  "mode": "filtered",
  "where": "city='PORTLAND'",
  "maxItems": 25,
  "requestDelaySecs": 1
}
```

### What Data Does This Actor Extract?

| Field | Description |
|---|---|
| `license_number` | Contractor license number. |
| `license_type` | Contractor license classification. |
| `county_code` | County identification code. |
| `county_name` | County associated with the contractor. |
| `lic_exp_date` | License expiration date. |
| `orig_regis_date` | Original registration date. |
| `bond_company` | Bonding company name. |
| `bond_amount` | Bond amount. |
| `bond_exp_date` | Bond expiration date. |
| `ins_company` | Insurance company name. |
| `ins_amount` | Insurance coverage amount. |
| `ins_exp_date` | Insurance expiration date. |
| `full_name` | Contractor or business name. |
| `address` | Business mailing address. |
| `city` | Business city. |
| `state` | Business state. |
| `zip_code` | Business ZIP code. |
| `phone_number` | Publicly listed phone number. |
| `rmi_name` | Responsible managing individual name. |
| `exempt_text` | Exemption status description. |
| `endorsement_text` | Contractor endorsement or classification description. |
| `scraped_at` | Date and time the record was collected. |

Some fields may be empty or unavailable depending on the original contractor record.

### Example Output

```json id="w6n2rt"
{
  "license_number": "100215",
  "license_type": "RGC",
  "county_code": "8",
  "county_name": "Curry",
  "lic_exp_date": "02/06/2028",
  "orig_regis_date": "06/20/1994",
  "bond_company": "WESTERN SURETY COMPANY",
  "bond_amount": "25000",
  "bond_exp_date": "02/06/2028",
  "ins_company": "SCOTTSDALE INSURANCE CO",
  "ins_amount": "1000000",
  "ins_exp_date": "08/25/2027",
  "full_name": "BRUCE HUIE",
  "address": "PO BOX 543",
  "city": "BROOKINGS",
  "state": "OR",
  "zip_code": "97415",
  "phone_number": "5412150829",
  "rmi_name": "BRUCE HUIE",
  "exempt_text": "Exempt",
  "endorsement_text": "Residential General Contractor",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Working with Your Dataset

After the run finishes, open the dataset in Apify Console to review your collected records.

You can:

- Export results as JSON, CSV, or Excel.
- Filter contractors by city, county, or license type.
- Sort records by license expiration date.
- Search for contractors by name or license number.
- Review available insurance and bonding information.
- Import records into spreadsheets, CRM systems, or business research workflows.

### FAQ

**Who is this actor for?**

It is designed for contractors, construction businesses, researchers, analysts, marketers, and developers who need structured Oregon contractor information.

**What collection modes are available?**

You can collect all available rows, filtered records, or dataset metadata.

**Can I filter contractors by city?**

Yes. Use filtered rows mode with a condition such as `city='PORTLAND'`.

**Do I need to log in?**

No. The actor collects publicly available contractor records without requiring a login.

**What can I export?**

You can export JSON, CSV, Excel, and other supported Apify dataset formats.

**Can I run it on a schedule?**

Yes. You can configure an Apify schedule to refresh your collection at your preferred intervals.

**What happens if some information is unavailable?**

Some fields may be empty or unavailable depending on the original public record.

### Disclaimer

This actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or officially associated with the Oregon Construction Contractors Board or the State of Oregon. It collects publicly available contractor records. Users are responsible for ensuring that their collection and use of the data comply with applicable laws and relevant terms.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same thing as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape.

## `where` (type: `string`):

SoQL $where clause, e.g. city='PORTLAND'

## `q` (type: `string`):

Full-text search ($q) across text columns

## `orderBy` (type: `string`):

SoQL $order (stable paging needs a unique order)

## `maxItems` (type: `integer`):

Stop after this many successful rows. Hard max is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "rows",
  "where": "",
  "q": "",
  "orderBy": ":id",
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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("zerobreak/oregon-ccb-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 = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zerobreak/oregon-ccb-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/fMbbbczcCeFlKqShx/builds/FOhW2fxJK67EhV3jF/openapi.json
