{
  "openapi": "3.0.1",
  "info": {
    "title": "Canada Job Postings Open Data (Monthly, Salary & NOC)",
    "description": "Monthly Job Bank open data (OGL-Canada): pay, NOC occupation, province, city, hours and posting date for Canadian job postings. Not live: no employer names, apply links or job text. Filters and only-new mode.",
    "version": "1.0",
    "x-build-id": "aEXFVQDr05VtaUPZ0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/atesen-software~canada-job-bank-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-atesen-software-canada-job-bank-jobs",
        "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/atesen-software~canada-job-bank-jobs/runs": {
      "post": {
        "operationId": "runs-sync-atesen-software-canada-job-bank-jobs",
        "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/atesen-software~canada-job-bank-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-atesen-software-canada-job-bank-jobs",
        "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": {
          "latestMonths": {
            "title": "Latest monthly files",
            "minimum": 1,
            "maximum": 24,
            "type": "integer",
            "description": "How many of the most recent monthly files to read (1 = the newest published month). Ignored when you list specific months below. Each file holds roughly 30,000 to 110,000 postings.",
            "default": 1
          },
          "months": {
            "title": "Specific months",
            "type": "array",
            "description": "Optional. One entry per line: latest, or a month as YYYY-MM (for example 2026-09). Files are available from 2023-01. When this list is filled, 'Latest monthly files' is ignored.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Job title keywords, one per line. A posting matches when its title, the title as posted, or its occupation name contains the text (not case or accent sensitive). Example: nurse, welder, data analyst.",
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Any: a posting needs just one of the keywords. All: it needs every keyword.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Skip postings whose title or occupation name contains any of these words. Example: intern, volunteer.",
            "items": {
              "type": "string"
            }
          },
          "nocCodes": {
            "title": "Occupation codes (NOC 2021)",
            "type": "array",
            "description": "National Occupational Classification 2021 codes or code starts, one per line, 1 to 5 digits. 21 matches every 21xxx occupation, 21211 matches one occupation. Example: 31301 registered nurses.",
            "items": {
              "type": "string"
            }
          },
          "noc2016Codes": {
            "title": "Occupation codes (NOC 2016)",
            "type": "array",
            "description": "The older NOC 2016 code or code start, 1 to 4 digits, one per line. Useful when your own data still uses NOC 2016.",
            "items": {
              "type": "string"
            }
          },
          "provinces": {
            "title": "Provinces and territories",
            "type": "array",
            "description": "Only postings located in these provinces or territories. Leave empty for all of Canada.",
            "items": {
              "type": "string",
              "enum": [
                "AB",
                "BC",
                "MB",
                "NB",
                "NL",
                "NS",
                "NT",
                "NU",
                "ON",
                "PE",
                "QC",
                "SK",
                "YT"
              ],
              "enumTitles": [
                "Alberta",
                "British Columbia",
                "Manitoba",
                "New Brunswick",
                "Newfoundland and Labrador",
                "Nova Scotia",
                "Northwest Territories",
                "Nunavut",
                "Ontario",
                "Prince Edward Island",
                "Quebec",
                "Saskatchewan",
                "Yukon"
              ]
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "City names, one per line (part of a name is enough, not accent sensitive). Only some postings carry a city; the others are left out when you use this filter. Example: Toronto, Montreal.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment type",
            "type": "array",
            "description": "Keep only these hours types. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Full time",
                "Part time",
                "Part time leading to full time"
              ]
            }
          },
          "employmentTerms": {
            "title": "Employment term",
            "type": "array",
            "description": "Keep only these terms. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Permanent employment",
                "Term or contract",
                "Seasonal employment",
                "Casual employment"
              ]
            }
          },
          "salaryUnit": {
            "title": "Pay unit for the salary filter",
            "enum": [
              "hour",
              "day",
              "week",
              "bi-weekly",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Postings state pay per hour, year, month and so on, and the Actor does not convert between them. Pick the unit your minimum and maximum are written in. Only postings that state pay in this unit are kept."
          },
          "minSalary": {
            "title": "Minimum pay",
            "minimum": 0,
            "type": "number",
            "description": "Keep postings whose highest stated pay reaches at least this amount, in Canadian dollars and in the unit chosen above. Needs a pay unit."
          },
          "maxSalary": {
            "title": "Maximum pay",
            "minimum": 0,
            "type": "number",
            "description": "Keep postings whose lowest stated pay is at most this amount, in Canadian dollars and in the unit chosen above. Needs a pay unit."
          },
          "postedFrom": {
            "title": "Posted on or after",
            "type": "string",
            "description": "Date of the first posting, written YYYY-MM-DD. Example: 2026-10-15."
          },
          "postedTo": {
            "title": "Posted on or before",
            "type": "string",
            "description": "Date of the first posting, written YYYY-MM-DD."
          },
          "postingSource": {
            "title": "Posting source",
            "enum": [
              "all",
              "direct",
              "external"
            ],
            "type": "string",
            "description": "Direct postings were entered by the employer on Job Bank and carry the most fields (education, experience, benefits, schedule). External postings come from partner job boards and have fewer fields.",
            "default": "all"
          },
          "maxItems": {
            "title": "Maximum postings",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many postings. You also pay only for delivered postings, and the run stops cleanly when your maximum cost per run is reached. Hard cap: the run never writes or charges more rows than this.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only new postings",
            "type": "boolean",
            "description": "Return only postings that earlier runs with the same filters did not deliver. Run it on a schedule: when no new monthly file has appeared the run delivers nothing and costs nothing. The memory is kept in a named store of your account.",
            "default": false
          },
          "stateName": {
            "title": "Only-new memory name",
            "type": "string",
            "description": "Runs that share this name and the same filters share one memory of delivered postings. Change it to keep separate pipelines apart.",
            "default": "default"
          },
          "stateStore": {
            "title": "Only-new memory store (pick one)",
            "type": "string",
            "description": "Key-value store that keeps the delivered postings between runs. Pick or create a store here to use the only-new mode. This works with the Actor's limited permissions. Leave it empty to use the named store 'canada-job-bank-state' in your account, or to run without memory."
          },
          "resetState": {
            "title": "Forget delivered postings",
            "type": "boolean",
            "description": "Start the only-new memory for these filters from scratch in this run.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}