# Bonfire / Euna Procurement Opportunities Scraper (`gallant_illustration/bonfire-procurement-scraper`) Actor

Open RFPs/tenders across hundreds of US/Canada local government agencies on Bonfire (Euna).

- **URL**: https://apify.com/gallant\_illustration/bonfire-procurement-scraper.md
- **Developed by:** [Alexei Pannicov](https://apify.com/gallant_illustration) (community)
- **Categories:** Lead generation, News, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 opportunities

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Bonfire / Euna Procurement Opportunities Scraper

Scrape **open government procurement opportunities (RFPs, tenders, bids)** published by hundreds of **US and Canada local government agencies** on the **Bonfire / Euna Procurement** platform. Get a clean, normalized feed of solicitations — with type, budget, deadline and addenda — without logging in and without writing a parser for every portal.

Government agencies publish bids on thousands of fragmented portals, so monitoring them by hand is impossible. Incumbent aggregators (BidNet, DemandStar, GovWin, BidSync) charge **$100–500/month**. This Actor delivers the same public Bonfire data cheaply — you pay only for the opportunities you collect.

### What this Actor does

- Collects **open opportunities** from any Bonfire agency portal (`{slug}.bonfirehub.com`).
- **Normalizes** each opportunity: parses solicitation type (RFP/ITB/RFQ/CSP/…), estimated budget, and converts the closing date to UTC ISO 8601.
- Optionally enriches each opportunity with **public notices / addenda** (extension notices, revised scopes, Q&A) — never miss an addendum that could disqualify a bid.
- Covers **hundreds of agencies with one Actor**: every Bonfire portal shares the same public API, parameterized only by the agency subdomain.

### Who is it for

Contractors and suppliers selling to government, bid consultants, lead‑gen and market‑intelligence services that build products on procurement data.

### 🚀 How to use

1. Pick agencies from the **Agency slugs** dropdown (subdomains like `dallascityhall`, `harriscountytx`), or type any other Bonfire slug manually.
2. (Optional) enable **Include notices** to also fetch addenda/change feed per opportunity.
3. (Optional) set **Maximum opportunities** to cap how many results (and your spend).
4. Run the Actor. Results stream into the dataset; export as JSON, CSV, Excel, or pull via API.
5. Schedule it (e.g. daily) to keep an up‑to‑date feed.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `agencySlugs` | string[] | yes | Bonfire agency subdomains, e.g. `dallascityhall`. Pick from suggestions or type your own. |
| `includeNotices` | boolean | no | Fetch public notices/addenda per opportunity (slower). Default `false`. |
| `maxItems` | integer | no | Maximum number of opportunities to return in total. Leave empty for no limit. |

```json
{
  "agencySlugs": ["dallascityhall", "harriscountytx"],
  "includeNotices": false
}
````

### Output

Each opportunity is one dataset record:

```json
{
  "agency": "dallascityhall",
  "projectId": "228905",
  "referenceId": "BHZ26-00029887",
  "title": "RFP - Event Production Services",
  "solicitationType": "RFP",
  "estimatedBudget": 948500,
  "estimatedBudgetCurrency": "USD",
  "closeDate": "2026-05-29T18:00:00.000Z",
  "closeDateRaw": "2026-05-29 18:00:00",
  "departmentId": "1013",
  "url": "https://dallascityhall.bonfirehub.com/opportunities/228905",
  "scrapedAt": "2026-05-29T10:00:00.000Z",
  "notices": [
    {
      "threadId": "t1",
      "subject": "Addendum No. 1 has been uploaded",
      "content": "See revised scope of work.",
      "dateCreated": "2026-05-20T12:00:00.000Z"
    }
  ]
}
```

`notices` is present only when **Include notices** is enabled.

### How it works

The Actor calls Bonfire's **public** endpoints (no login required):

- **Open opportunities list** — `GET /PublicPortal/getOpenPublicOpportunitiesSectionData` per agency.
- **Public notices** (optional) — `GET /opportunitiessingle/getpublicnotices/{projectId}`, joined by message thread.

A failing agency never aborts the run (each agency is isolated), and a failed notices fetch never drops the opportunity itself.

### Pricing

**Pay‑per‑event** — you pay per opportunity returned, far below the $100–500/month incumbents:

- Basic — charged per opportunity (open‑opportunities list).
- Premium (**Include notices**) — charged at a higher per‑opportunity rate; adds the addenda/change feed.

Failed agencies are never charged — only delivered opportunities are. Cap your spend with the run budget and the **Maximum opportunities** input.

### Limitations & notes

- **Closing‑date timezone:** Bonfire returns `DateClose` in UTC, so `closeDate` is exposed as UTC ISO 8601 (verified against the portal's displayed local time); the original string is kept in `closeDateRaw`.
- **Scale / anti‑bot:** portals sit behind Cloudflare. At scale, run with **Apify Proxy** (datacenter, escalating to residential) to avoid rate limiting.
- **Agency discovery:** the slug list is best‑effort (sourced from Common Crawl). New agencies can be added to the input as you find them.

### Legality

This Actor collects only **publicly available** data that agencies are legally required to publish for transparency. It does not access anything behind a login and respects rate limits.

### ❓ FAQ

**Do I need a Bonfire / Euna login?** No. The Actor uses only public endpoints; login is required only to download documents or submit a bid, which it does not do.

**Which agencies are supported?** Any agency portal on Bonfire (`{slug}.bonfirehub.com`). Pick from the suggested list or enter any other slug.

**What happens if I enter an agency slug that doesn't exist?** It is skipped and reported as failed — the run continues with the other agencies, and you are not charged for it.

**How do I avoid missing an addendum?** Enable **Include notices** to pull each opportunity's public notices/addenda (extensions, revised scopes, Q\&A).

**How fresh is the data?** It reflects each portal at run time. Schedule the Actor (e.g. daily) for a continuously updated feed.

**Why is `closeDate` in UTC?** Deadlines are normalized to UTC ISO 8601 for reliable comparison; the original agency string is kept in `closeDateRaw`.

### 🛟 Support & feedback

Found a missing agency, a bug, or have a feature request? Open an issue on the Actor's **Issues** tab and we'll take a look.

# Actor input Schema

## `agencySlugs` (type: `array`):

Bonfire agency subdomains to scrape. Pick from the suggested list or type any other slug, e.g. "dallascityhall". Suggestions are all discovered agencies (some unverified); see docs/agencies/slugs.md.

## `includeNotices` (type: `boolean`):

Premium: fetch public notices/addenda per opportunity (endpoint B). Slower (one extra request per opportunity).

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

Maximum number of opportunities to return in total across all agencies. Leave empty for no limit.

## Actor input object example

```json
{
  "agencySlugs": [
    "dallascityhall",
    "harriscountytx"
  ],
  "includeNotices": false
}
```

# Actor output Schema

## `opportunities` (type: `string`):

Normalized open opportunities (RFPs/tenders/bids) in the default dataset.

# 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 = {
    "agencySlugs": [
        "dallascityhall",
        "harriscountytx"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gallant_illustration/bonfire-procurement-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 = { "agencySlugs": [
        "dallascityhall",
        "harriscountytx",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gallant_illustration/bonfire-procurement-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "agencySlugs": [
    "dallascityhall",
    "harriscountytx"
  ]
}' |
apify call gallant_illustration/bonfire-procurement-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=gallant_illustration/bonfire-procurement-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Bonfire / Euna Procurement Opportunities Scraper",
        "description": "Open RFPs/tenders across hundreds of US/Canada local government agencies on Bonfire (Euna).",
        "version": "0.0",
        "x-build-id": "1pGAKsGVTp9aYf9j3"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gallant_illustration~bonfire-procurement-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gallant_illustration-bonfire-procurement-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/gallant_illustration~bonfire-procurement-scraper/runs": {
            "post": {
                "operationId": "runs-sync-gallant_illustration-bonfire-procurement-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/gallant_illustration~bonfire-procurement-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-gallant_illustration-bonfire-procurement-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "agencySlugs"
                ],
                "properties": {
                    "agencySlugs": {
                        "title": "Agency slugs",
                        "type": "array",
                        "description": "Bonfire agency subdomains to scrape. Pick from the suggested list or type any other slug, e.g. \"dallascityhall\". Suggestions are all discovered agencies (some unverified); see docs/agencies/slugs.md.",
                        "items": {
                            "type": "string",
                            "enumSuggestedValues": [
                                "akronohio",
                                "alamedactc",
                                "alleghenycounty",
                                "alleghenycountydhs",
                                "anthc",
                                "atlanticcape",
                                "baaqmd",
                                "bahamas",
                                "bannockcounty",
                                "bellinghampublicschools",
                                "beltline",
                                "bendoregon",
                                "bernco",
                                "bgky",
                                "bloomingtontransit",
                                "bouldercounty",
                                "brazoriacounty",
                                "broward",
                                "buckeyeaz",
                                "cabq",
                                "caribbeanclimate",
                                "cayman",
                                "ccc",
                                "centro",
                                "chahousing",
                                "charlottenc",
                                "chathamcountyga",
                                "cherokeek12",
                                "chicagoparkdistrict",
                                "ci-lubbock-tx",
                                "cityoflewisville",
                                "cityofmilwaukee",
                                "cityofvancouver",
                                "clarkcountynv",
                                "claytonk12ga",
                                "co-bergen-nj",
                                "co-potter-tx",
                                "cogreggtx",
                                "colliersheriff",
                                "columbus",
                                "comalisd",
                                "cor",
                                "countymilwaukee",
                                "cscisd",
                                "cyfd",
                                "dallascityhall",
                                "dart",
                                "delmar",
                                "deswa",
                                "detroit",
                                "dfwairport",
                                "eanesisd",
                                "fargond",
                                "fau",
                                "flvs",
                                "fortbendcountytx",
                                "fortbendisd",
                                "fortworthtexas",
                                "fwhs",
                                "gatewayprogram",
                                "ggbhtd",
                                "glastonburyct",
                                "glwater",
                                "gohart",
                                "goodyearaz",
                                "gov-bb",
                                "greenvillewater",
                                "gulfshores",
                                "habc",
                                "harriscountytx",
                                "healthsolutions",
                                "help4seniors",
                                "hiltonheadislandsc",
                                "homesa",
                                "iehp",
                                "indigo",
                                "indygo",
                                "ipas",
                                "ircsheriff",
                                "joliet",
                                "kcmo",
                                "kelloggllc",
                                "kipda",
                                "kipptexas",
                                "kyhousing",
                                "lawa",
                                "leeschools",
                                "losalamosnm",
                                "louisvilleky",
                                "louisvillemsd",
                                "louisvillewater",
                                "ltgov",
                                "marionfl",
                                "marshall",
                                "mckinneytexas",
                                "mct-act",
                                "mdstad",
                                "menv",
                                "metra",
                                "montereycoe",
                                "mountainline-az-gov",
                                "mrscrosters",
                                "mtc",
                                "nato",
                                "newmexicohsd",
                                "nmdps",
                                "nmmi",
                                "norwichct",
                                "npc",
                                "nrpbsxm",
                                "nsd",
                                "olatheks",
                                "palmcoastgov",
                                "pascocountyfl",
                                "pennbid",
                                "philaport",
                                "portofeverett",
                                "portofgalveston",
                                "portofskagit",
                                "portolympia",
                                "preservationtrust",
                                "psta",
                                "reevescounty",
                                "ridedart",
                                "ridemetro",
                                "rocklandgov",
                                "rsdmo",
                                "saha",
                                "saisd",
                                "sara-tx",
                                "sccpss",
                                "sedonaaz",
                                "soltrans",
                                "sonomamarintrain",
                                "staffordnj",
                                "stlcc",
                                "stlucieschools",
                                "sutter",
                                "swib",
                                "tampabaywater",
                                "tarc",
                                "tempe-gov",
                                "townofbarnstable",
                                "transitchicago",
                                "tsc",
                                "tulsatransit",
                                "twc-texas-gov",
                                "txdot",
                                "ua",
                                "unionps",
                                "utah",
                                "utdallas",
                                "ute-gouv-ht",
                                "utexas",
                                "uthscsa",
                                "uttyler",
                                "ventura",
                                "waco-texas",
                                "wake",
                                "wallingford",
                                "waukeshacounty",
                                "westada",
                                "weta",
                                "wfsdallas",
                                "workforcesolutionsalamo",
                                "workforcesolutionsrca"
                            ]
                        }
                    },
                    "includeNotices": {
                        "title": "Include notices (addenda)",
                        "type": "boolean",
                        "description": "Premium: fetch public notices/addenda per opportunity (endpoint B). Slower (one extra request per opportunity).",
                        "default": false
                    },
                    "maxItems": {
                        "title": "Maximum opportunities",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of opportunities to return in total across all agencies. Leave empty for no limit."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
