{
  "openapi": "3.0.1",
  "info": {
    "title": "Ashby, Greenhouse & Lever Jobs & Company Email Scraper [$2/1K]",
    "description": "[$2.00/1K] Scrape active engineering, AI, GTM & executive job openings across Ashby, Greenhouse, and Lever career boards with structured salary bands, remote status, hiring company emails, LinkedIn URLs & tech stack.",
    "version": "1.2",
    "x-build-id": "AfQ5oh6cVcrNtbtZb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/appropriate_ideal_ksi~ats-job-boards-hiring-leads-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-appropriate_ideal_ksi-ats-job-boards-hiring-leads-pro",
        "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/appropriate_ideal_ksi~ats-job-boards-hiring-leads-pro/runs": {
      "post": {
        "operationId": "runs-sync-appropriate_ideal_ksi-ats-job-boards-hiring-leads-pro",
        "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/appropriate_ideal_ksi~ats-job-boards-hiring-leads-pro/run-sync": {
      "post": {
        "operationId": "run-sync-appropriate_ideal_ksi-ats-job-boards-hiring-leads-pro",
        "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": {
          "keywords": {
            "title": "Job Title / Skill Keywords",
            "type": "array",
            "description": "Filter openings by job title, department, or skill keywords (e.g. ['AI Engineer', 'Account Executive', 'Product Designer', 'Security']). Leave empty to include all roles.",
            "default": [
              "AI Engineer",
              "Staff Engineer"
            ],
            "items": {
              "type": "string"
            }
          },
          "boardTargets": {
            "title": "Specific ATS Board URLs or Slugs (Optional)",
            "type": "array",
            "description": "Optional direct Greenhouse, Ashby, or Lever URLs or slugs (e.g. 'https://jobs.ashbyhq.com/ramp', 'https://boards.greenhouse.io/anthropic', 'ashby:linear', 'lever:palantir'). Leave empty to search the built-in 66 high-growth tech boards.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyDomains": {
            "title": "Company Domains for Auto-ATS Discovery (Optional)",
            "type": "array",
            "description": "Optional list of company domains (e.g. ['ramp.com', 'cursor.com', 'vercel.com']). Automatically detects whether each company uses Ashby, Greenhouse, or Lever.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "useSeedBoards": {
            "title": "Include Built-In 66 High-Growth Tech ATS Boards",
            "type": "boolean",
            "description": "Search our built-in registry of 66 verified AI, Fintech, Cloud, Security & SaaS boards (OpenAI, Anthropic, Stripe, Ramp, Linear, Cursor, Perplexity, Databricks, Cloudflare, Figma, Vercel, Palantir, etc.).",
            "default": true
          },
          "atsPlatforms": {
            "title": "ATS Platforms",
            "type": "array",
            "description": "ATS platforms to query ('ashby', 'greenhouse', 'lever').",
            "default": [
              "ashby",
              "greenhouse",
              "lever"
            ],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations Filter",
            "type": "array",
            "description": "Optional location substrings (e.g. ['San Francisco', 'New York', 'London', 'Europe', 'Remote']).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments Filter",
            "type": "array",
            "description": "Optional department/team substrings (e.g. ['Engineering', 'Sales', 'Marketing', 'Product', 'Security']).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude Keywords",
            "type": "array",
            "description": "Exclude roles matching any of these keywords (e.g. ['Intern', 'Contract']).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "remoteOnly": {
            "title": "Remote Roles Only",
            "type": "boolean",
            "description": "Emit only remote-eligible job openings before charging Pay-Per-Event.",
            "default": false
          },
          "onlyWithSalary": {
            "title": "Only Roles With Disclosed Salary Range",
            "type": "boolean",
            "description": "Emit only openings that include structured or pay-transparency compensation ranges.",
            "default": false
          },
          "minSalaryUsd": {
            "title": "Minimum Annual Salary (USD)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional minimum annual compensation threshold (e.g. 150000)."
          },
          "onlyWithEmail": {
            "title": "Only Companies With Verified Email",
            "type": "boolean",
            "description": "Emit and charge only when at least one verified hiring company email is extracted.",
            "default": false
          },
          "postedWithinDays": {
            "title": "Posted Within Last N Days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Optional recency filter in days (e.g. 14 or 30)."
          },
          "enrichCompanyWebsites": {
            "title": "Enrich Hiring Company Websites (Emails, LinkedIn & Tech Stack)",
            "type": "boolean",
            "description": "Visit each hiring company's domain once (singleflight cached) to extract Cloudflare-decoded emails, phone numbers, LinkedIn/X URLs, and 30+ B2B tech-stack signatures.",
            "default": true
          },
          "maxJobsPerBoard": {
            "title": "Max Jobs Per Company Board",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum matching openings per company board so results stay balanced across companies.",
            "default": 10
          },
          "maxLeads": {
            "title": "Max Total Hiring Leads",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum total hiring leads to emit in this run.",
            "default": 15
          },
          "onlyNewJobs": {
            "title": "Incremental Deduplication (Only New Jobs Across Runs)",
            "type": "boolean",
            "description": "Persist seen job keys in a named Key-Value Store so scheduled daily/hourly runs only emit newly posted openings.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Deduplication Key-Value Store Name",
            "type": "string",
            "description": "Named Apify Key-Value Store used when onlyNewJobs is enabled.",
            "default": "ats-hiring-leads-seen-ids"
          },
          "concurrency": {
            "title": "HTTP/2 Worker Concurrency",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Parallel HTTP/2 connections (auto-scaled safely on 256 MB containers).",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional)",
            "type": "object",
            "description": "Pure HTTP/2 works without proxies on Greenhouse, Ashby, and Lever public APIs. Enable only if enriching strict corporate firewalls."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}