{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse Jobs Scraper for Canadian Roles",
    "description": "Greenhouse jobs scraper for a Greenhouse API Canada export. City, province, and CAD salary from the public Greenhouse job board. JSON, CSV, or Excel. US$2.00 per 1,000 postings; you pay the event price only.",
    "version": "1.1",
    "x-build-id": "nOZWGmZfcb9IGXlEn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maple-data-tools~greenhouse-jobs-scraper-canada/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maple-data-tools-greenhouse-jobs-scraper-canada",
        "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/maple-data-tools~greenhouse-jobs-scraper-canada/runs": {
      "post": {
        "operationId": "runs-sync-maple-data-tools-greenhouse-jobs-scraper-canada",
        "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/maple-data-tools~greenhouse-jobs-scraper-canada/run-sync": {
      "post": {
        "operationId": "run-sync-maple-data-tools-greenhouse-jobs-scraper-canada",
        "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": {
          "companies": {
            "title": "Greenhouse board slugs",
            "type": "array",
            "description": "Type: array of strings. Each string is a Greenhouse board slug, the token in boards.greenhouse.io/{slug}, not a URL. Example: d2l. Prefill: d2l and hootsuite. At least one slug is required.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "keywordsInDescription": {
            "title": "Also match keywords in the description",
            "type": "boolean",
            "description": "Type: boolean. false (default) matches keywords on the title only. true also searches the plain-text description.",
            "default": false
          },
          "keywordMatch": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Type: string enum. any (default) keeps a posting when one keyword matches. all keeps it only when every keyword matches.",
            "default": "any"
          },
          "location": {
            "title": "Location filter",
            "type": "string",
            "description": "Type: string or empty. A city (Toronto), province code or name (ON, Ontario), or Canada. Example: Toronto. Default: empty, which keeps every place."
          },
          "remote": {
            "title": "Workplace",
            "enum": [
              "any",
              "remote",
              "hybrid",
              "onsite"
            ],
            "type": "string",
            "description": "Type: string enum. any (default), remote, hybrid, or onsite. A specific value drops postings whose workplace type is unknown.",
            "default": "any"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "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": {
            "title": "Maximum per company",
            "minimum": 1,
            "type": "integer",
            "description": "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": {
            "title": "Keep description HTML",
            "type": "boolean",
            "description": "Type: boolean. false (default) omits descriptionHtml. true stores HTML after emails and phone numbers are removed. Plain text is always stored.",
            "default": false
          },
          "newSinceLastRun": {
            "title": "New since last run",
            "type": "boolean",
            "description": "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.",
            "default": false
          },
          "resetSeen": {
            "title": "Reset seen postings",
            "type": "boolean",
            "description": "Type: boolean. false (default). true clears remembered fingerprints for this run, then stores the ones it pushes. Used only when newSinceLastRun is true.",
            "default": false
          },
          "stateStoreName": {
            "title": "Seen-postings store name",
            "type": "string",
            "description": "Type: string. Named key-value store for new-since-last-run fingerprints. 1 to 63 letters, numbers, hyphens, or underscores. Example: greenhouse-jobs-canada-seen. Default: greenhouse-jobs-canada-seen. Record key: seen-fingerprints.",
            "default": "greenhouse-jobs-canada-seen"
          },
          "hoursPerWeek": {
            "title": "Hours per week",
            "minimum": 1,
            "maximum": 168,
            "type": "integer",
            "description": "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.",
            "default": 40
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}