# Canada Public Tenders (CanadaBuys tender notices) (`darikami/canada-public-tenders`) Actor

Federal tender notices of Canada from CanadaBuys's daily open data: title, buyer, closing date, category, region of delivery, GSIN and UNSPSC codes, trade agreements, notice link. Open notices, new ones, or a fiscal year. Filter by words, buyer, category, region, dates, codes.

- **URL**: https://apify.com/darikami/canada-public-tenders.md
- **Developed by:** [DARIKAMI GmbH](https://apify.com/darikami) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 tender notice delivereds

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

## Canada Public Tenders (CanadaBuys tender notices)

**The federal tender notices of Canada from CanadaBuys's official open data: the open notices (913 on 2026-11-06), the newest ones, or a whole fiscal year (3,917 in 2026-2027 so far).**
Each item has the reference and solicitation number, the title in English and French, the buyer, the status, the category, the dates, the regions of delivery, the GSIN and UNSPSC codes, the trade agreements, the description and the link to the notice.
**USD 0.003 per notice (USD 3 per 1,000).** Filter by words, buyer, category, region, dates and codes, or look up reference numbers. You pay only for the notices delivered.

| Reference | Title | Buyer | Published | Closing |
|---|---|---|---|---|
| MX-243100787103 | Park Prestige - Structural & System Repairs | VIA Rail Canada Inc. | 2026-11-05 | 2026-12-15 |
| MX-243100690952 | APN-General Safety Training Services, BC | Defence Construction Canada - Pacific Region | 2026-10-26 | 2026-12-05 |
| MX-444171758619 | APN - BASE JANITORIAL SERVICES CFB SHILO, MANITOBA | Defence Construction Canada - Western Region | 2026-09-23 | 2026-11-23 |
| MX-243100732115 | Leadership Assessment and Coaching Services | Export Development Canada - EDC | 2026-10-30 | 2026-12-04 |
| MX-243100575639 | Media monitoring and newsletter production services | Business Development Bank of Canada | 2026-10-21 | 2026-11-16 |

The rows come from a real cloud run of 2026-11-06: open notices in the category services, at most 5. The full item is under Output.

### Who uses it

- **B2G sales and bid desks:** the open tenders of the week by category, region and buyer, with the closing date and the link to the notice.
- **Tender alerts:** run it every day with the `new` file and your words, and send the result on.
- **Market research:** the notices of a fiscal year by buyer, category and trade agreement.

### What it does not do

- Tender notices only. No award notices and no contract history.
- No tender documents. The item gives the link to the notice (and the attachment links the notice lists). The buyer's tender site holds the documents.
- The contact person of a notice is not returned: no name, e-mail, telephone or fax. A name written into the description can remain.
- A fiscal year file holds the notices that are expired or cancelled. Open notices are in the `open` file. A notice that stands in both comes back once.
- The files are renewed about once a day. A new notice appears with the next renewal.

### Input

```json
{
  "sources": ["open"],
  "query": "software",
  "categories": ["SRV"],
  "regions": ["Ontario"],
  "closingFrom": "2026-11-15",
  "maxResults": 1000
}
```

All fields are optional. An empty input returns the first 1,000 open notices.

| Field | What it does |
|---|---|
| `sources` | `open` (the default), `new` (published in the last day), or a fiscal year: `2026-2027`, `2025-2026`, `2024-2025`, `2023-2024`, `2022-2023`. |
| `query` | Words of the title or description, English or French. Each word must start a word of the text. Case and accents are ignored. |
| `statuses` | `open`, `expired`, `cancelled`. |
| `categories` | `GD` (goods), `SRV` (services), `CNST` (construction), `SRVTGD` (services related to goods). |
| `regions` | Words of a region of delivery, for example `Ontario`, `Quebec`, `Canada`. |
| `buyer` | Words of the contracting entity's name. |
| `codes` | A GSIN code (`D304A`) or an UNSPSC code (`43211500`) starts with one of these. |
| `publishedFrom`, `publishedTo`, `closingFrom`, `closingTo` | Date ranges, both days included (YYYY-MM-DD). |
| `referenceNumbers` | Look up notices by reference number or solicitation number. |
| `maxResults` | The run stops after this number of notices. Default 1,000. |

A notice must pass every filter that you set.
A number that is not found comes back as a free `not-found` item. Up to 5,000 numbers per run.

### Output

One item per notice. `description` is the English text of the notice (up to a few thousand characters).

```json
{
  "id": "CA-CB-MX-243100787103",
  "referenceNumber": "MX-243100787103",
  "amendmentNumber": "000",
  "solicitationNumber": "202611001",
  "title": "Park Prestige - Structural & System Repairs",
  "titleFr": "Parc Prestige - Réparations Structurelles et de Systèmes",
  "status": "open",
  "categories": ["SRV"],
  "procurementMethod": "Competitive - Open bidding",
  "publicationDate": "2026-11-05",
  "closingDate": "2026-12-15T14:00:00",
  "expectedContractStart": "2027-04-01",
  "tradeAgreements": ["Canadian Free Trade Agreement (CFTA)", "World Trade Organization Agreement on Government Procurement (WTO GPA)"],
  "buyer": "VIA Rail Canada Inc.",
  "buyerCity": "Montreal",
  "buyerProvince": "Quebec",
  "noticeUrl": "https://www.merx.com/public/solicitations/4179848305/abstract?language=EN",
  "personalDataRemoved": false,
  "file": "openTenderNotice-ouvertAvisAppelOffres.csv",
  "fileDate": "2026-11-06"
}
```

The item has more fields (shortened here): `noticeType`, `amendmentDate`, `gsin`, `unspsc` and their descriptions, `regionsOfDelivery`, `endUserEntities`, `attachments`, `description`, `source`.

- `id`: `CA-CB-` and the reference number.
- `closingDate`: as the file writes it, local time of the buyer, without an offset.
- `personalDataRemoved`: true when the privacy filter changed the description.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `notice` | **USD 0.003** | one notice that matched your filters or numbers, pushed to the dataset |

Free: rows that your filters drop, error items, `not-found` items and the note "nothing matched".
1,000 notices cost USD 3.
You pay no more than the maximum charge that you set for a run.

### Personal data

- The contact columns of the files (name, e-mail, telephone, fax, address of the contact person) are not read.
- In the description, e-mail addresses and telephone numbers are replaced by `[removed]`, and so is the rest of a line after a label such as "Contact:", "Attention:", "Contracting Authority:" or "addressed in writing to:", and a name directly before a job title. Such a line can also hold plain text. On 2026-11-07 the filter changed 264 of 913 open notices.
- The filter works on patterns. A name with no label and no title beside it can remain.

### Data source and terms

- **Source:** CanadaBuys tender notices, open data of Public Services and Procurement Canada on open.canada.ca: `https://open.canada.ca/data/en/dataset/6abd20d4-7a1c-4b38-baa2-9525d0bb2fd2`. The actor reads the CSV files `openTenderNotice`, `newTenderNotice` and the fiscal year files from `https://canadabuys.canada.ca/opendata/pub/`.
- **Licence:** Open Government Licence - Canada (`https://open.canada.ca/en/open-government-licence-canada`, read 2026-11-05): "The Information Provider grants you a worldwide, royalty-free, perpetual, non-exclusive licence to use the Information, including for commercial purposes, subject to the terms below."
  Every item carries the attribution the licence asks for: "Contains information licensed under the Open Government Licence – Canada."
- This actor is not endorsed by CanadaBuys or the Government of Canada. It is provided without warranty. The notice at `noticeUrl` is the official text.

### Reliability

A run fails with exit code 1 and an `ERROR` line in the log in these cases:

- a file cannot be downloaded or breaks off;
- a file has a changed format (a column is missing);
- a file holds far fewer rows than before.

The notices found until then stay in the dataset.
The run summary is in the default key-value store under `SUMMARY`, the counts under `STATS`.

**More official-data actors by darikami:** [UK public tenders](https://apify.com/darikami/uk-public-tenders) · [EU public tenders (TED)](https://apify.com/darikami/eu-public-tenders) · [German public tenders](https://apify.com/darikami/german-public-tenders) · [US federal contract opportunities (SAM.gov)](https://apify.com/darikami/us-federal-contract-opportunities).
In an AI agent: ask the Apify MCP server (`mcp.apify.com`) for `darikami/canada-public-tenders`.

# Actor input Schema

## `sources` (type: `array`):

Which CanadaBuys files to read. Empty: the open notices. A fiscal year file holds the notices of that year that are expired or cancelled (April to March); a notice that stands in two files comes back once.

## `query` (type: `string`):

Words of the title or description (English or French). Each word must start a word of the text; case and accents are ignored.

## `statuses` (type: `array`):

Empty: every status in the files read.

## `categories` (type: `array`):

Empty: all categories.

## `regions` (type: `array`):

Keep notices that list a region of delivery containing one of these words, for example Ontario, Quebec, Canada, National Capital Region.

## `buyer` (type: `string`):

Words of the contracting entity's name, for example public works or shared services.

## `codes` (type: `array`):

Keep notices with a GSIN code (for example D304A) or an UNSPSC code (for example 43211500) that starts with one of these.

## `publishedFrom` (type: `string`):

First publication date (YYYY-MM-DD), included.

## `publishedTo` (type: `string`):

Last publication date (YYYY-MM-DD), included.

## `closingFrom` (type: `string`):

First closing date (YYYY-MM-DD), included.

## `closingTo` (type: `string`):

Last closing date (YYYY-MM-DD), included.

## `referenceNumbers` (type: `array`):

Look up these notices by reference number (for example MX-243100787103) or solicitation number. A number not found comes back as a free not-found item. Up to 5,000.

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

The run stops after this number of notices.

## Actor input object example

```json
{
  "query": "software",
  "maxResults": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

One item per notice: reference and solicitation number, title, buyer, status, categories, dates, regions, codes, description, notice link.

## `summary` (type: `string`):

SUMMARY record: pushed, charged, attempts, errors, stoppedByBudget, ok, message.

## `stats` (type: `string`):

STATS record: the files read (date, bytes, rows, complete), rows, duplicates, matched, emitted, charged, descriptions changed by the privacy filter, numbers not found.

# 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 = {
    "query": "software"
};

// Run the Actor and wait for it to finish
const run = await client.actor("darikami/canada-public-tenders").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 = { "query": "software" }

# Run the Actor and wait for it to finish
run = client.actor("darikami/canada-public-tenders").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 '{
  "query": "software"
}' |
apify call darikami/canada-public-tenders --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,darikami/canada-public-tenders"
        }
    }
}
```

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/8b6dRKS60vhLVQtsB/builds/RqIdvHwEV7BNUlm0B/openapi.json
