{
  "openapi": "3.0.1",
  "info": {
    "title": "Canada Job Bank Postings & Wages - Open Data",
    "description": "Job postings advertised on Canada's national Job Bank, from the monthly open data published by ESDC (Open Government Licence - Canada): title, NOC 2021, province, city, wage (hourly/annual), hours, employment type, posted date. Back to 2023. Unofficial; not affiliated with ESDC.",
    "version": "0.1",
    "x-build-id": "1p2LeylyD0ZFw00vS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jpopendata~canada-job-bank/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jpopendata-canada-job-bank",
        "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/jpopendata~canada-job-bank/runs": {
      "post": {
        "operationId": "runs-sync-jpopendata-canada-job-bank",
        "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/jpopendata~canada-job-bank/run-sync": {
      "post": {
        "operationId": "run-sync-jpopendata-canada-job-bank",
        "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": {
          "months": {
            "title": "Months",
            "type": "array",
            "description": "Which monthly files to read, one per line: \"latest\" (the newest published month) or a month as YYYY-MM, e.g. \"2026-09\", \"2026-08\" (\"September 2026\" also works). Up to 24 per run. Leave as \"latest\" together with Posted from / Posted to to pick the months of that date window automatically. Files exist from 2023-01.",
            "default": [
              "latest"
            ],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional. Words or phrases matched (case- and accent-insensitive) at the start of a word in the job title, the title as posted, and the NOC occupation titles, e.g. \"software developer\", \"nurse\", \"electrician\", \"cuisinier\". A posting is kept if ANY keyword matches. \"developer\" also finds \"developers\". Leave empty for all jobs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "provinces": {
            "title": "Provinces / territories",
            "type": "array",
            "description": "Optional. Two-letter codes or names (English or French): AB, BC, MB, NB, NL, NS, NT, NU, ON, PE, QC, SK, YT, e.g. \"ON\", \"Quebec\", \"Colombie-Britannique\". Leave empty for all of Canada.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Optional. City names as written in the posting's work location, e.g. \"Toronto\", \"Montreal\" (accents optional), \"St. John's\", \"Surrey\". Exact city match: suburbs are separate cities, so add them (e.g. \"Mississauga\", \"Brampton\") or use provinces instead. Leave empty for every city.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "nocCodes": {
            "title": "NOC 2021 codes",
            "type": "array",
            "description": "Optional. National Occupational Classification 2021 codes or their first digits: \"21232\" (software developers and programmers), \"2123\" (every code starting 2123), \"3\" (health occupations). Job titles go in Keywords.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minHourlyWage": {
            "title": "Minimum hourly wage (CAD)",
            "type": "number",
            "description": "Optional. Keep postings whose advertised range reaches at least this hourly wage, e.g. 25 or 25.5. Annual, monthly, weekly and daily salaries are converted with the posting's weekly hours (40 h when none are published). Postings without a salary, or with an implausible one, are dropped when this is set."
          },
          "minAnnualSalary": {
            "title": "Minimum annual salary (CAD)",
            "type": "integer",
            "description": "Optional. Keep postings whose advertised range reaches at least this yearly amount, e.g. 60000. Hourly wages are converted with the posting's weekly hours x 52 (40 h when none are published)."
          },
          "postedFrom": {
            "title": "Posted from",
            "type": "string",
            "description": "Optional. First posting date from, as YYYY-MM-DD (e.g. \"2026-09-15\") or YYYY-MM for a whole month. With Months left as \"latest\", the months of the window are read automatically.",
            "default": ""
          },
          "postedTo": {
            "title": "Posted to",
            "type": "string",
            "description": "Optional. First posting date to (inclusive), as YYYY-MM-DD or YYYY-MM.",
            "default": ""
          },
          "languages": {
            "title": "Language requirement",
            "type": "array",
            "description": "Optional. Official language required for the job, any of: English, French, English or French, Bilingual (\"en\", \"fr\" work too). Many postings shared by partner job boards publish none and are dropped when this is set.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postingSource": {
            "title": "Posting source",
            "type": "string",
            "description": "\"all\" (default), \"direct\" (posted on Job Bank by the employer: richest fields, incl. education, experience, industry and weekly hours) or \"partner\" (shared by a partner job board through a feed: fewer fields).",
            "default": "all"
          },
          "maxItems": {
            "title": "Max postings",
            "type": "integer",
            "description": "Rows kept for the whole run (1..500,000; values outside are clamped). A full month has 50,000 to 100,000 postings. The run stops downloading as soon as this many rows are found.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed: the open-data files are served to Apify datacenter IPs directly (tested 2026-10-13). If you set a proxy, the run keeps a single sticky session (one IP), never rotation.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}