# BidNet Direct Government Bids Scraper (`jungle_synthesizer/bidnetdirect-government-bids-scraper`) Actor

Scrape government bid solicitations from BidNet Direct — the US public procurement portal. Filter by keyword, status (open/closed/awarded), and location. Exports bid title, URL, location, publication date, closing date, bid ID, and days remaining. Built for procurement monitoring.

- **URL**: https://apify.com/jungle_synthesizer/bidnetdirect-government-bids-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Automation, Business
- **Features:** Limited permissions
- **Stats:** 29 total users, 5 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 record scrapeds

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

## BidNet Direct Government Bids Scraper

Scrape government bid solicitations from [BidNet Direct](https://www.bidnetdirect.com), the US public procurement portal that aggregates state and local government RFPs, contracts, and awards. Returns bid title, ID, location, publication date, closing date, days remaining, status, and optional AI-generated overviews — filtered by keyword, status, or starting URL.

***

### BidNet Direct Scraper Features

- Extracts bid title, ID, agency location, publication date, closing date, and days remaining
- Filters by keyword (e.g. "construction", "IT services", "road repair")
- Switches between open, closed, and awarded bids with one input field
- Optionally pulls the AI-generated bid overview from each detail page — richer context for screening
- Clean, fully typed bid records
- Pay-per-event pricing tied to records returned, not pages paginated
- Handles BidNet's pagination automatically up to your `maxItems` limit

***

### Who Uses BidNet Direct Data?

- **Procurement teams** — monitor solicitations matching your capability set and respond before the deadline
- **Government contractors** — build bid pipelines by keyword, location, or industry vertical, then track them in one place
- **Business development reps** — flag new RFPs from target agencies, no manual portal-checking required
- **Compliance analysts** — track awarded contracts and pricing benchmarks across state and municipal procurements
- **Market researchers** — quantify public-sector demand for a service category over time

***

### How BidNet Direct Scraper Works

1. Pick a status — open, closed, or awarded — and optionally a keyword filter.
2. The scraper hits the matching BidNet Direct listing page and walks the bid table, row by row, paginating until it has what you asked for.
3. If `scrapeDetailPages` is enabled, each bid is followed to its detail page to pull the AI overview field (when available).
4. Records are emitted with a normalized schema and ISO scrape timestamps.

***

### Input

Open bids matching a keyword:

```json
{
  "maxItems": 50,
  "keywords": "IT services",
  "status": "open"
}
```

Closed bids for retrospective analysis:

```json
{
  "maxItems": 100,
  "status": "closed"
}
```

Open bids with AI overviews from the detail pages:

```json
{
  "maxItems": 25,
  "keywords": "construction",
  "status": "open",
  "scrapeDetailPages": true
}
```

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| maxItems | integer | `15` | Maximum number of bid records to return |
| keywords | string | `""` | Keyword filter applied to bid titles (e.g. "construction", "IT services") |
| status | string | `"open"` | Bid status: `open`, `closed`, or `awarded` |
| startUrls | array | — | Optional list of BidNet listing URLs to scrape directly. Overrides the keyword/status filters. |
| scrapeDetailPages | boolean | `false` | If `true`, visit each bid's detail page to extract the AI overview. Roughly doubles request count. |

***

### Resuming a large crawl

Every run emits a `resumeCursor` in its Output. If a large crawl stops before it finishes — because it hit `maxItems`, your spend cap (`maxTotalChargeUsd`), or was aborted — start a new run with **the same input** plus that `resumeCursor` to continue from where it left off. The crawl resumes from the queued work the previous run didn't reach.

- You are **not re-charged** for records the earlier run already delivered.
- Resume within your account's run-retention window — on the free tier, roughly your 10 most recent runs. Once the source run is pruned, its `resumeCursor` is no longer valid.
- `resumeCursor` is opaque — supply it unmodified.

***

### BidNet Direct Scraper Output Fields

```json
{
  "bid_id": "0000123456",
  "title": "Roadway Resurfacing — Phase II",
  "detail_url": "https://www.bidnetdirect.com/public/solicitations/open?id=0000123456",
  "location": "Texas",
  "publication_date": "05/15/2026",
  "closing_date": "06/12/2026",
  "days_remaining": "14 day(s) left",
  "bid_status": "open",
  "ai_overview": "The City of Austin Public Works Department is seeking bids for asphalt resurfacing across approximately 12 miles of arterial roads...",
  "scraped_at": "2026-05-27T14:32:11.000Z"
}
```

| Field | Type | Description |
|-------|------|-------------|
| bid_id | string | Unique numeric bid/solicitation identifier from BidNet Direct |
| title | string | Title of the solicitation or bid opportunity |
| detail_url | string | Full URL to the bid detail page on bidnetdirect.com |
| location | string | State or location of the issuing agency |
| publication_date | string | Date the solicitation was published (MM/DD/YYYY) |
| closing_date | string | Deadline to submit bids/proposals (MM/DD/YYYY) |
| days_remaining | string | Human-readable time remaining until bid closes (e.g. "14 day(s) left") |
| bid_status | string | Status of the bid — `open`, `closed`, or `awarded` |
| ai_overview | string | AI-generated overview from the detail page. Only populated when `scrapeDetailPages` is `true`. |
| scraped_at | string | ISO 8601 timestamp of extraction |

***

### FAQ

#### How do I scrape government bids from BidNet Direct?

BidNet Direct Scraper runs from the Apify console — pick a status (`open`, `closed`, or `awarded`), optionally add a keyword, and run. The scraper walks BidNet's bid table and returns one record per solicitation. No registration or login is needed for the public listing data.

#### Can I get the full bid details, not just the listing summary?

BidNet Direct Scraper extracts the public listing-table fields by default. Set `scrapeDetailPages` to `true` and it visits each bid's detail page to pull the AI-generated overview field. The agency-specific fields (full solicitation document, line items, contact officer) are locked behind BidNet registration and aren't scraped.

#### How does keyword filtering work?

BidNet Direct Scraper passes the keyword string straight through to BidNet's `?keywords=` query parameter, so the filter behaves exactly like the BidNet search bar. Quoted phrases and multi-word queries work the same way they do on the site.

#### How fresh is the data?

BidNet Direct Scraper hits the live site on every run. The bid table reflects whatever BidNet is publishing at the moment, including new solicitations posted today and bids that closed an hour ago.

***

### Need More Features?

Need custom fields, filters, or a different target site? [File an issue](https://console.apify.com/actors/issues) or get in touch.

### Why Use BidNet Direct Scraper?

- **Three statuses, one actor** — Open, closed, and awarded bids come from the same scraper with a single input flag, instead of three separate workflows stitched together.
- **AI overview pulled on demand** — Optional detail-page enrichment grabs BidNet's AI-generated bid summary, so screening doesn't require reading the original PDF.

***

**Further reading:** [How to Get Government Tender Data From 14 Procurement Portals](https://orbtop.com/articles/government-tender-data-portals/)

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `resumeCursor` (type: `string`):

Leave empty for a fresh crawl. To CONTINUE a previous run where it stopped — without paying again for records you already received — paste the `resumeCursor` value from that run's Output (the run's OUTPUT key). Resume promptly: the previous run's data expires with your account's retention window (free tier: your ~10 most recent runs).

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

Maximum number of bid records to scrape. Default is 15.

## `keywords` (type: `string`):

Search keywords to filter bids (e.g. "construction", "IT services", "road repair"). Leave blank to scrape all bids.

## `status` (type: `string`):

Filter by bid status. Options: "open" (default — open solicitations), "closed" (closed/past-deadline bids), "awarded" (awarded contracts).

## `startUrls` (type: `array`):

Optional list of specific BidNet Direct listing or search URLs to scrape directly. If provided, the actor scrapes these URLs instead of using the keyword/status filters.

## `scrapeDetailPages` (type: `boolean`):

If enabled, the actor visits each bid's detail page to extract the AI-generated overview (when available). This doubles the number of requests but adds richer context.

## Actor input object example

```json
{
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "keywords": "",
  "status": "open",
  "startUrls": [
    "https://www.bidnetdirect.com/solicitations/open-bids"
  ],
  "scrapeDetailPages": 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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "keywords": "",
    "status": "open",
    "startUrls": [
        "https://www.bidnetdirect.com/solicitations/open-bids"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/bidnetdirect-government-bids-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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "keywords": "",
    "status": "open",
    "startUrls": ["https://www.bidnetdirect.com/solicitations/open-bids"],
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/bidnetdirect-government-bids-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 '{
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "keywords": "",
  "status": "open",
  "startUrls": [
    "https://www.bidnetdirect.com/solicitations/open-bids"
  ]
}' |
apify call jungle_synthesizer/bidnetdirect-government-bids-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/bidnetdirect-government-bids-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/uG8HvsdaTbt9exlhO/builds/CwKjswUan9fmTBldL/openapi.json
