# Oregon Liquor Licenses - OLCC Licensees & Endorsements (`ai-lead-gen-tools/oregon-liquor-licenses`) Actor

\[💰$0.05/1K] Every Oregon liquor licence in the OLCC register with the trade name, licensee, licence type, premises address and county, the endorsements the licence carries, lottery permission and both the effective and the expiry date. Whole state, no proxy needed.

- **URL**: https://apify.com/ai-lead-gen-tools/oregon-liquor-licenses.md
- **Developed by:** [Vladimir Che](https://apify.com/ai-lead-gen-tools) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.05 / 1,000 liquor licence privilege scrapeds

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 Liquor Licenses - OLCC Licensees & Endorsements

Scrape every liquor licence the **Oregon Liquor and Cannabis Commission** lists in its public
licensee register. One row per licence, with the trade name, the licensee, the licence type,
endorsements, the premises address with county, the lottery permission and the effective and
expiry dates.

No login, no cookies, no API key, no proxy. The data comes from the open Socrata dataset
`srxe-qkm2` on `data.oregon.gov`.

A full run over the register as published on 2026-11-12 returned **23 160 records** from 23 162
rows, covering 22 129 distinct licence numbers.

### What you get

One row per licence. Every field is always present, and a value the register does not publish is
`null` rather than missing, so the column set never changes between runs. Every `null` is also
explained in `omitted` with a machine-readable reason.

| Field | Source column | Notes |
|---|---|---|
| `licenseNumber` | `license_number` | the OLCC licence number, kept as published |
| `licenseClassRaw`, `privilege` | licence type column | the register's own type string |
| `licenseClassLabel` | licence type column | same value, no separate code table exists |
| `businessType` | derived from the licence type | `bar`, `restaurant`, `grocery`, `package_store`, `club`, `hotel`, `theater`, `manufacturer`, `wholesaler`, `specialty_shop`, `other` |
| `businessName` | trade name column | the name the premises trades under |
| `legalName`, `licenseeName` | licensee column | the licence holder |
| `premiseAddress` | street, city, state, zip columns | street1, street2, city, state, zip |
| `countyName` | `county` | the county as published, including `**Outside of Oregon` |
| `issueDate`, `expireDate` | effective and expiry columns | ISO 8601 |
| `status`, `statusRaw` | derived from the expiry flag | normalized `active`, `expired`, `unknown`; `statusRaw` keeps the source flag |
| `endorsements` | endorsements column | the endorsement list on the licence |
| `lotteryOnPremises` | lottery column | `Yes` or `No` as published |
| `localGoverningBody` | local authority column | the city or county that issued the local approval |
| `renewalDistrict` | renewal column | the OLCC renewal district |
| `feed`, `eventType` | derived | which feed the row belongs to and what it means for this run |
| `recencyBasis`, `recordKey`, `completeness`, `omitted`, `raw` | derived | provenance, identity and the null report |

A real record from a live run:

```json
{
  "source": "or-olcc",
  "sourceUrl": "https://data.oregon.gov/resource/srxe-qkm2.json",
  "sourceReport": "srxe-qkm2-page-0",
  "sourceDataAsOf": "2026-11-12",
  "scrapedAt": "2026-11-13T13:48:00.544Z",
  "state": "OR",
  "jurisdiction": "oregon",
  "licenseNumber": "102615",
  "licenseId": null,
  "licenseNumberSourceKey": "license_number",
  "privilege": "FULL ON-PREMISES SALES - COMMERCIAL",
  "licenseClassRaw": "FULL ON-PREMISES SALES - COMMERCIAL",
  "licenseClassLabel": "FULL ON-PREMISES SALES - COMMERCIAL",
  "businessType": "restaurant",
  "isAddOn": false,
  "isTemporary": false,
  "addOnLicenseNumber": null,
  "addOnPrivilege": null,
  "status": "expired",
  "statusRaw": "license_expired: Yes",
  "eventType": "inventory",
  "feed": "closing",
  "businessName": "PAOLA'S CORNER",
  "legalName": "PAOLA'S CORNER INC",
  "licenseeName": "PAOLA'S CORNER INC",
  "contactName": null,
  "contactRole": null,
  "contactPhone": null,
  "premiseAddress": { "street1": "28300 SE HIGHWAY 212", "street2": null, "city": "BORING", "state": "OR", "zip": "97009-9144" },
  "mailingAddress": { "street1": null, "street2": null, "city": null, "state": null, "zip": null },
  "countyName": "Clackamas",
  "phone": null,
  "nightPhone": null,
  "applicationDate": null,
  "issueDate": "2007-04-01",
  "expireDate": "2007-12-21",
  "startupDate": null,
  "privilegeSubmittedDate": null,
  "privilegeApprovedDate": null,
  "privilegeTerminatedDate": null,
  "statusChangeDate": null,
  "reasonDescription": null,
  "privilegeReasonCode": null,
  "recencyBasis": "dataset-rows-updated",
  "recordKey": "or-olcc|102615||FULL ON-PREMISES SALES - COMMERCIAL|0",
  "completeness": "partial",
  "omitted": [
    { "field": "phone", "reason": "source-lacks-field", "note": null },
    { "field": "licenseId", "reason": "source-lacks-field", "note": null },
    { "field": "statusChangeDate", "reason": "not-published", "note": null }
  ],
  "raw": null,
  "endorsements": null,
  "lotteryOnPremises": "No",
  "renewalDistrict": null,
  "localGoverningBody": "CLACKAMAS COUNTY"
}
```

Output is available as JSON, CSV or Excel from the dataset tab. Run counters land in the
`SUMMARY` key-value record: records pushed, rows filtered out by the input, rows skipped for
having no licence number, pages read, and whether the gateway fallback was used.

### How to use it

1. Leave `mode` at `full` for the whole register, or set `new` on a saved task to return only
   licences whose `recordKey` was not delivered by an earlier scheduled run.
2. Turn off `includeExpired` to drop lapsed licences and keep the 18 836 rows marked as not
   expired.
3. Turn off `includeAdditionalLocations` to drop second and further premises of one business,
   which leaves 22 690 of the 23 162 rows.
4. Leave `businessTypes`, `licenseTypes` and `counties` empty to get the whole register. Set them
   only when you deliberately want a narrower run; all three are case-insensitive substring
   matches and run locally after the page is read.
5. Cap `maxResults` to the number of records you are willing to pay for, or leave `0`.
6. Run. Records go to the default dataset, one per licence.

```json
{
  "mode": "full",
  "includeExpired": false,
  "maxResults": 0
}
```

| Input | Default | What it does |
|---|---|---|
| `mode` | `full` | `full` returns the whole register, `new` returns only licences not seen by an earlier scheduled run |
| `businessTypes` | empty, whole register | optional narrow-down on the normalized business type |
| `licenseTypes` | empty, whole register | optional narrow-down on licence types, case-insensitive substring |
| `counties` | empty, whole register | optional narrow-down on counties, case-insensitive substring |
| `includeAdditionalLocations` | `true` | set `false` to drop second and further premises of one business |
| `includeOutOfState` | `true` | set `false` to keep Oregon premises only, dropping 5 056 out-of-state holders |
| `includeExpired` | `true` | set `false` to keep only licences not marked as expired |
| `maxResults` | `0` | hard cap on saved records, `0` means the whole register |
| `includeRaw` | `false` | attach the untouched dataset row under `raw` |
| `pageSize` | `2000` | rows requested per page, ceiling is 50 000 |
| `requestTimeoutSecs` | `60` | per-page timeout before a retry is attempted |
| `runBudgetSecs` | empty | leave empty to use the run timeout; set a number only to stop earlier |
| `gatewayUrl` | `https://r.jina.ai/` | read-through gateway used when `data.oregon.gov` refuses the host |

#### Ready-made tasks

| Task | Input | Question it answers |
|---|---|---|
| [Oregon New Liquor Licences, Daily](https://apify.com/ai-lead-gen-tools/oregon-liquor-licenses/examples/oregon-new-liquor-licenses-daily) | `mode: new`, `maxResults: 200`, `runBudgetSecs: 280` | which OLCC licences appeared since the last run of this task |

The seen set lives in the task's own key-value store, so a schedule on it charges only for licences that are actually new.

### Modes

| Mode | What it returns | Charged |
|---|---|---|
| `full` | the entire register as it stands today | one event per saved record |
| `new` | only licences whose `recordKey` was not delivered before | one event per saved record, zero on an unchanged register |

Both are available on every run, and you choose which one you want. `new` needs a saved task:
the seen set lives in the task's key-value store, so a run started straight from the Console or
the API keeps it in memory only, logs a warning and returns the full register.

### Use cases

- **Bar and restaurant lead lists** - every on-premises licence in a county with the trade name,
  the licensee and the local authority that approved it.
- **Endorsement segmentation** - filter on `endorsements` to find the premises allowed to sell
  spirits, wine or growlers, which is not visible in the licence type alone.
- **Lottery outlet mapping** - `lotteryOnPremises` tells you which licensed premises also sell
  lottery tickets, a useful cross-sell signal for distributors.
- **Register monitoring** - keep a daily `new` schedule and watch which licences appear in the
  counties you track, then check `status` for the ones that lapsed.

### Cost

The actor uses pay per event. One event is charged for **one record saved to the dataset**, at
**$0.05 per 1 000 records**. Each run also emits one `apify-actor-start` event, which is not part
of the per-record price.

A full run over the default scope, 23 160 records, costs about $1.16 at the per-record rate. A
run capped at 5 000 records costs about $0.25.

Rows that are not chargeable: a row already delivered by an earlier scheduled run in `new` mode
is skipped before charging. Rows filtered out by `businessTypes`, `licenseTypes`, `counties`,
`includeAdditionalLocations`, `includeOutOfState` or `includeExpired`, and records beyond
`maxResults`, are never saved and never charged.

### Honest limits

- No Oregon liquor dataset publishes a phone number. `phone`, `nightPhone`, `contactName`,
  `contactRole` and `contactPhone` are always `null`.
- `licenseId` is always `null`. The licence number is the only identifier the OLCC publishes.
- The register keeps lapsed licences. A row with `license_expired` set is returned as `expired`
  with `feed` set to `closing`, and `includeExpired` is what drops it.
- `statusChangeDate`, `privilegeTerminatedDate` and `reasonDescription` carry no value even in
  the source. A licence disappears from the register rather than being closed with a reason, so a
  closure can only be inferred by comparing runs.
- `isTemporary` is always `false`. Oregon publishes no temporary flag, so `false` only means
  "not stated as temporary".
- `isAddOn` is always `false`. Oregon marks a second premises through
  `secondary_to_primary_license` instead of a rider row, so there is nothing to derive an add-on
  from; use `includeAdditionalLocations` to control those rows.
- `countyName` carries the literal `**Outside of Oregon` for the 5 056 out-of-state holders,
  asterisks included, because it is kept exactly as published. Strip the prefix before joining
  it to your own county list.
- `data.oregon.gov` answers HTTP 403 to some datacenter IP ranges. The actor retries through a
  read-through gateway by default and reports `gatewayUsed` in `SUMMARY`; the run does not fail
  because of the block.

### FAQ

**Is this the same data as the OLCC licence search?**
Yes. The actor reads the same OLCC licensee dataset the public portal publishes, so a licence you
find there appears here with the same number and the same expiry date.

**Why do I see expired licences?**
Because the register keeps them after they lapse. Set `includeExpired` to `false` to keep only
the 18 836 rows marked as not expired.

**Why do several rows share a licence number?**
Because a business can hold licences at more than one premises, and Oregon lists each premises as
its own row. The second and later ones point back to the primary licence. Set
`includeAdditionalLocations` to `false` for one row per business.

**Do the records contain phone numbers?**
No. The register publishes no phone number, so the phone fields are always `null` and say so in
`omitted`.

**Do I need a proxy or an API key?**
No. The dataset is public. Runs on a datacenter IP occasionally hit a 403 from the host, which
the actor works around with a gateway fallback; no account or token is involved.

**What does `lotteryOnPremises` mean?**
It is the register's own flag for whether the licensed premises is also a lottery retailer,
returned as `Yes` or `No` and left as published.

**How do I find premises allowed to sell spirits?**
Filter on `licenseTypes` with a text such as `DISTILLED SPIRITS`, or read the `endorsements`
field directly. The licence type alone does not always distinguish the product categories.

**Which mode should I pick, `full` or `new`?**
`full` for a snapshot of the whole register, `new` for a daily feed of what appeared since the
last run. `new` works on a saved task: the first run writes every record key it delivered, and
later runs save and charge only licences whose key is new, which on an unchanged register is
none.

### Related actors

Other actors in the US liquor group, each with its own dataset and price:

- [Washington Liquor Licenses Scraper](https://apify.com/ai-lead-gen-tools/washington-liquor-licenses) - the LCB on and off-premise lists with premises phone numbers.
- [California Liquor Licenses Scraper](https://apify.com/ai-lead-gen-tools/california-liquor-licenses) - the ABC daily export with licence type names and pending applications.
- [Colorado Liquor Licenses Scraper](https://apify.com/ai-lead-gen-tools/colorado-liquor-licenses) - Department of Revenue register with coordinates and issuing authority.
- [Missouri Liquor Licenses Scraper](https://apify.com/ai-lead-gen-tools/missouri-liquor-licenses) - active ATC licences with the named contact and their role.
- [New York Liquor Licenses Scraper](https://apify.com/ai-lead-gen-tools/new-york-liquor-licenses) - SLA licences with premises and licensee detail.
- [Texas Liquor Licenses Scraper](https://apify.com/ai-lead-gen-tools/texas-liquor-licenses) - TABC licences and permits by county and licence type.

### Changelog

- 2026-11-13: first public release. The OLCC licensee register, added-location and expiry
  filters, daily change mode for saved tasks, output sample taken from a run on the register as
  published 2026-11-12.
- 2026-11-16: task `oregon-new-liquor-licenses-daily` published, linked above and run once from
  itself.

# Actor input Schema

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

"full" returns the entire register. "new" remembers every licence already returned and only saves licences that are new since the last scheduled run — use it on a daily schedule.

## `businessTypes` (type: `array`):

Filter by normalized business type. Leave empty for everything. Useful for lead lists: "bar", "restaurant", "package_store", "grocery", "manufacturer", "wholesaler", "club", "hotel", "theater", "specialty_shop", "other".

## `licenseTypes` (type: `array`):

Keep only these licence types, matched case-insensitively as a substring of the source value. Example: "ON-PREMISES" keeps bars and restaurants, "OFF-PREMISES" keeps stores, "WINERY" keeps wineries. Leave empty for every type.

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

Keep only these counties, matched case-insensitively as a substring. Example: "Multnomah" or "Lane". Leave empty for the whole state.

## `includeAdditionalLocations` (type: `boolean`):

Oregon licenses second and further premises of one business as separate rows that point back to the primary licence through `secondary_to_primary_license`. Turn this off to keep one row per business — that leaves 22 690 of the 23 162 rows.

## `includeOutOfState` (type: `boolean`):

Oregon licenses 5 056 holders whose county is "\*\*Outside of Oregon" — wineries, breweries, distillers and shippers headquartered in other states. Turn this off for Oregon premises only.

## `includeExpired` (type: `boolean`):

The register keeps licences after they lapse. Turn this off to keep only licences marked as not expired — that leaves 18 836 of the 23 162 rows.

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

Hard cap on the number of records saved to the dataset. Each saved record is charged. 0 means no cap — the register is roughly 23 000 rows.

## `includeRaw` (type: `boolean`):

Attach the untouched dataset row under the `raw` field. Useful for auditing, roughly doubles the dataset size.

## `pageSize` (type: `integer`):

Rows requested per dataset page. Lower it when the registry throttles the run; raise it to finish faster. The paging ceiling on data.oregon.gov is 50 000 rows.

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

Per-page timeout before a retry is attempted.

## `runBudgetSecs` (type: `integer`):

How long this run may take before it stops and returns what it has. Leave it empty (recommended) and the run uses the whole timeout you set for it. Stopping early is not a failure: the run summary reports it and you get the records found so far.

## `gatewayUrl` (type: `string`):

Optional. data.oregon.gov answers HTTP 403 to some datacenter IP ranges. The actor then retries each page through a public read-through gateway, which is set by default. Point this at your own gateway to use a different one, or clear it to disable the fallback and fail fast instead.

## Actor input object example

```json
{
  "mode": "full",
  "includeAdditionalLocations": true,
  "includeOutOfState": true,
  "includeExpired": true,
  "maxResults": 0,
  "includeRaw": false,
  "pageSize": 2000,
  "requestTimeoutSecs": 60,
  "runBudgetSecs": 205,
  "gatewayUrl": "https://r.jina.ai/"
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "runBudgetSecs": 205
};

// Run the Actor and wait for it to finish
const run = await client.actor("ai-lead-gen-tools/oregon-liquor-licenses").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 = { "runBudgetSecs": 205 }

# Run the Actor and wait for it to finish
run = client.actor("ai-lead-gen-tools/oregon-liquor-licenses").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 '{
  "runBudgetSecs": 205
}' |
apify call ai-lead-gen-tools/oregon-liquor-licenses --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ai-lead-gen-tools/oregon-liquor-licenses"
        }
    }
}
```

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/SebmtvN78m5QE3SXB/builds/BmPCoXgATui5ntHYZ/openapi.json
