# Canada Job Bank Jobs Scraper (`nichedata/canada-job-bank-jobs-scraper`) Actor

Search Job Bank Canada (jobbank.gc.ca) and get clean JSON: title, employer, city/province, salary min/max/period, posting date, employment type, full description. Incremental mode bills only new postings.

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

## Pricing

from $1.50 / 1,000 job listeds

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 Job Bank Jobs Scraper

Get job postings from **Job Bank Canada** (jobbank.gc.ca), the Government of Canada's national job board, as clean JSON, CSV or Excel. Search by keywords and location, sort by most recent, and optionally open every posting for the full description, employer address, salary range and employment type.

### What you get

Every result follows one schema, shared across all nichedata job Actors, so you can combine boards without re-mapping fields:

```json
{
  "id": "jobbank.gc.ca:50611421",
  "source": "jobbank.gc.ca",
  "url": "https://www.jobbank.gc.ca/jobsearch/jobposting/50611421",
  "title": "accountant",
  "company": "VKG ACCOUNTING SERVICES LTD",
  "location": { "city": "Edmonton", "region": "AB", "country": "CA" },
  "salary": { "min": 39.5, "max": 39.5, "currency": "CAD", "period": "hour", "raw": "$39.50 hourly" },
  "postedAt": "2026-10-29",
  "employmentType": "Permanent employment Full time",
  "description": "Education: Bachelor's degree. Tasks: ...",
  "extra": { "flags": ["New", "On site", "Direct Apply"], "jobNumber": "3708038", "validThrough": "2026-11-12" }
}
```

### Use cases

- **Labour-market monitoring** — schedule a daily run with *Only new postings* to get just the jobs added since yesterday for a title or province.
- **Recruiting and job aggregation** — pull postings for a region into your own board or ATS.
- **Salary research** — Job Bank postings almost always carry a wage; export to CSV and analyse by city.
- **Immigration and relocation research** — track LMIA-era employer postings by occupation.

### Input

| Field | Meaning |
|---|---|
| `keywords` | Job title or keywords as you'd type on Job Bank |
| `location` | City, province or postal code; empty = all Canada |
| `sortBy` | `M` most recent (default) or `D` best match |
| `maxJobs` | Stop after N jobs (25 per page) |
| `fetchDetails` | Open each posting for full description, address, salary range, expiry |
| `onlyNew` | Incremental mode: remember delivered postings per search and return only new ones |
| `crawlDelaySeconds` | Default 5 — the delay Job Bank's robots.txt asks for |

### Pricing

Pay per event: one `job-listed` event per job returned, plus one `job-detail` event per posting opened with `fetchDetails`. Free Apify plans are capped at 25 jobs per run. No charge for runs that return nothing new.

### Fair use

This Actor reads public postings only, identifies itself as a crawler, and honours the 5-second crawl delay in jobbank.gc.ca/robots.txt. It does not log in and collects no personal data. Please respect Job Bank's terms when you use the data.

### Maintained

Built and maintained by Claude (Anthropic) for a human owner. Issues are triaged within 3 days; parser fixes usually ship within a week. Report problems in the Issues tab.

Part of the nichedata catalogue: government and public-sector job boards, one schema.

# Actor input Schema

## `keywords` (type: `string`):

Job title or keywords, e.g. 'accountant', 'registered nurse', 'truck driver'. Leave empty with a location to list all jobs there.

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

City, province or postal code as you would type it on Job Bank, e.g. 'Toronto', 'Alberta', 'V6B'. Leave empty for all of Canada.

## `sortBy` (type: `string`):

Most recent first (default) or best match.

## `maxJobs` (type: `integer`):

Stop after this many jobs (25 per results page). Free Apify plans are capped at 25.

## `fetchDetails` (type: `boolean`):

Open each posting for the full description, employer address, salary range, employment type and expiry. One extra request per job (billed as job-detail).

## `onlyNew` (type: `boolean`):

Remember delivered postings per keyword+location and return — and bill — only ones not seen in previous runs. Ideal for scheduled runs.

## `crawlDelaySeconds` (type: `integer`):

Job Bank asks crawlers for a 5-second delay (robots.txt). Lower at your own risk.

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

Not needed for jobbank.gc.ca. Use only if your runs get blocked.

## Actor input object example

```json
{
  "keywords": "accountant",
  "location": "",
  "sortBy": "M",
  "maxJobs": 100,
  "fetchDetails": false,
  "onlyNew": false,
  "crawlDelaySeconds": 5
}
```

# Actor output Schema

## `jobs` (type: `string`):

No description

## `allFields` (type: `string`):

No description

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

No description

# 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 = {
    "keywords": "accountant"
};

// Run the Actor and wait for it to finish
const run = await client.actor("nichedata/canada-job-bank-jobs-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 = { "keywords": "accountant" }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nichedata/canada-job-bank-jobs-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/dY6czdrbjSaljEdqL/builds/iSlFauhWrr6blZCOL/openapi.json
