{
  "openapi": "3.0.1",
  "info": {
    "title": "Company ATS Jobs Scraper & Hiring Signals API (8 ATS + MCP)",
    "description": "Pass company domains to auto-detect their ATS across Greenhouse, Lever, Ashby, SmartRecruiters, Workable, Recruitee, Personio & Breezy. Extract live jobs or B2B hiring intent signals (velocity score, AI/sales/engineering tags, delta tracking) via Batch, REST API, or MCP.",
    "version": "0.1",
    "x-build-id": "h6WuxJa0StUuzsGmI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/olvi_tech~ats-jobs-hiring-signals/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-olvi_tech-ats-jobs-hiring-signals",
        "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/olvi_tech~ats-jobs-hiring-signals/runs": {
      "post": {
        "operationId": "runs-sync-olvi_tech-ats-jobs-hiring-signals",
        "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/olvi_tech~ats-jobs-hiring-signals/run-sync": {
      "post": {
        "operationId": "run-sync-olvi_tech-ats-jobs-hiring-signals",
        "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",
        "required": [
          "targets"
        ],
        "properties": {
          "mode": {
            "title": "Output Mode",
            "enum": [
              "company-signals",
              "jobs"
            ],
            "type": "string",
            "description": "Choose 'company-signals' for one enriched hiring-intent report per company or 'jobs' for individual normalized job rows.",
            "default": "company-signals"
          },
          "targets": {
            "title": "Company Domains or ATS Targets",
            "minItems": 1,
            "maxItems": 500,
            "type": "array",
            "description": "List of company domains (e.g. stripe.com, linear.app), direct ATS board URLs (e.g. https://jobs.ashbyhq.com/linear), or ats:slug pairs (e.g. greenhouse:stripe). Up to 500 per run.",
            "items": {
              "type": "string"
            },
            "default": [
              "stripe.com",
              "linear.app",
              "personio:personio"
            ]
          },
          "atsProviders": {
            "title": "ATS Platforms",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional subset of ATS platforms to check. Leave empty to enable all 8 supported public ATS APIs.",
            "items": {
              "type": "string",
              "enum": [
                "greenhouse",
                "lever",
                "ashby",
                "smartrecruiters",
                "workable",
                "recruitee",
                "personio",
                "breezy"
              ],
              "enumTitles": [
                "Greenhouse (US/Global Tech)",
                "Lever (US + EU Startups)",
                "Ashby (AI & High-Growth SaaS)",
                "SmartRecruiters (Global/EU Enterprise)",
                "Workable (SMB & Agencies)",
                "Recruitee (Europe SaaS)",
                "Personio (DACH & Europe SMB)",
                "Breezy HR (Global SMB)"
              ]
            }
          },
          "enableSlugProbeFallback": {
            "title": "Enable Slug Probing Fallback",
            "type": "boolean",
            "description": "When careers page HTML does not expose an ATS link (e.g. SPA or bot wall), probe derived domain slugs directly against public ATS JSON APIs.",
            "default": true
          },
          "keywords": {
            "title": "Job Keywords Filter (Jobs Mode)",
            "type": "array",
            "description": "Optional case-insensitive keywords matched against job title, department, and location (applied in 'jobs' mode).",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Department Filter (Jobs Mode)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional classified department categories to include in 'jobs' mode.",
            "items": {
              "type": "string",
              "enum": [
                "ai_ml",
                "engineering",
                "sales_gtm",
                "product",
                "design",
                "marketing",
                "operations",
                "finance_legal",
                "executive",
                "other"
              ],
              "enumTitles": [
                "AI / ML / Data Science",
                "Engineering & Infra",
                "Sales & GTM",
                "Product Management",
                "Design & UX",
                "Marketing & Growth",
                "Operations & People",
                "Finance & Legal",
                "Executive / C-Suite",
                "Other"
              ]
            }
          },
          "workplaceTypes": {
            "title": "Workplace Type Filter (Jobs Mode)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional workplace filter in 'jobs' mode.",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "hybrid",
                "onsite",
                "unknown"
              ],
              "enumTitles": [
                "Remote",
                "Hybrid",
                "On-site",
                "Unspecified"
              ]
            }
          },
          "includeDescriptions": {
            "title": "Include Job Descriptions",
            "type": "boolean",
            "description": "When enabled in 'jobs' mode, includes stripped plain-text job descriptions where published (larger payloads).",
            "default": false
          },
          "maxJobsPerCompany": {
            "title": "Max Jobs Scanned Per Company",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper cap on jobs fetched per company board.",
            "default": 500
          },
          "maxResults": {
            "title": "Max Results (Billed Output Cap)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Hard cap on total output items billed and pushed to the dataset.",
            "default": 500
          },
          "deltaMode": {
            "title": "Delta Mode & ATS Cache",
            "type": "boolean",
            "description": "Persists per-company snapshots (known job IDs + discovered ATS) in a named Key-Value Store so scheduled runs emit only new jobs or exact new/closed role counts.",
            "default": false
          },
          "deltaStoreName": {
            "title": "Delta State Key-Value Store Name",
            "type": "string",
            "description": "Named Apify Key-Value Store used when Delta Mode is enabled.",
            "default": "ats-hiring-delta-state"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}