# Oregon CCB Contractor License Search - OR Contractor Lookup (`pink_comic/oregon-ccb-contractor-license-search`) Actor

Search active Oregon Construction Contractors Board (CCB) licenses by name, license number, city, county, ZIP or endorsement. Get phone, RMI, bond, insurance and registration dates from official data.oregon.gov records. No key.

- **URL**: https://apify.com/pink_comic/oregon-ccb-contractor-license-search.md
- **Developed by:** [Ava Torres](https://apify.com/pink_comic) (community)
- **Categories:** Lead generation, Business, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 contractor licenses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Contractor License Search - OR Contractor Lookup

Search **active Oregon Construction Contractors Board (CCB) licenses** from the official data.oregon.gov publication (about 45k active licenses). Look up a contractor by name or license number, or pull lead lists by city, county, ZIP, endorsement, and registration date.

Each result is one license and includes:

- license number, business name, and **responsible managing individual (RMI)**
- every endorsement (Residential General, Commercial Specialty Level 2, Home Inspector, Lead-Based Paint...)
- original registration and expiration dates, exempt/nonexempt status
- address, county, **phone**, and fax
- **bond** company, amount, and expiration
- **liability insurance** company, amount, and expiration

Results are newest registration first, so a blank run returns the most recently licensed contractors. No API key. Pricing: **$0.002 per license + $0.0001 start**.

```json
{ "counties": ["Multnomah", "Washington"], "endorsements": ["Residential General Contractor"], "registeredAfter": "2026-10-01", "maxResults": 200 }
```

```json
{ "licenseNumbers": ["206683"], "names": ["Bennett Bros"] }
```

### Use cases

Contractor verification before hiring, insurance and surety prospecting (expiring policies), building-supply and home-services lead generation, and new-contractor outreach.

### Limits

The source lists **active** licenses only, so a missing license may be expired, suspended, or never issued. Confirm with the [CCB license search](https://search.ccb.state.or.us/search/). Names are matched as substrings. A few source rows carry obviously wrong future registration dates; the blank newest-first feed skips those.

### Related

- [Washington Contractor License Search](https://apify.com/pink_comic/washington-contractor-license-search)
- [CSLB California Contractor License Search](https://apify.com/pink_comic/cslb-contractor-license-search)
- [Oregon Business Entity Search](https://apify.com/pink_comic/oregon-business-leads)

# Actor input Schema

## `query` (type: `string`):

Quick single business or RMI name search (contains match). Leave blank for the newest licenses.

## `names` (type: `array`):

Business names or responsible managing individual names (contains match, case-insensitive).

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

CCB license numbers, e.g. '206683'.

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

Filter by city, e.g. 'Portland', 'Bend'.

## `counties` (type: `array`):

Filter by Oregon county, e.g. 'Multnomah', 'Deschutes' (or 'Out of State').

## `zipCodes` (type: `array`):

Filter by ZIP code or prefix, e.g. '97201' or '972'.

## `endorsements` (type: `array`):

Endorsement text or code, e.g. 'Residential General Contractor', 'Commercial Specialty', 'RGC', 'CGC2', 'Home Inspector', 'Lead Based Paint'.

## `registeredAfter` (type: `string`):

Optional YYYY-MM-DD on the original registration date. Use a recent date for new-contractor leads.

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

Maximum total paid dataset items (one per license), split across search terms and returned newest registration first. The default returns one item (up to $0.0021 including the start event).

## Actor input object example

```json
{
  "query": "",
  "names": [],
  "licenseNumbers": [],
  "cities": [],
  "counties": [],
  "zipCodes": [],
  "endorsements": [],
  "registeredAfter": "",
  "maxResults": 1
}
```

# Actor output Schema

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

Dataset items with license number, endorsements, RMI, phone, bond and insurance.

# 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 = {
    "query": "",
    "names": [],
    "licenseNumbers": [],
    "cities": [],
    "counties": [],
    "zipCodes": [],
    "endorsements": [],
    "registeredAfter": "",
    "maxResults": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/oregon-ccb-contractor-license-search").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 = {
    "query": "",
    "names": [],
    "licenseNumbers": [],
    "cities": [],
    "counties": [],
    "zipCodes": [],
    "endorsements": [],
    "registeredAfter": "",
    "maxResults": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("pink_comic/oregon-ccb-contractor-license-search").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 '{
  "query": "",
  "names": [],
  "licenseNumbers": [],
  "cities": [],
  "counties": [],
  "zipCodes": [],
  "endorsements": [],
  "registeredAfter": "",
  "maxResults": 1
}' |
apify call pink_comic/oregon-ccb-contractor-license-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pink_comic/oregon-ccb-contractor-license-search"
        }
    }
}
```

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/yXELMFNJUKvTDb1te/builds/0RBJDNfqQ1UfZrRvp/openapi.json
