# Bonfire Public Tenders API

> Open public procurement opportunities (RFPs, tenders) of agencies using Bonfire in Canada

- Vendor: `bonfirepublictendersapi` · version 1.0 · category Government Data · tags public tenders api, procurement api, rfp api, government bids api, canada tenders api, bid opportunities api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/bonfirepublictendersapi
- This document: https://apiclay.com/docs/bonfirepublictendersapi.md
- OpenAPI 3.1: https://apiclay.com/api/bonfirepublictendersapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `bonfirepublictendersapi`
- Updated: 2026-11-18

## About

## Bonfire Public Tenders API

The open procurement opportunities (RFPs, RFQs, tenders, rosters) that a public agency publishes on its Bonfire portal: reference number, title, closing date and status.

Data comes from **bonfirehub.ca** (https://bonfirehub.ca). Every route calls the source's own public JSON endpoint (found with the live-URL scan of https://bonfirehub.ca) and returns it unchanged.

Typical flow: take the agency from its portal URL (`victoria.bonfirehub.ca` -&gt; `victoria`) and call `/opportunities`.

### Routes

#### GET `/opportunities` - Open opportunities of an agency
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| agency | path | string | yes | Bonfire portal subdomain on bonfirehub.ca, e.g. `victoria`. |

Returns: `payload.projects` keyed by id, each with `ReferenceID`, `ProjectName`, `DateClose`, `ProjectStatusID`, `DepartmentID`.

### Caveats

- Covers agencies on bonfirehub.ca; an unknown agency subdomain does not resolve.
- Bid documents and submissions need a supplier account on the portal and are not included.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by bonfirehub.ca.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /opportunities — Open opportunities of an agency
- Gateway: `GET https://api.apiclay.com/v1/api/bonfirepublictendersapi/opportunities`
- Public query params: `agency` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/bonfirepublictendersapi/opportunities?agency=<agency>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
