# OregonBuys Open Bids Scraper: State and Local Solicitations (`talcoe/oregonbuys-bids`) Actor

Scrape open Oregon state and local government bid solicitations from OregonBuys, filter by keyword, agency and due date, and get buyer, due date and a link to the documents, billed per result.

- **URL**: https://apify.com/talcoe/oregonbuys-bids.md
- **Developed by:** [M Usama](https://apify.com/talcoe) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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.

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

## OregonBuys Open Bids Scraper

### Data source

Reads the public open bids search on OregonBuys (oregonbuys.gov/bso), the Periscope BuySpeed portal used by Oregon state agencies, counties, cities and school districts, with no login.

### What does it do?

If you sell to Oregon government, you already know the problem: new solicitations land on OregonBuys every day, and the portal gives you a paged table and no export you can schedule. This Actor reads the whole open bids list and returns one clean record per solicitation: bid number, title, issuing organization, opening (due) date, buyer, status, alternate ID and a link to the bid page where the documents live. Filters by keyword, organization and due date keep a run small. Pricing is per result.

### Why use it?

- Get a morning list of every new open bid from schools, cities and counties without paging through the portal.
- Filter by keyword (for example roofing, software, paving) and by agency name.
- Pull only the bids due in the next 14 days.
- Feed a spreadsheet, CRM or Slack channel on a schedule.

### How to use it

1. Open the Actor and set the filters.
2. Click Start. Download results as JSON, CSV or Excel, or read them through the API.
3. Add a Schedule and an Integration (Slack, Google Sheets, webhook) to get new records automatically.

### Input

| Field | Description |
|---|---|
| `keywords` | Keep bids that mention any of these words in title, organization, buyer or alternate ID. Empty means every bid. |
| `organizations` | Keep bids from agencies whose name contains any of these texts. |
| `dueWithinDays` | Keep bids opening within this many days. 0 means no limit. |
| `includeDetails` | Also read each bid page for contact email, NIGP category, bid type, pre bid conference, summary and attachment names. Default on. |
| `maxResults` | Hard stop for the run. You are billed per result, so this caps the cost. |
| `proxyConfiguration` | Optional. The site answers plain requests. |

Example input:

```json
{ "keywords": ["construction", "remodel"], "organizations": ["school"], "dueWithinDays": 45, "maxResults": 50 }
```

### Output

Every record has the same shape. This one is from a real run, trimmed:

```json
{
  "id": "S-P20004-00018427",
  "bidNumber": "S-P20004-00018427",
  "title": "Ed Center Kitchen Remodel",
  "organization": "Eugene School District 4J",
  "openingDate": "2026-12-17T14:00:00",
  "buyer": "Kathy Boozer",
  "status": "Sent",
  "alternateId": "CIP 464.920.P0003",
  "detailsFetched": false,
  "documentsUrl": "https://oregonbuys.gov/bso/external/bidDetail.sda?docId=S-P20004-00018427&external=true&parentUrl=close"
}
```

| Field | Meaning |
|---|---|
| `id` | Stable key (the bid number), safe for deduplication between runs |
| `title`, `organization`, `buyer` | What is being bought, by whom, and the named purchaser |
| `openingDate` | Bid opening date in Oregon local time, ISO format |
| `alternateId` | The agency's own solicitation number |
| `documentsUrl` | The bid page, where attachments and amendments are listed |
| `contactEmail`, `nigpCategories`, `bidType`, `preBidConference`, `summary`, `attachments` | From the bid page. Null when `detailsFetched` is false |

### Pricing

Pay per event: a fixed price per result returned. You only pay for records that pass your filters. Set `maxResults` to cap any run.

### Limitations

- The bid pages sit behind a bot check that the site turns on from time to time. When it is on, the Actor does not try to get past it: it returns the list level fields and sets `detailsFetched` to false. Contact email and category are only filled when the bid page loads.
- Only bids shown on the public open bids list are covered. Bids that need a vendor login are not.
- Dates are portal local time without a time zone offset.

### FAQ

**Is this legal?** The Actor reads listings the site publishes for any visitor without a login and stores only business information published for that purpose. You are responsible for how you use the data.

**Why are some fields empty?** See the first limitation. Run again later, or use the `documentsUrl` to open the bid page.

**Something is missing or broken?** Open an issue in the Issues tab; response time is usually under a day.

# Actor input Schema

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

Hard stop for the run. You are billed per result, so this caps the cost.

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

Apify proxy is recommended for larger runs.

## Actor input object example

```json
{
  "maxResults": 200,
  "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 = {
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("talcoe/oregonbuys-bids").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 = { "proxyConfiguration": { "useApifyProxy": False } }

# Run the Actor and wait for it to finish
run = client.actor("talcoe/oregonbuys-bids").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 '{
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call talcoe/oregonbuys-bids --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,talcoe/oregonbuys-bids"
        }
    }
}
```

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/XxuKlNwJYqXXz9fg9/builds/HhmgJT749CRLtdNW8/openapi.json
