# Company job lookup (ATS) (`attentive_sunshine_2r9/company-jobs-lookup`) Actor

Give it a company name, domain, or careers URL and get that company's open jobs from Greenhouse, Lever, Ashby, Workable, or SmartRecruiters. Watchlists return only new and closed jobs. Built-in dedupe. Instant HTTP lookup in Standby mode.

- **URL**: https://apify.com/attentive_sunshine_2r9/company-jobs-lookup.md
- **Developed by:** [Ruan Louw](https://apify.com/attentive_sunshine_2r9) (community)
- **Categories:** Jobs, AI, Agents
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 jobs returned

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Company job lookup (ATS)

Give this Actor a company name, domain, or careers URL. It finds the company's public applicant-tracking system (Greenhouse, Lever, Ashby, Workable, or SmartRecruiters) and returns that company's open jobs in one schema, in seconds.

It also has a watchlist mode: give it a list of companies and it returns only jobs that were added or closed since the last run.

This is built for AI agents and for sales or recruiting tools that need a cheap, reliable "who is hiring at X?" call.

### Cost

Prices below are what the Actor charges. You keep 80% after Apify's commission. Compute is extra and should stay small (these are light JSON requests).

| Event | When it is charged | Price |
|---|---|---|
| `company-lookup` | Once per company that we successfully detect and fetch in **companyLookup** mode | **$0.01** |
| `job-result` | Once per job record returned in **companyLookup** mode, after dedupe and `maxJobs` | **$0.0025** |
| `watchlist-change` | Once per new or closed job returned in **watchlist** mode | **$0.002** |

Examples:

- 1 company, 40 jobs: `$0.01 + 40 × $0.0025 = $0.11`
- 1 company, default cap of 100 jobs: at most `$0.01 + $0.25 = $0.26`
- Watchlist of 5 companies, 12 new or closed jobs: `12 × $0.002 = $0.024`
- First watchlist run (default): **$0**. The snapshot is stored and no changes are returned.

Unknown companies, typos, and unsupported ATS boards are **not charged**. A real board with 0 open jobs is charged the $0.01 lookup only, and the dataset includes an `empty_board` record so the result is never a silent empty list.

Defaults are small on purpose (`maxJobs` 100, `maxCompanies` 5) so an agent call stays cheap. Lower `maxJobs` to cap cost.

### Input

| Field | Default | Notes |
|---|---|---|
| `mode` | `companyLookup` | Or `watchlist` |
| `company` | | Name, domain, or careers / ATS URL |
| `companies` | | List of the same. Used for watchlists or several lookups |
| `ats`, `slug` | | Skip auto-detect when you already know the board |
| `includeDescription` | `true` | For SmartRecruiters this makes one extra request per job |
| `includeHtml` | `false` | Adds `description.html` |
| `maxJobs` | `100` | Per company, after dedupe |
| `maxCompanies` | `5` | Per run |
| `watchlistId` | `default` | Use different IDs for different lists |
| `watchlistStoreName` | `company-jobs-watchlist` | Named key-value store; required so state survives across runs |
| `returnBaseline` | `false` | If true, the first watchlist run returns current jobs as `new` (and charges) |

Example — one company:

```json
{ "company": "huggingface.co" }
```

Example — ATS URL:

```json
{ "company": "https://jobs.lever.co/binance" }
```

Example — watchlist:

```json
{
  "mode": "watchlist",
  "companies": ["huggingface.co", "https://jobs.ashbyhq.com/runway"],
  "watchlistId": "sales-targets"
}
```

### Output schema

Every dataset item has a `record_type`: `job`, `change`, `empty_board`, or `error`.

Job / change fields:

| Field | Type | Notes |
|---|---|---|
| `id` | string | `{ats}:{internal or source id}` |
| `company` | string | |
| `title` | string | |
| `department` | string or null | |
| `locations` | string\[] | Same role in several cities is one record |
| `remote_type` | `remote` | `hybrid` | `on_site` | `unknown` | From ATS fields or location labels only, never AI |
| `employment_type` | string or null | e.g. Full-time |
| `salary` | `{ min, max, currency, period }` or null | Only when the ATS publishes it |
| `posted_at`, `updated_at` | ISO 8601 or null | |
| `apply_url` | string | |
| `ats` | `greenhouse` | `lever` | `ashby` | `workable` | `smartrecruiters` | |
| `description.text` | string or null | Emails are redacted |
| `description.html` | string or null | Only if `includeHtml` is true |
| `first_seen`, `last_seen` | ISO 8601 | |
| `change_type` | `new` or `closed` | Watchlist only |

A run summary is written to the `OUTPUT` key-value record: detected boards, counts, estimated cost, and any errors.

### Batch mode and Standby (HTTP)

- **Batch / input interface:** start a run with the input above. Use this for watchlists and for several companies at once.
- **Standby / server interface:** the Actor also serves HTTP. Authenticate with `Authorization: Bearer <APIFY_TOKEN>`.

```
GET  /lookup?company=huggingface.co&maxJobs=20
POST /lookup      { "company": "stripe.com" }
POST /watchlist   { "companies": ["huggingface.co"], "watchlistId": "default" }
GET  /health
```

### What it will and will not do

Supported ATS: Greenhouse, Lever, Ashby, Workable, SmartRecruiters. Only their official public job-board JSON APIs are used. Recruiter names and emails are dropped; emails in descriptions are redacted.

Not in v1: Workday (every employer's site is different), Recruitee, Teamtailor, Personio, BambooHR, AI enrichment of missing salary or remote fields.

If the Actor cannot detect a supported ATS, or you pass a Workday (or other unsupported) URL, it returns a clear error. It does not return an empty job list and pretend that worked.

### Local development

```bash
npm install
npm test          # unit tests + live calls to public ATS APIs
npm run test:e2e  # apify run + local Standby server (no token, no deploy)
```

Batch:

```bash
npx apify run -i '{"company":"huggingface.co","maxJobs":5}'
```

Standby, locally:

```bash
npx apify run --server --port 4321
## or: ACTOR_TEST_STANDBY=1 npx apify run
## in another terminal:
curl -H 'x-apify-container-server-readiness-probe: true' http://127.0.0.1:4321/
curl 'http://127.0.0.1:4321/lookup?company=huggingface&maxJobs=3'
```

Do not put an Apify API token in chat or in the repo. When you are ready to deploy, create a token in the Apify Console and store it in a local ignored file (see PROJECT.md).

### Monetization

Pay-per-event is live on the Apify Store at the prices in the Cost section above (`job-result` $0.0025 primary, `company-lookup` $0.01, `watchlist-change` $0.002). Event names and prices are also documented in `.actor/pay_per_event.json`. The server / Standby interface is enabled (`usesStandbyMode: true`).

# Actor input Schema

## `mode` (type: `string`):

companyLookup: return open jobs for the company (or companies). watchlist: return only jobs that were added or closed since the last run of this watchlist.

## `company` (type: `string`):

Company name, domain, or careers / ATS URL for a single lookup. Examples: stripe.com, Hugging Face, https://jobs.lever.co/binance

## `companies` (type: `array`):

List of company names, domains, or careers / ATS URLs. Used in watchlist mode, or for several lookups at once. Capped by maxCompanies.

## `ats` (type: `string`):

Skip auto-detect and use this ATS. Use with slug, or when you already know the board.

## `slug` (type: `string`):

The company's board token on the ATS, for example 'binance' on Lever or 'discord' on Greenhouse. Use with ats to skip auto-detect.

## `includeDescription` (type: `boolean`):

Include job description text. For SmartRecruiters this makes one extra request per job. Default true.

## `includeHtml` (type: `boolean`):

Also include the original HTML in description.html. Default false to keep results small.

## `maxJobs` (type: `integer`):

Maximum job records to return per company after dedupe. Default 100. Lower this to cap cost ($0.0025 each in lookup mode).

## `maxCompanies` (type: `integer`):

Maximum companies to process in one run. Default 5.

## `watchlistId` (type: `string`):

Name of this watchlist inside the key-value store. Use different IDs for different company lists. Default 'default'.

## `watchlistStoreName` (type: `string`):

Named Apify key-value store used to remember the last snapshot. Default 'company-jobs-watchlist'. Must be a named store so state survives across runs.

## `returnBaseline` (type: `boolean`):

If true, the first watchlist run returns the current jobs as new (and charges per change). If false (default), the first run only stores the snapshot and returns no changes.

## Actor input object example

```json
{
  "mode": "companyLookup",
  "company": "huggingface.co",
  "includeDescription": true,
  "includeHtml": false,
  "maxJobs": 100,
  "maxCompanies": 5,
  "watchlistId": "default",
  "watchlistStoreName": "company-jobs-watchlist",
  "returnBaseline": false
}
```

# Actor output Schema

## `jobs` (type: `string`):

Dataset items: job records, watchlist changes, empty-board notices, and errors.

## `summary` (type: `string`):

JSON summary with detected ATS, counts, costs, and any errors.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "company": "huggingface.co"
};

// Run the Actor and wait for it to finish
const run = await client.actor("attentive_sunshine_2r9/company-jobs-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "company": "huggingface.co" }

# Run the Actor and wait for it to finish
run = client.actor("attentive_sunshine_2r9/company-jobs-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "company": "huggingface.co"
}' |
apify call attentive_sunshine_2r9/company-jobs-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,attentive_sunshine_2r9/company-jobs-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hcxH6g2name8GrVt0/builds/tCGTYNGZDIk60xdJw/openapi.json
