# Job Bank Canada Scraper (`manfromgold/jobbank-gc-ca-scraper`) Actor

Scrape job postings from Canada's official Job Bank (jobbank.gc.ca). Get job title, employer, wage range and pay period, location and province, posting date, job number, work arrangement and apply method for recruiting, immigration and labour-market research.

- **URL**: https://apify.com/manfromgold/jobbank-gc-ca-scraper.md
- **Developed by:** [Mahmoud Dahab](https://apify.com/manfromgold) (community)
- **Categories:** Jobs, Lead generation, Business
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.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/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

## Job Bank Canada Scraper

Scrape job postings from Canada's official Job Bank (jobbank.gc.ca). Get job title, employer, wage range and pay period, location and province, posting date, job number, work arrangement and apply method for recruiting, immigration and labour-market research.

### What data does Job Bank Canada Scraper extract?

| Field | Description |
|---|---|
| `url` | Absolute URL of the job posting on Job Bank |
| `jobId` | Internal Job Bank posting ID |
| `jobNumber` | Public Job Bank job number |
| `title` | Job title, as the occupation name Job Bank displays |
| `employer` | Hiring business name. This is null when the employer appears to be a private individual or household. |
| `datePosted` | Posting date in ISO 8601 format (YYYY-MM-DD) |
| `location` | Job location as shown, for example 'Calgary (AB)' or 'Various locations' |
| `province` | Two-letter province or territory code, when shown |
| `salaryMin` | Minimum wage in CAD |
| `salaryMax` | Maximum wage in CAD. Equals salaryMin when a single wage is listed. |
| `salaryPeriod` | Pay period, for example hourly, monthly or annually |
| `salaryText` | Raw salary text, including notes such as 'to be negotiated' |
| `workArrangement` | Work arrangement flag, for example On site, Remote or Hybrid |
| `directApply` | True when the posting offers Job Bank Direct Apply |
| `lmiaFlag` | True when the listing card shows an LMIA or temporary-foreign-worker flag. False only means no such flag appears on the card; it does not confirm the employer's LMIA status. |

### Use cases

- Track employers that are hiring in in-demand occupations to support immigration and work-permit consulting
- Benchmark posted hourly wages by occupation and province for compensation research
- Build recruiter lead lists of Canadian businesses that are actively hiring
- Monitor daily posting volumes in specific trades or regions for workforce studies

### How to use it

1. Fill in the input fields (or keep the prefilled example).
2. Set **Max results** to cap the run size and cost.
3. Click **Start** and download results as JSON, CSV, Excel or via the API.

#### Input

| Input | Description |
|---|---|
| `keyword` | Job title or keyword to search for, for example 'cook' or 'welder'. Leave empty to get all postings. |
| `location` | City, province or postal code, for example 'Toronto, ON' or 'Alberta'. Leave empty to search all of Canada. |
| `sort` | M = best match, D = most recently posted. |
| `maxItems` | Maximum number of results. |
| `maxPages` | Maximum number of pages to load. |

### Output example

```json
[
  {
    "url": "https://www.jobbank.gc.ca/jobsearch/jobposting/50482807",
    "jobId": "50482807",
    "jobNumber": "10293318874",
    "title": "line cook",
    "employer": "Hilton Garden Inn Edmonton Airport",
    "datePosted": "2026-10-13",
    "location": "Leduc (AB)",
    "province": "AB",
    "salaryMin": 15.0,
    "salaryMax": 17.0,
    "salaryPeriod": "hourly",
    "salaryText": "$15.00 to $17.00 hourly",
    "workArrangement": null,
    "directApply": false,
    "lmiaFlag": false
  },
  {
    "url": "https://www.jobbank.gc.ca/jobsearch/jobposting/50482431",
    "jobId": "50482431",
    "jobNumber": "17441931",
    "title": "cook",
    "employer": "Homes First",
    "datePosted": "2026-10-13",
    "location": "Toronto (ON)",
    "province": "ON",
    "salaryMin": 28.76,
    "salaryMax": 28.76,
    "salaryPeriod": "hourly",
    "salaryText": "$28.76 hourly",
    "workArrangement": null,
    "directApply": false,
    "lmiaFlag": false
  }
]
```

### Pricing

Pay per result: **$2.00 per 1,000 results**. Platform usage is included. Runs stop at **Max results**, so cost is predictable.

### Is it legal to scrape this site?

This Actor extracts only publicly available, non-personal information from jobbank.gc.ca. It does not log in or bypass access controls. Make sure your use of the data complies with the site's terms and the laws that apply to you.

### Reliability

This Actor is checked automatically several times a day. When the website changes its layout, the extractor is repaired and re-tested against the same output fields, so your integrations keep working.

# Actor input Schema

## `keyword` (type: `string`):

Job title or keyword to search for, for example 'cook' or 'welder'. Leave empty to get all postings.

## `location` (type: `string`):

City, province or postal code, for example 'Toronto, ON' or 'Alberta'. Leave empty to search all of Canada.

## `sort` (type: `string`):

M = best match, D = most recently posted.

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

Stop after this many results. You are charged per result, so this also caps the cost.

## `maxPages` (type: `integer`):

Maximum number of pages to load (listing pages and pagination).

## `proxyConfiguration` (type: `object`):

Proxies help avoid blocking. Datacenter proxies are enough for most runs.

## `debugSaveHtml` (type: `boolean`):

Store the HTML of the first pages in the key-value store, for troubleshooting.

## Actor input object example

```json
{
  "keyword": "cook",
  "location": "",
  "sort": "D",
  "maxItems": 100,
  "maxPages": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debugSaveHtml": false
}
```

# Actor output Schema

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

Records extracted from jobbank.gc.ca, one dataset item 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 = {
    "keyword": "cook",
    "location": "",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("manfromgold/jobbank-gc-ca-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 = {
    "keyword": "cook",
    "location": "",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("manfromgold/jobbank-gc-ca-scraper").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 '{
  "keyword": "cook",
  "location": "",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call manfromgold/jobbank-gc-ca-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,manfromgold/jobbank-gc-ca-scraper"
        }
    }
}
```

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/d8qEhyNqxTNM0Pos8/builds/4jI5juLK9xDgvywJo/openapi.json
