# CanadaBuys Tenders Scraper (Canadian Government Bids) (`oddsdesk/canadabuys-tenders`) Actor

Open Canadian federal tenders from the official CanadaBuys open data: title, buyer, closing date, category, UNSPSC/GSIN codes, regions, trade agreements, full description and the link to bid. Filter by keyword, category, region, buyer or closing date. Built for B2G sales teams.

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

## Pricing

from $2.00 / 1,000 result rows

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

## CanadaBuys Tender Notices Scraper

**CanadaBuys Tenders Scraper** turns the official **CanadaBuys** open data into a clean list of open Canadian government tenders: title, buyer and end-user department, publication and closing dates, category, UNSPSC and GSIN commodity codes, trade agreements, delivery regions, the full description and the link to the bid documents. Amendments are merged so you get the latest version of each notice.

### What you can do with it

- **B2G sales teams:** a daily list of new federal opportunities that match what you sell.
- **Bid consultants:** monitor many categories and regions for clients.
- **Market research:** see what the Government of Canada buys and when.

### How to use it

1. Pick **All open tenders** or **New today**.
2. Optional: keywords, categories, regions, buyers, closing within N days.
3. Click **Start**. The whole open-tender file is read in seconds.

**Example input**

```json
{
  "which": "open",
  "maxItems": 30
}
```

### What you get

| Field | Meaning |
|---|---|
| `referenceNumber` | CanadaBuys reference number |
| `solicitationNumber` | Solicitation number |
| `title` | Title |
| `status` | Status |
| `publishedDate` | Date published |
| `closingDate` | Bid closing date and time |
| `amendmentNumber` | Amendment number (000 = original) |
| `amendmentDate` | Date of the latest amendment |
| `categories` | Goods, services or construction |
| `noticeType` | Notice type code |
| `procurementMethod` | Open tender, limited tender, prequalified tender... |
| `gsin` | GSIN commodity codes |
| `gsinDescription` | GSIN descriptions |
| `unspsc` | UNSPSC commodity code(s) |
| `unspscDescription` | UNSPSC descriptions |
| `tradeAgreements` | Trade agreements that apply |
| `regionsOfOpportunity` | Regions where suppliers can bid from |
| `regionsOfDelivery` | Where the work is delivered |
| `selectionCriteria` | How the winner is chosen |
| `contractingEntity` | Buying organization |
| `contractingEntityCity` | Buyer city |
| `contractingEntityProvince` | Buyer province |
| `endUserEntity` | Department the purchase is for |
| `expectedStart` | Expected contract start |
| `expectedEnd` | Expected contract end |
| `description` | Description |
| `url` | Link to the record on the official site |
| `attachments` | Links to tender documents |
| `fetchedAt` | When this Actor fetched the row |

**Example row (real output)**

```json
{
  "referenceNumber": "MX-243100875897",
  "solicitationNumber": "CNTR0026890",
  "title": "AI Voice, Audio and Accessibility RFP",
  "status": "Open",
  "publishedDate": "2026-11-23",
  "closingDate": "2027-01-05T15:00:00",
  "amendmentNumber": "000",
  "amendmentDate": null,
  "categories": [
    "Goods",
    "Services"
  ],
  "noticeType": null,
  "procurementMethod": "Competitive - Open bidding",
  "gsin": null,
  "gsinDescription": null,
  "unspsc": null,
  "unspscDescription": null,
  "tradeAgreements": [
    "Canadian Free Trade Agreement (CFTA)",
    "Canada-European Union Comprehensive Economic and Trade Agreement (CETA)"
  ],
  "regionsOfOpportunity": null,
  "regionsOfDelivery": null,
  "selectionCriteria": null,
  "contractingEntity": "Farm Credit Canada (FCC)",
  "contractingEntityCity": "Regina",
  "contractingEntityProvince": "Saskatchewan",
  "endUserEntity": null,
  "expectedStart": null,
  "expectedEnd": null,
  "description": "ABOUT FCC\r\n\r\nFCC is Canada&rsquo;s leading agriculture and food lender, dedicated to the industry that feeds the world. FCC employees are committed to the long-standing success of those who produce and process Canadian food by providing flexible financing, AgExpert business management software, info...",
  "url": "https://www.merx.com/public/solicitations/4207909158/abstract?language=EN",
  "attachments": null,
  "fetchedAt": "2026-11-24T23:56:26Z"
}
```

### Pricing

You pay per result: **$2.00 per 1,000 rows** ($0.002 per row), plus a small Apify start fee per run. Set **Max results** to cap the cost of any run. There's no monthly rental.

### Run it on a schedule

Most people use this Actor as a feed. In Apify Console, open **Schedules**, pick this Actor and a time (daily is typical), and connect an integration to send new rows to **Google Sheets, Slack, email, Zapier, Make, n8n or a webhook**. You can also call it from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Apify Python and JavaScript clients, or let an AI agent call it through the Apify MCP server.

### Good to know

- To bid, follow `url` or the attachments; some notices are hosted on partner platforms such as MERX or SAP Business Network.

### Is this allowed?

This Actor only reads **public tender notices from CanadaBuys open data (Open Government Licence - Canada). Named contact persons are left out on purpose**. It does not log in anywhere or bypass any access control, and it is built to return business data, not personal data about individuals. You are responsible for using the data in line with the source's terms and the laws that apply to you (for example GDPR and anti-spam rules if you use company contact data for outreach).

*Not affiliated with or endorsed by the Government of Canada or Public Services and Procurement Canada. Data is provided as-is from the official source.*

### Questions, bugs, ideas

Open an issue on the **Issues** tab and I'll look into it. If a source changes and something breaks, I fix it; Apify also tests this Actor automatically every day. Feature requests (a new field, a new filter, another source) are welcome.

More data tools from the same developer: [apify.com/oddsdesk](https://apify.com/oddsdesk).

# Actor input Schema

## `which` (type: `string`):

All currently open tender notices, or only the ones published in the last day.

## `keywords` (type: `array`):

Only keep tenders whose title, description or commodity codes contain any of these words. Example: software, translation, snow removal.

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

Only keep these procurement categories. Leave empty for all.

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

Only keep tenders whose delivery or opportunity region or buyer province contains any of these. Example: Ontario, Quebec, National Capital Region.

## `entities` (type: `array`):

Only keep tenders from buyers whose name contains any of these. Example: Public Works, National Defence.

## `closingWithinDays` (type: `integer`):

Only keep tenders that close in the next N days.

## `publishedWithinDays` (type: `integer`):

Only keep tenders published in the last N days.

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

Maximum number of rows to return. You pay per row, so this also caps your cost.

## Actor input object example

```json
{
  "which": "open",
  "maxItems": 500
}
```

# Actor output Schema

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

One row per result, as described in the README.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("oddsdesk/canadabuys-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("oddsdesk/canadabuys-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 '{}' |
apify call oddsdesk/canadabuys-tenders --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,oddsdesk/canadabuys-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/qbeNc1vDnCrDPseQO/builds/QeZ206Tqoc2jZYtXA/openapi.json
