# Canada Tenders Scraper - Federal, Quebec, Nova Scotia (`truenorthdata/canada-tenders-scraper`) Actor

Canadian government tenders from 3 official sources: all federal (CanadaBuys), Quebec public sector (SEAO), Nova Scotia awarded contracts with vendors and amounts. Filters + incremental monitoring.

- **URL**: https://apify.com/truenorthdata/canada-tenders-scraper.md
- **Developed by:** [Vadim Zabin](https://apify.com/truenorthdata) (community)
- **Categories:** Lead generation, Agents, Jobs
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

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

## Canada Tenders Scraper — Federal + Québec (CanadaBuys, SEAO)

The only Actor that combines **two official Canadian government tender sources in one normalized feed**:

- **CanadaBuys** — every federal tender notice (Government of Canada system of record)
- **SEAO** — Québec's entire public sector: ministries, municipalities, health care, education
- **Nova Scotia** — awarded public tenders across government and the MASH sector, with **winning vendor and award amount in CAD**

Filter by keyword, procurement category, region, UNSPSC code and closing date. Built exclusively on official open data (Open Government Licence – Canada, CC-BY Québec) — no proxies, no blocks, no login.

### Why this Actor?

- **Widest coverage.** Other actors return only the federal CSV. This one adds the Québec public sector — thousands of provincial and municipal opportunities others miss. More provinces (Ontario, BC) are on the roadmap.
- **One schema.** Both sources are normalized into the same clean record: title, buyer, category, UNSPSC, closing date, contact, notice URL, source, jurisdiction.
- **Built for monitoring.** Turn on *Incremental mode* and schedule daily/weekly runs: you only get (and pay for) tenders you haven't seen before.
- **Filters that save you money.** You only pay for records that match your keywords, categories, regions and closing window.
- **Award data (Québec).** Optionally include awarded contracts with values in CAD — useful for market research and competitor analysis.

### Use cases

- Contractors and consultants monitoring RFPs in their industry or province
- Bid-writing agencies tracking opportunities for clients across jurisdictions
- Market research on government spending (who buys what, award values)
- Feeding procurement data into AI agents, CRMs or Slack alerts via the Apify API

### Input example

```json
{
    "sources": ["canadabuys", "seao"],
    "keywords": ["software", "cloud", "informatique"],
    "closingWithinDays": 30,
    "onlyNewSinceLastRun": true,
    "maxResults": 500
}
````

Tip: SEAO titles are in French — add French keywords (e.g. "informatique", "construction") to catch Québec tenders.

### Output example

```json
{
    "id": "ocds-ec9k95-20068432",
    "titleFr": "Services d'architecture — rénovation école primaire",
    "solicitationNumber": "CFP-2526-009",
    "publicationDate": "2026-06-28",
    "closingDate": "2026-07-25T14:00:00-04:00",
    "status": "active",
    "procurementCategory": "services",
    "buyerOrg": "Ville de Montréal",
    "regionsOfDelivery": "Quebec",
    "unspsc": "81110000",
    "noticeUrl": "https://seao.gouv.qc.ca/avis-resultat-recherche/consulter?ItemId=...",
    "source": "seao",
    "jurisdiction": "quebec",
    "country": "CA"
}
```

### FAQ

**How fresh is the data?** CanadaBuys publishes new tenders every 2 hours; the full open-tenders file refreshes daily. SEAO publishes weekly open-data files; the Actor automatically picks the newest ones from the Données Québec catalogue.

**Which provinces are covered?** Federal (all of Canada) + Québec open tenders + Nova Scotia awarded contracts. Ontario and BC are next — open an issue to vote.

**How do I get alerts for new tenders?** Enable `onlyNewSinceLastRun`, save your filters as a Task, add a Schedule, and connect email/Slack via Apify integrations.

**How do I scrape Canadian government tenders without coding?** Press *Run* — the default input returns current federal + Québec tenders as a table you can export to Excel, CSV or JSON.

# Actor input Schema

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

CanadaBuys = all federal tenders. SEAO = Quebec public sector. Nova Scotia = awarded public tenders (gov + municipalities, academic, health) with winning vendor and amount.

## `dataset` (type: `string`):

'open' = all tenders currently open for bidding (refreshed daily). 'new' = tenders published today (refreshed every 2 hours).

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

Only include tenders whose title or description (EN or FR) contains at least one of these keywords. Case-insensitive. Leave empty for all.

## `procurementCategories` (type: `array`):

CNST = construction, GD = goods, SRV = services, SRVTGD = services related to goods. Leave empty for all.

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

Only include tenders whose delivery region contains one of these strings, e.g. "Ontario", "British Columbia", "Quebec". Leave empty for all of Canada.

## `unspscPrefixes` (type: `array`):

Only include tenders whose UNSPSC code starts with one of these prefixes, e.g. "43" for IT. Leave empty for all.

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

Only include tenders that close within this many days from now. 0 = no limit.

## `onlyNewSinceLastRun` (type: `boolean`):

Skip tenders already returned by previous runs of this task. Ideal for scheduled monitoring - you only pay for new records.

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

Hard cap on the number of records returned (cost guard).

## `includeRawRow` (type: `boolean`):

Attach the complete original CSV row under the 'raw' key of each record.

## `seaoWeeksBack` (type: `integer`):

How many recent weekly SEAO files to read (each file = one week of notices).

## `seaoIncludeAwarded` (type: `boolean`):

Also return awarded/completed Quebec contracts (with award value in CAD), not only open notices.

## `nsAwardedWithinDays` (type: `integer`):

Only NS tenders awarded in the last N days.

## Actor input object example

```json
{
  "sources": [
    "canadabuys",
    "seao",
    "novascotia"
  ],
  "dataset": "open",
  "keywords": [],
  "procurementCategories": [],
  "regions": [],
  "unspscPrefixes": [],
  "closingWithinDays": 0,
  "onlyNewSinceLastRun": false,
  "maxResults": 500,
  "includeRawRow": false,
  "seaoWeeksBack": 4,
  "seaoIncludeAwarded": false,
  "nsAwardedWithinDays": 365
}
```

# 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("truenorthdata/canada-tenders-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 = {}

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Canada Tenders Scraper - Federal, Quebec, Nova Scotia",
        "description": "Canadian government tenders from 3 official sources: all federal (CanadaBuys), Quebec public sector (SEAO), Nova Scotia awarded contracts with vendors and amounts. Filters + incremental monitoring.",
        "version": "0.3",
        "x-build-id": "K8h7g3ucqT32XRyVD"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/truenorthdata~canada-tenders-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-truenorthdata-canada-tenders-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/truenorthdata~canada-tenders-scraper/runs": {
            "post": {
                "operationId": "runs-sync-truenorthdata-canada-tenders-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/truenorthdata~canada-tenders-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-truenorthdata-canada-tenders-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",
                "properties": {
                    "sources": {
                        "title": "Data sources",
                        "type": "array",
                        "description": "CanadaBuys = all federal tenders. SEAO = Quebec public sector. Nova Scotia = awarded public tenders (gov + municipalities, academic, health) with winning vendor and amount.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "canadabuys",
                                "seao",
                                "novascotia"
                            ],
                            "enumTitles": [
                                "CanadaBuys (Federal)",
                                "SEAO (Quebec)",
                                "Nova Scotia (awarded contracts)"
                            ]
                        },
                        "default": [
                            "canadabuys",
                            "seao",
                            "novascotia"
                        ]
                    },
                    "dataset": {
                        "title": "CanadaBuys: which tenders",
                        "enum": [
                            "open",
                            "new"
                        ],
                        "type": "string",
                        "description": "'open' = all tenders currently open for bidding (refreshed daily). 'new' = tenders published today (refreshed every 2 hours).",
                        "default": "open"
                    },
                    "keywords": {
                        "title": "Keywords",
                        "type": "array",
                        "description": "Only include tenders whose title or description (EN or FR) contains at least one of these keywords. Case-insensitive. Leave empty for all.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "procurementCategories": {
                        "title": "Procurement categories",
                        "type": "array",
                        "description": "CNST = construction, GD = goods, SRV = services, SRVTGD = services related to goods. Leave empty for all.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "CNST",
                                "GD",
                                "SRV",
                                "SRVTGD"
                            ],
                            "enumTitles": [
                                "Construction",
                                "Goods",
                                "Services",
                                "Services related to goods"
                            ]
                        },
                        "default": []
                    },
                    "regions": {
                        "title": "Regions of delivery",
                        "type": "array",
                        "description": "Only include tenders whose delivery region contains one of these strings, e.g. \"Ontario\", \"British Columbia\", \"Quebec\". Leave empty for all of Canada.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "unspscPrefixes": {
                        "title": "UNSPSC code prefixes",
                        "type": "array",
                        "description": "Only include tenders whose UNSPSC code starts with one of these prefixes, e.g. \"43\" for IT. Leave empty for all.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "closingWithinDays": {
                        "title": "Closing within N days",
                        "minimum": 0,
                        "maximum": 365,
                        "type": "integer",
                        "description": "Only include tenders that close within this many days from now. 0 = no limit.",
                        "default": 0
                    },
                    "onlyNewSinceLastRun": {
                        "title": "Incremental mode (only new since last run)",
                        "type": "boolean",
                        "description": "Skip tenders already returned by previous runs of this task. Ideal for scheduled monitoring - you only pay for new records.",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Hard cap on the number of records returned (cost guard).",
                        "default": 500
                    },
                    "includeRawRow": {
                        "title": "Include raw source row",
                        "type": "boolean",
                        "description": "Attach the complete original CSV row under the 'raw' key of each record.",
                        "default": false
                    },
                    "seaoWeeksBack": {
                        "title": "SEAO: weeks of data",
                        "minimum": 1,
                        "maximum": 12,
                        "type": "integer",
                        "description": "How many recent weekly SEAO files to read (each file = one week of notices).",
                        "default": 4
                    },
                    "seaoIncludeAwarded": {
                        "title": "SEAO: include awarded contracts",
                        "type": "boolean",
                        "description": "Also return awarded/completed Quebec contracts (with award value in CAD), not only open notices.",
                        "default": false
                    },
                    "nsAwardedWithinDays": {
                        "title": "Nova Scotia: awarded within N days",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Only NS tenders awarded in the last N days.",
                        "default": 365
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
