# Canada Job Bank Open Data (`openroles_dev/canada-job-bank`) Actor

Every job posting on Canada's national Job Bank, month by month, from the Government of Canada's open data: title, occupation code, wage, hours, place, vacancies and terms. Filter by province, city, title or NOC code.

- **URL**: https://apify.com/openroles_dev/canada-job-bank.md
- **Developed by:** [openroles_dev](https://apify.com/openroles_dev) (community)
- **Categories:** Jobs
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 postings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Job Bank Open Data

**Every job posting advertised on Canada's national Job Bank, month by month, as clean rows for labour-market research, wage benchmarks, recruiting plans or an AI agent.** See who is hiring for which occupations, where, at what wage and on what terms: 59,130 postings in October 2026 alone, with months back to January 2023.

### What you get

One row per posting:

| Field | Example |
|---|---|
| month | 2026-10 |
| title | LAN (local area network) manager |
| noc2021Code | 22220 |
| noc2021Title | Computer network and web technicians |
| firstPostedOn | 2026-10-26 |
| vacancies | 1 |
| province | Québec |
| city | Val-d'Or |
| economicRegion | Abitibi-Témiscamingue Region |
| postalArea | J9P |
| employmentType | Full time |
| schedule | \["Early morning", "Evening", "Weekend", "Overtime", "On call"] |
| salaryMin / salaryMax | 24 / 24 |
| salaryPer | Hour |
| hoursMin / hoursMax | 37.5 / 50 |
| postedVia | Job Bank |

Plus the NOC 2016 code and title, the employer's own title when it differs, employment term and dates, the salary as written, education, experience, language of work, industry, government employer, placement agency, `postingId`, `licence` and `scrapedAt`. Postings shared by Job Bank's partner job boards (`postedVia`: "partner job board") carry fewer details, so some fields are empty for them.

### How to use it

1. Choose **Months**: `latest` for the newest file, or months such as `2026-09`. Each month is published about a week after it ends.
2. Optionally filter by province or territory (name or code, such as `ON`), city, words in the title, or NOC 2021 code prefixes such as `2123` for software and web developers.
3. Run it. A summary of each month (rows read, postings returned) is saved in the run's `OUTPUT` record.

A whole month is large (October 2026 held 59,130 postings). Use filters and **Maximum postings** to take only what you need.

June to September 2024 were published in a different format without posting IDs, so rows from those four months have an empty `postingId`; everything else reads the same.

### Pricing

You pay per posting returned. Summaries, rows filtered out and months not yet published cost nothing.

### Licence and credit

The data comes from Employment and Social Development Canada's dataset *Job Postings Advertised on Canada's National Job Bank Website* on open.canada.ca, published under the [Open Government Licence – Canada](https://open.canada.ca/en/open-government-licence-canada), which allows commercial use and redistribution. The licence asks you to credit the source, so every row carries its statement in the `licence` field:

> Contains information licensed under the Open Government Licence – Canada.

Keep that statement with the data wherever you publish it. This actor is independent and is not affiliated with or endorsed by the Government of Canada or Job Bank.

### How it works, and what it does not do

- It reads only the official open data files listed in the open.canada.ca catalogue, streamed row by row. It never touches the Job Bank website itself.
- **Postings only, and no information about people.** The files carry no employer contact details, and the work location's postal code is cut to its first three characters, because a full Canadian postal code can point at a single building, sometimes a home.
- Columns that held only "No" or "NA" in every row (benefits and telework, in the October 2026 file) are left out rather than presented as facts.
- **No workarounds.** If any request is refused or challenged, the run stops and says so. It never retries around a block.

These are postings as advertised, not a count of every job in Canada, and they can contain the employer's errors. Using the data lawfully is your responsibility under the licence.

# Actor input Schema

## `months` (type: `array`):

Which monthly files to read: "latest" for the newest, or months as YYYY-MM, for example "2026-09". Files are published about a week into the following month; January 2023 is the earliest.

## `provinces` (type: `array`):

Keep only postings in these provinces or territories, by name or two-letter code, for example "ON" or "British Columbia". Leave empty for all of Canada.

## `cityContains` (type: `array`):

Keep only postings whose city contains one of these words, for example "Toronto". Accents are ignored. Leave empty for all cities.

## `titleContains` (type: `array`):

Keep only postings whose job title contains one of these words (not case sensitive, accents ignored). Leave empty for all titles.

## `nocCodes` (type: `array`):

Keep only postings whose National Occupational Classification 2021 code starts with one of these, for example "2" for natural and applied sciences, "2123" for software and web developers, or "21231" for software engineers and designers. Leave empty for all occupations.

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

Stop after this many postings. Each posting returned is one billed result. October 2026 held 59,130.

## Actor input object example

```json
{
  "months": [
    "latest"
  ],
  "provinces": [],
  "cityContains": [],
  "titleContains": [],
  "nocCodes": [],
  "maxItems": 100
}
```

# Actor output Schema

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

Every posting this run returned, one row each.

# 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 = {
    "months": [
        "latest"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("openroles_dev/canada-job-bank").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 = {
    "months": ["latest"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("openroles_dev/canada-job-bank").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 '{
  "months": [
    "latest"
  ],
  "maxItems": 100
}' |
apify call openroles_dev/canada-job-bank --silent --output-dataset

```

## MCP server setup

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

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/xEJZgJQWrxlUUwaZd/builds/sm1j1EIC8fDdOsIxi/openapi.json
