{
  "openapi": "3.0.1",
  "info": {
    "title": "Canada Job Bank Postings — Open Data (Monthly)",
    "description": "Unofficial. Canada Job Bank job postings from the government's monthly open data (OGL): filter by NOC, province, city, keywords, hourly wage, NAICS. Monthly, not real-time; never touches jobbank.gc.ca. $0.50 per 1,000 postings + $0.005 per run.",
    "version": "1.0",
    "x-build-id": "F1ghY2bwac81Huarv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dojito~canada-job-bank-open-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dojito-canada-job-bank-open-data",
        "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/dojito~canada-job-bank-open-data/runs": {
      "post": {
        "operationId": "runs-sync-dojito-canada-job-bank-open-data",
        "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/dojito~canada-job-bank-open-data/run-sync": {
      "post": {
        "operationId": "run-sync-dojito-canada-job-bank-open-data",
        "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": {
          "month": {
            "title": "Month",
            "pattern": "^(latest|[0-9]{4}-[0-9]{1,2})$",
            "type": "string",
            "description": "'latest' or YYYY-MM (e.g. 2026-10). Files exist from 2023-01. A month that is not published yet (or has no file in the chosen language) falls back to the closest earlier month — the run report says which month was used.",
            "default": "latest"
          },
          "language": {
            "title": "File language",
            "enum": [
              "en",
              "fr"
            ],
            "type": "string",
            "description": "The government publishes an English and a French file each month with the same postings; text values (titles, province names, industry) are in that language. Output field names are always English.",
            "default": "en"
          },
          "nocCodes": {
            "title": "NOC 2021 codes",
            "type": "array",
            "description": "National Occupational Classification 2021 codes or prefixes, e.g. 21231 (software engineers and designers), 2123 (all software and web occupations), 3 (all health occupations). Empty = all occupations.",
            "items": {
              "type": "string"
            }
          },
          "provinces": {
            "title": "Provinces / territories",
            "type": "array",
            "description": "Two-letter codes (ON, QC, BC, AB, SK, MB, NS, NB, NL, PE, YT, NT, NU) or names in English or French. Empty = all of Canada.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "City names as written in the file (case and accents ignored: Montreal = Montréal). Exact name, so Toronto does not include North York, Scarborough or Etobicoke — add them if you want them. About 2% of postings have no city.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Job title keywords",
            "type": "array",
            "description": "A posting matches if ANY keyword appears in its job title or original job title (case and accents ignored), e.g. 'developer', 'nurse'.",
            "items": {
              "type": "string"
            }
          },
          "minHourlyWage": {
            "title": "Minimum hourly wage (CAD)",
            "minimum": 0,
            "maximum": 1000,
            "type": "number",
            "description": "Keep postings whose normalized hourly wage (minimum of the posted range) is at least this. Annual, monthly, weekly and daily salaries are converted with the posting's own hours, else 40 h/week. Postings without a salary, and postings whose posted figure is implausible (normalized below $8 or above $300 an hour — usually a typo), are dropped when this is set."
          },
          "naicsCodes": {
            "title": "Industries (NAICS)",
            "type": "array",
            "description": "NAICS Canada sector codes or names, e.g. 72 (accommodation and food services), 62 (health care), 31-33 (manufacturing), 5613 (employment services), or a name such as 'construction'. The file gives the sector only (not 6-digit industries). About 60% of postings (those from external job boards) have no NAICS — they are dropped when this is set.",
            "items": {
              "type": "string"
            }
          },
          "postingSource": {
            "title": "Posting source",
            "enum": [
              "all",
              "jobBank",
              "external"
            ],
            "type": "string",
            "description": "Job Bank shows postings employers create on Job Bank (these have NAICS, education, experience and work conditions) and postings shared by partner job boards through XML feeds (fewer fields).",
            "default": "all"
          },
          "maxItems": {
            "title": "Max postings",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Most posting rows to return (each row is one charged event). One monthly file has about 50,000–100,000 postings.",
            "default": 1000
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}