{
  "openapi": "3.0.1",
  "info": {
    "title": "Ashby Jobs Scraper - Fast ATS API",
    "description": "Jobs from Ashby boards (OpenAI, Notion, Linear, Ramp, Perplexity, hundreds more). Structured salary + equity + bonus, filters + diff mode. New `report` mode: 1 row/company with hiringScore, velocity, priorityRoles, remoteShare. $0.50/1k jobs or $0.025/report.",
    "version": "0.3",
    "x-build-id": "ZCpmzX0GT8123ybNu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zet46~ashby-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zet46-ashby-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/zet46~ashby-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zet46-ashby-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/zet46~ashby-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zet46-ashby-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": {
          "boardSlugs": {
            "title": "Ashby board slugs",
            "type": "array",
            "description": "Required unless you pass boardSlugsUrl. List of Ashby board slugs. The slug is the subdomain / path segment at https://jobs.ashbyhq.com/<slug>. Hundreds of AI-first and SaaS startups use Ashby: OpenAI, Notion, Linear, Ramp, Perplexity, Vercel, Supabase, Clay, Modal, Hex, Rippling, Mercury, Loom...\n\nYou can also paste the full board URL (https://jobs.ashbyhq.com/<slug>) and the slug will be extracted automatically. Provide at least one entry.",
            "items": {
              "type": "string"
            }
          },
          "boardSlugsUrl": {
            "title": "Board slugs from CSV / XLSX / Google Sheet URL",
            "type": "string",
            "description": "Optional. Download a list of board slugs from a public URL and merge with boardSlugs. Supports: direct .csv or .xlsx URL (first column of the first sheet is read), or a Google Sheets URL (viewing link works, e.g. https://docs.google.com/spreadsheets/d/<ID>/edit#gid=<GID> — the sheet must be shared 'Anyone with the link'). Great for feeding a 500+ company watchlist you maintain in a sheet."
          },
          "mode": {
            "title": "Output mode",
            "enum": [
              "jobs",
              "report"
            ],
            "type": "string",
            "description": "`jobs` (default) emits one row per open job. `report` emits one `hiring_signal_report` row per company with totalOpenRoles, hiringScore 0-100, hiringLabel, hiringVelocity vs the previous run, priorityRoles[] by role family, departmentSignals[], regionSignals[], remoteShare, seniorityMix, keywordHits, expansionSignals and recommendedOutreach[]. Report mode is priced per report ($0.025 each).",
            "default": "jobs"
          },
          "keywordHits": {
            "title": "Keyword counters for report mode",
            "type": "array",
            "description": "Only used when mode=report. For each entry we count how many open job titles contain the string (case-insensitive substring). Example: ['AI', 'LLM', 'GTM'] gives you `keywordHits: {AI: 12, LLM: 3, GTM: 5}` per company. Leave empty if you don't need keyword counts.",
            "items": {
              "type": "string"
            }
          },
          "recentWindowDays": {
            "title": "Recent window for velocity (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only used when mode=report. The hiringVelocity.recentWindowDays label we embed on each report row (purely informational — the actual delta is measured between the two latest runs stored in KVS).",
            "default": 7
          },
          "includeCompensation": {
            "title": "Include compensation (salary, equity, bonus)",
            "type": "boolean",
            "description": "Append `?includeCompensation=true` so each job includes the structured `compensation` object. Boards that opt in to show pay (OpenAI, Ramp, Ashby itself) populate salaryMin/salaryMax + equity + bonus; boards that don't (Notion, Linear) still return the key but it stays empty.",
            "default": true
          },
          "maxJobsPerBoard": {
            "title": "Max jobs per board",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Safety cap on jobs returned per board (Ashby returns all open jobs in one JSON response; OpenAI has ~800).",
            "default": 5000
          },
          "titleKeywords": {
            "title": "Title keyword filter (keep if title contains any)",
            "type": "array",
            "description": "Optional. Case-insensitive substring match on the job title. Example: ['engineer', 'research scientist', 'ml'] keeps only jobs whose title contains any of those. Leave empty to keep all titles.",
            "items": {
              "type": "string"
            }
          },
          "titleExclusions": {
            "title": "Title exclusion filter (drop if title contains any)",
            "type": "array",
            "description": "Optional. Case-insensitive substring match on the job title. Example: ['senior', 'manager', 'intern'] drops any job whose title contains those words.",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Department filter",
            "type": "array",
            "description": "Optional. Case-insensitive substring match on the job's `department`. Example: ['engineering', 'research'] keeps jobs whose department contains either.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Location filter",
            "type": "array",
            "description": "Optional. Case-insensitive substring match on the job's `location` or `address.postalAddress`. Example: ['san francisco', 'remote', 'new york'].",
            "items": {
              "type": "string"
            }
          },
          "workplaceTypes": {
            "title": "Workplace type filter",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Match the normalised workplaceType: `remote`, `hybrid`, `onsite`. Many boards tag workplace via Ashby's `workplaceType` field; those that don't fall back to `isRemote` boolean.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment type filter",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Keep only jobs matching one of the canonical values: `full_time`, `part_time`, `contract`, `internship`. The filter accepts Ashby's raw `employmentType` (FullTime, PartTime, Contract, Intern...) and our normalised `aiEmploymentType` classified from the title.",
            "items": {
              "type": "string"
            }
          },
          "seniorityLevels": {
            "title": "Seniority filter (classified from title)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Keep only jobs whose auto-classified seniority is in this list. Classifier reads the title and tags one of: intern, entry, associate, mid, senior, staff, principal, director, vp, svp, exec. Example: ['senior', 'staff', 'principal'] drops juniors and executives.",
            "items": {
              "type": "string"
            }
          },
          "remoteTypes": {
            "title": "Remote type filter (classified from workplace + title + location)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Keep only jobs tagged as one of: 'remote', 'hybrid', 'on_site'. The classifier reads workplaceType + isRemote first, then falls back to title + location keywords (remote, WFH, hybrid, on-site, in-office).",
            "items": {
              "type": "string"
            }
          },
          "onlyWithSalary": {
            "title": "Only jobs that disclose numeric salary",
            "type": "boolean",
            "description": "Keep only jobs where the compensation object has a numeric Salary component (salaryMin or salaryMax is present).",
            "default": false
          },
          "onlyRemote": {
            "title": "Only remote-friendly jobs",
            "type": "boolean",
            "description": "Shortcut: keep only jobs with workplaceType=Remote or isRemote=true or location containing 'remote'.",
            "default": false
          },
          "publishedAfter": {
            "title": "Only jobs published after",
            "type": "string",
            "description": "ISO date (YYYY-MM-DD) or ISO datetime. Keep only jobs whose publishedAt is on or after this. Useful for incremental refresh. Alias: 'postedAfter' (same semantics; our other ATS scrapers also accept 'postedAfter')."
          },
          "postedAfter": {
            "title": "Only jobs posted after (alias of publishedAfter)",
            "type": "string",
            "description": "Alias of 'publishedAfter' for compatibility with our other ATS scrapers. ISO date (YYYY-MM-DD) or datetime. Ignored if 'publishedAfter' is also set."
          },
          "minSalary": {
            "title": "Minimum annual salary",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep only jobs whose published salary (salaryMax, annualised from hourly/monthly) is at least this. Hourly salaries are multiplied by 2080, monthly by 12. Jobs without a numeric salary are dropped. Pair with salaryCurrency if you only want one currency."
          },
          "salaryCurrency": {
            "title": "Salary currency filter",
            "type": "string",
            "description": "Optional 3-letter ISO 4217 currency code (USD, EUR, GBP, CAD...). When set, jobs whose compensation is in a different currency are dropped. Leave empty to accept any currency."
          },
          "onlyNewSinceLastRun": {
            "title": "Only emit jobs new since the last run (diff mode)",
            "type": "boolean",
            "description": "When enabled, the actor remembers the set of jobIds it saw per board in its default key-value store and on subsequent runs only pushes jobs whose jobId was not present before. Each pushed row carries `isNew: true`. Pair with a scheduler for daily deltas. Dedup state is scoped by (stateKey, boardSlug).",
            "default": false
          },
          "stateKey": {
            "title": "State key (name the dedup bucket)",
            "type": "string",
            "description": "Optional label for the diff state record (defaults to 'default'). Use different names when running the same actor for different downstream pipelines so their 'seen' sets stay separate; use the same name across runs that should share memory."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. The Ashby public API usually serves direct from any IP; use Apify Proxy only if you hit rate limits.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}