{
  "openapi": "3.0.1",
  "info": {
    "title": "ATS Jobs Scraper: Greenhouse, Lever, Ashby & SmartRecruiters",
    "description": "Fast API-first job scraper across Greenhouse, Lever, Ashby, and SmartRecruiters with 681 pre-indexed boards, structured salary extraction, remote/LATAM filters, and incremental monitoring.",
    "version": "0.1",
    "x-build-id": "PP8xdU3KUXpMiyIhB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlgrid~ats-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlgrid-ats-jobs-scraper",
        "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/crawlgrid~ats-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlgrid-ats-jobs-scraper",
        "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/crawlgrid~ats-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlgrid-ats-jobs-scraper",
        "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": "Companies or Domains",
            "type": "array",
            "description": "Optional list of company names, domains, or ATS board slugs (e.g., \"Stripe\", \"openai.com\", \"vtex\", \"BoschGroup\"). Leave all target fields empty to run Global Search across 681 pre-indexed boards.",
            "items": {
              "type": "string"
            }
          },
          "atsUrls": {
            "title": "Direct ATS Board URLs",
            "type": "array",
            "description": "Direct career board URLs from Greenhouse, Lever, Ashby, or SmartRecruiters (e.g., \"https://boards.greenhouse.io/stripe\", \"https://jobs.lever.co/palantir\", \"https://jobs.ashbyhq.com/openai\").",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Input Dataset ID (Chain from B2B Enricher)",
            "type": "string",
            "description": "Optional Apify Dataset ID to chain from another Actor such as CrawlGrid's B2B & E-commerce Website Enricher (reads atsLinks, atsUrl, url, domain, and company fields automatically)."
          },
          "atsPlatforms": {
            "title": "ATS Platforms",
            "type": "array",
            "description": "Restrict scraping to specific ATS providers. Leave empty to include all four supported platforms (Greenhouse, Lever, Ashby, SmartRecruiters).",
            "items": {
              "type": "string",
              "enum": [
                "greenhouse",
                "lever",
                "ashby",
                "smartrecruiters"
              ],
              "enumTitles": [
                "Greenhouse",
                "Lever",
                "Ashby",
                "SmartRecruiters"
              ]
            }
          },
          "keywords": {
            "title": "Keywords (Title, Team or Description)",
            "type": "array",
            "description": "Include jobs matching at least one keyword in title, department, team, location, or description.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude Keywords",
            "type": "array",
            "description": "Skip jobs containing any of these terms in title, department, employment type, or description.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations or Regions",
            "type": "array",
            "description": "Filter by cities, countries, or regional aliases (supports \"LATAM\", \"Europe\", \"EMEA\", \"US\", \"UK\", \"APAC\", plus country/city names like \"Brazil\", \"Mexico\", \"Colombia\", \"San Francisco\", \"London\").",
            "items": {
              "type": "string"
            }
          },
          "remoteOnly": {
            "title": "Remote Only",
            "type": "boolean",
            "description": "Keep only jobs explicitly marked or detected as remote.",
            "default": false
          },
          "workplaceTypes": {
            "title": "Workplace Types",
            "type": "array",
            "description": "Filter by normalized workplace mode (leave empty for any).",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "hybrid",
                "onsite"
              ],
              "enumTitles": [
                "Remote",
                "Hybrid",
                "On-site"
              ]
            }
          },
          "departments": {
            "title": "Departments or Teams",
            "type": "array",
            "description": "Match department or team substrings (e.g., \"Engineering\", \"Product\", \"Sales\", \"Data\").",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment Types",
            "type": "array",
            "description": "Match normalized employment types (e.g., \"full-time\", \"part-time\", \"contract\", \"internship\").",
            "items": {
              "type": "string"
            }
          },
          "postedWithinDays": {
            "title": "Posted Within (Days)",
            "minimum": 1,
            "type": "integer",
            "description": "Only return postings published or updated within the last N days."
          },
          "onlyWithSalary": {
            "title": "Only Jobs With Salary",
            "type": "boolean",
            "description": "Keep only postings that disclose a compensation range or base salary.",
            "default": false
          },
          "minAnnualSalary": {
            "title": "Minimum Annual Salary (USD Estimate)",
            "minimum": 1000,
            "type": "integer",
            "description": "Keep only postings whose parsed annual compensation estimate meets or exceeds this USD value."
          },
          "maxItems": {
            "title": "Max Jobs",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of matching job records to output. In Pay-Per-Event pricing, this also caps billed job-scraped events. Set 0 for unlimited.",
            "default": 50
          },
          "includeDescription": {
            "title": "Include Full Description",
            "type": "boolean",
            "description": "Include clean plain-text job description in each record. Disabling makes SmartRecruiters boards faster.",
            "default": true
          },
          "onlyNewSinceLastRun": {
            "title": "Only New Jobs Since Last Run",
            "type": "boolean",
            "description": "Skip jobs already emitted in previous runs sharing the same stateKey (stored in Key-Value Store \"ats-jobs-state\"). Ideal for scheduled job monitors.",
            "default": false
          },
          "stateKey": {
            "title": "Incremental State Key",
            "type": "string",
            "description": "Named key inside Key-Value Store \"ats-jobs-state\" to isolate seen-job history across separate saved searches or schedules.",
            "default": "default"
          },
          "maxCompanies": {
            "title": "Max Companies (Global Search)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional limit on how many curated boards Global Search will inspect before stopping."
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "Concurrent ATS API board fetches (1 to 40).",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}