# Ashby Jobs Scraper for Canadian Employers (`maple-data-tools/ashby-jobs-scraper-canada`) Actor

Ashby jobs scraper for an Ashby API Canada export. City, province, and CAD salary from the public Ashby job board. JSON, CSV, or Excel. US$2.00 per 1,000 postings; you pay the event price only.

- **URL**: https://apify.com/maple-data-tools/ashby-jobs-scraper-canada.md
- **Developed by:** [Maple Data Tools](https://apify.com/maple-data-tools) (community)
- **Categories:** Jobs, Automation
- **Features:** 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 job postings

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

## Ashby Jobs Scraper (Canada)

This Actor reads the public Ashby posting API and saves one normalized job posting per role. It does not scrape HTML, does not log in, and does not request Canada's Job Bank.

Input: `companies`, an array of strings. Each string is an Ashby board slug, the token in `jobs.ashbyhq.com/{slug}`, not a URL. Example: `jobber`. Optional filters match the main Canada Jobs Feed (keywords, location, workplace, caps). The prefilled input is `jobber` and `wealthsimple`, with `maxPerCompany` 5 and `maxResults` 10.

Output: one dataset item per pushed posting, with title, company, source `ashby`, URL, city, province, country, workplace, plain-text description, pay in the original currency and in CAD, and an Ontario pay-transparency flag. The run summary is key-value record `OUTPUT`. Empty or missing boards are key-value record `BOARD_STATUS` and are not charged.

Price: **US$2.00 per 1,000 job postings** (US$0.002 per `job-posting` event). You pay that event price only. Platform usage is not added to your bill.

Minimal input:

```json
{
  "companies": ["jobber", "wealthsimple"],
  "maxPerCompany": 5,
  "maxResults": 10
}
```

### These Actors

| Actor | Use it for | Link |
| --- | --- | --- |
| Canada Jobs Feed | Greenhouse, Lever, Ashby, and SmartRecruiters in one run | https://apify.com/maple-data-tools/canada-jobs-feed |
| Greenhouse Jobs Scraper (Canada) | Greenhouse boards only | https://apify.com/maple-data-tools/greenhouse-jobs-scraper-canada |
| Lever Jobs Scraper (Canada) | Lever boards only | https://apify.com/maple-data-tools/lever-jobs-scraper-canada |
| Ashby Jobs Scraper (Canada) | Ashby boards only | https://apify.com/maple-data-tools/ashby-jobs-scraper-canada |

### Ashby API Canada

The slug is the token in `jobs.ashbyhq.com/{slug}`. Examples that hire in Canada: `jobber`, `wealthsimple`, `visier`, `koho`.

```json
{
  "companies": ["jobber", "visier"],
  "location": "Vancouver",
  "maxPerCompany": 5,
  "maxResults": 20
}
```

Filters match the main Actor: keywords on the title (whole words; `AI` and `ML` have synonyms), `keywordsInDescription`, `keywordMatch`, `location`, `remote`, `maxResults`, `maxPerCompany`, `hoursPerWeek`, description HTML, and new-since-last-run.

A location such as `CAN - Vancouver` is Vancouver, BC, Canada. Compensation is read only when the board displays it.

### Pricing

**US$2.00 per 1,000 job postings** (US$0.002 per `job-posting` event). You pay the event price only. Platform usage is not added to your bill. Apify deducts it from the developer's payout. See [Pay-per-event pricing](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event).

You are not charged for postings a filter drops, for empty or missing boards, or for postings already stored by new-since-last-run.

### Data rules

- Public Ashby job posting API only. No other site is fetched, and Canada's Job Bank is never requested.
- No recruiter names, emails, or phone numbers. Hiring-team fields are dropped. Emails and phones are stripped from the text. This is the PIPEDA approach: collect the posting, not a contact list.
- Requests are serialized per host, at least 250 ms apart, with backoff on HTTP 429 and 5xx. The client identifies itself with a User-Agent.
- A 404 or an empty board is `empty_or_not_found` in the run summary. It is not a job posting and it is not charged.

### FAQ

**Is this an Ashby jobs scraper or the Ashby API?**
It is the documented public Ashby job posting API. There is no HTML scraping and no login.

**Does the Ashby job board export include CAD salary?**
Yes, when the board displays compensation. Pay is kept in the original currency and converted to CAD with the Bank of Canada daily rate.

**How much does a run cost?**
US$2.00 per 1,000 saved postings. You pay that event price only. Platform usage is not added. Filtered and empty boards are free.

**Can I also read Greenhouse or Lever?**
Not here. Use [Canada Jobs Feed](https://apify.com/maple-data-tools/canada-jobs-feed) for Greenhouse, Lever, Ashby, and SmartRecruiters in one run.

### Run outputs

These are the output-schema keys. They are links to storage, not extra posting fields.

| Output | Description |
| --- | --- |
| `postings` | Default dataset items. One object per pushed posting. Field names and descriptions are the dataset schema. |
| `runSummary` | Default key-value record OUTPUT. Counts, per-board status, empty boards, and the exchange-rate date. |
| `boardStatus` | Default key-value record BOARD_STATUS. Boards that returned no postings or were not found. Not charged. |

### Output fields

One dataset item per pushed posting. The names below are exactly the dataset schema properties. The Output tab views are Overview, Compensation, and Ontario pay transparency.

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Stable id, format source:boardSlug:nativeId. Example greenhouse:d2l:8347957. |
| `fingerprint` | string | SHA-256 hex of id. Same value across description edits. Used by new-since-last-run. |
| `title` | string | Job title as published, with emails and phone numbers removed. |
| `company` | string | Employer name from the input name, or from the API when the board sends one. Otherwise the board slug. |
| `source` | string | Which public API the posting came from. One of greenhouse, lever, ashby, smartrecruiters. |
| `boardSlug` | string | Board token that was requested, not a URL. Example d2l. |
| `url` | string | Public posting URL returned by the API. Absolute https URL. |
| `postedDate` | string or null | When the posting was published, ISO-8601 UTC, or null when the API omits it. |
| `location` | string | Location text from the API, unchanged except whitespace. Not a parsed city. |
| `city` | string or null | Parsed city. Null when the text names only a province, country, or remote area. Street addresses and country names are not stored here. |
| `province` | string or null | Canadian province or territory, two letters (ON, BC, QC, ...), or null. Ambiguous cities stay null unless the text names a province. |
| `provinceAmbiguous` | boolean | True when the city name exists in more than one province and the text did not name one. Province is then null. |
| `country` | string or null | Primary country, ISO-3166 alpha-2. CA when a multi-country remote posting includes Canada and has no city. Null when unknown. |
| `countries` | array | Every country code on the posting, ISO-3166 alpha-2. CA is first when Canada is included. |
| `locations` | array | Every parsed place. Each object has raw (string), city (string or null), province (string or null), country (string or null), and provinceAmbiguous (boolean). |
| `remoteType` | string | Workplace. remote, hybrid, onsite, or unknown. An explicit API value wins over words in the location text. |
| `description` | string | Plain text. HTML removed. Emails and phone numbers removed. Truncated at 100,000 characters. |
| `descriptionHtml` | string | HTML description with emails and phone numbers removed. Omitted unless includeDescriptionHtml is true. Tags are kept. |
| `salaryMin` | number or null | Low end of posted pay in the original currency, in major units (dollars, not cents). Null when that side was not posted or the figure was rejected. |
| `salaryMax` | number or null | High end of posted pay in the original currency, major units. Null for a one-sided minimum or a rejected figure. |
| `salaryCurrency` | string or null | ISO-4217 currency of salaryMin and salaryMax. A bare $ on a Canadian posting is CAD. Null when no pay was kept. |
| `salaryPeriod` | string or null | Pay period: hourly, daily, weekly, biweekly, monthly, annual, or unknown. Null when no pay was kept. |
| `salaryMinCad` | number or null | salaryMin converted to CAD and rounded to cents. Null when pay or the exchange rate is missing. |
| `salaryMaxCad` | number or null | salaryMax converted to CAD and rounded to cents. Null when that side or the rate is missing. |
| `annualMinCad` | number or null | Annual CAD equivalent of the low end. Hourly uses hoursPerWeek times 52. Null when it cannot be annualized. |
| `annualMaxCad` | number or null | Annual CAD equivalent of the high end. Same conversion rules as annualMinCad. |
| `annualizedEstimate` | boolean | True only when annualMinCad or annualMaxCad was derived from hourly pay. Other periods are converted but this stays false. |
| `fxRate` | number or null | CAD per 1 unit of salaryCurrency. 1 when the posting is already CAD. Null when the rate was missing. |
| `fxPair` | string or null | Bank of Canada series name, such as FXUSDCAD. Null for CAD amounts. |
| `fxDate` | string or null | Rate date, YYYY-MM-DD, from the Bank of Canada observation. Null for CAD amounts or a missing rate. |
| `fxSource` | string or null | bank-of-canada-valet when a foreign rate was used. Null for CAD amounts. |
| `salaryRaw` | string or null | Short snippet or API label the pay figure was read from, including a figure that was later rejected. |
| `salaryParsedFrom` | string or null | structured when pay came from an API field, description when it was parsed from text. Null when no pay was kept. |
| `salaryRejectedReason` | string or null | Why a parsed figure was dropped: placeholder_range or implausible_annual. Null when pay was kept or none was found. A rejected figure is treated as no pay disclosed. |
| `ontarioPayTransparency` | string | Pay-disclosure flag only. compliant, non_compliant, not_applicable, or unknown. A missing vacancy sentence does not change it. |
| `ontarioPayTransparencyReason` | string | Plain-language reason for ontarioPayTransparency, including the hours used when hourly pay was annualized. Not legal advice. |
| `ontarioCitation` | string | Statute and regulation the flag implements: ESA s. 8.2 and O. Reg. 476/24. |
| `ontarioCompensation` | string | Pay detail behind the flag: disclosed, missing, exempt_high_compensation, range_too_wide, unknown, or not_applicable. |
| `vacancyDisclosureDetected` | boolean | Best guess that the text says whether the role is an existing vacancy. Not a compliance result. False is not a failure. |
| `ontarioAiUseDisclosure` | string | present, not_detected, or not_applicable. not_detected means no AI-screening sentence was found. That is not a failure. |
| `annualRangeWidthCad` | number or null | annualMaxCad minus annualMinCad when both exist. Null otherwise. The Ontario cap is 50000. |
| `scrapedAt` | string | When this record was built, ISO-8601 UTC. |

### Deploy

From this folder, `apify push` builds with the repository root as the Docker context (`dockerContextDir`), so this Actor runs the shared `src/` and does not keep a second copy of the parsers. Version 1.0, `buildTag` `latest`, default memory 512 MB.

# Actor input Schema

## `companies` (type: `array`):

Type: array of strings. Each string is an Ashby board slug, the token in jobs.ashbyhq.com/{slug}, not a URL. Example: jobber. Prefill: jobber and wealthsimple. At least one slug is required.

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

Type: array of strings. Case-insensitive whole words matched against the title. Example: \["data"]. data matches Data Engineer and not database. AI matches artificial intelligence and not email. ML matches machine learning. Default: empty, which keeps every title.

## `keywordsInDescription` (type: `boolean`):

Type: boolean. false (default) matches keywords on the title only. true also searches the plain-text description.

## `keywordMatch` (type: `string`):

Type: string enum. any (default) keeps a posting when one keyword matches. all keeps it only when every keyword matches.

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

Type: string or empty. A city (Toronto), province code or name (ON, Ontario), or Canada. Example: Toronto. Default: empty, which keeps every place.

## `remote` (type: `string`):

Type: string enum. any (default), remote, hybrid, or onsite. A specific value drops postings whose workplace type is unknown.

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

Type: integer, minimum 1. Maximum number of postings pushed. Example: 10. Prefill: 10, so the first run stays small. Clear the field for no cap.

## `maxPerCompany` (type: `integer`):

Type: integer, minimum 1. Newest postings kept from each board after filters. Example: 5. Prefill: 5. Clear the field for no per-board cap.

## `includeDescriptionHtml` (type: `boolean`):

Type: boolean. false (default) omits descriptionHtml. true stores HTML after emails and phone numbers are removed. Plain text is always stored.

## `newSinceLastRun` (type: `boolean`):

Type: boolean. false (default) returns every match. true pushes only fingerprints not already in the named key-value store, then stores the ones this run pushed.

## `resetSeen` (type: `boolean`):

Type: boolean. false (default). true clears remembered fingerprints for this run, then stores the ones it pushes. Used only when newSinceLastRun is true.

## `stateStoreName` (type: `string`):

Type: string. Named key-value store for new-since-last-run fingerprints. 1 to 63 letters, numbers, hyphens, or underscores. Example: ashby-jobs-canada-seen. Default: ashby-jobs-canada-seen. Record key: seen-fingerprints.

## `hoursPerWeek` (type: `integer`):

Type: integer from 1 to 168. Default: 40. Hourly pay is annualized as hoursPerWeek times 52. Example: 40 produces 2080 hours. Original hourly amounts stay on the row.

## Actor input object example

```json
{
  "companies": [
    "jobber",
    "wealthsimple"
  ],
  "keywords": [],
  "keywordsInDescription": false,
  "keywordMatch": "any",
  "location": "",
  "remote": "any",
  "maxResults": 10,
  "maxPerCompany": 5,
  "includeDescriptionHtml": false,
  "newSinceLastRun": false,
  "resetSeen": false,
  "stateStoreName": "ashby-jobs-canada-seen",
  "hoursPerWeek": 40
}
```

# Actor output Schema

## `postings` (type: `string`):

Default dataset items. One object per pushed posting. Field names and descriptions are the dataset schema.

## `runSummary` (type: `string`):

Default key-value record OUTPUT. Counts, per-board status, empty boards, and the exchange-rate date.

## `boardStatus` (type: `string`):

Default key-value record BOARD_STATUS. Boards that returned no postings or were not found. Not charged.

# 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 = {
    "companies": [
        "jobber",
        "wealthsimple"
    ],
    "keywords": [],
    "location": "",
    "maxResults": 10,
    "maxPerCompany": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("maple-data-tools/ashby-jobs-scraper-canada").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 = {
    "companies": [
        "jobber",
        "wealthsimple",
    ],
    "keywords": [],
    "location": "",
    "maxResults": 10,
    "maxPerCompany": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("maple-data-tools/ashby-jobs-scraper-canada").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 '{
  "companies": [
    "jobber",
    "wealthsimple"
  ],
  "keywords": [],
  "location": "",
  "maxResults": 10,
  "maxPerCompany": 5
}' |
apify call maple-data-tools/ashby-jobs-scraper-canada --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maple-data-tools/ashby-jobs-scraper-canada"
        }
    }
}
```

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/tEc8RwEneKp2R4sWk/builds/SVgmiLfH3vmgf5uCK/openapi.json
