# Dice Jobs Scraper - US Tech Jobs, Salary & Descriptions (`aigrator/dice-jobs-api`) Actor

Scrape Dice.com tech jobs by keyword and location. One JSON row per job with company, salary, workplace type, employment type, full description and apply URL. Monitor mode returns only new, updated and closed jobs.

- **URL**: https://apify.com/aigrator/dice-jobs-api.md
- **Developed by:** [Ярослав Литовченко](https://apify.com/aigrator) (community)
- **Categories:** Jobs, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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

## Dice Jobs Scraper

US tech vacancies from [Dice.com](https://www.dice.com) as one JSON row per job: company, location, salary with its period, employment type, workplace type, the full description and the apply URL.

Dice serves a JSON search endpoint and one schema.org block per job page, so this Actor needs no browser and no Cloudflare bypass. A 100-job run with full descriptions measured **18 seconds and 0.0049 compute units** on the platform.

### What you get

One dataset item per job:

```json
{
  "type": "job",
  "source": "dice",
  "jobId": "d7c46bf3-3285-4ec0-a0d6-41aa22a654e4",
  "title": "Salesforce Software Engineer",
  "company": "Dexian DISYS",
  "companyUrl": "https://www.dice.com/company-profile/dcacec2d-98cd-50f4-9e8e-2f67051c4c3c",
  "companyLogoUrl": "https://d3qscgr6xsioh.cloudfront.net/...",
  "location": "Des Moines, Iowa, USA",
  "city": "Des Moines",
  "state": "Iowa",
  "country": "USA",
  "workplaceType": null,
  "isRemote": false,
  "employmentType": "full-time",
  "employmentTypes": ["full-time", "contract", "third-party"],
  "employerType": "Recruiter",
  "easyApply": true,
  "willingToSponsor": false,
  "salary": {
    "min": 55, "max": 65, "currency": "USD", "period": "hour",
    "annualMin": 114400, "annualMax": 135200, "source": "provided"
  },
  "salaryText": "$55 - $65 per hour",
  "snippet": "Salesforce Software Engineer Needed. 1 year contract...",
  "descriptionText": "Salesforce Software Engineer Needed...",
  "descriptionHtml": "<p><strong>Salesforce Software Engineer Needed.</strong>...",
  "postedAt": "2026-11-19T20:10:39.000Z",
  "updatedAt": "2026-11-23T08:14:44.000Z",
  "validThrough": "2026-12-24T08:14:44.000Z",
  "applyUrl": "https://www.dice.com/job-detail/d7c46bf3-3285-4ec0-a0d6-41aa22a654e4",
  "directApplyUrl": null,
  "searchQuery": "software engineer",
  "searchLocation": "New York, NY",
  "scrapedAt": "2026-11-23T11:37:57.000Z"
}
```

Fields worth knowing:

- `salary` keeps the original `period`. Dice publishes both `$55 - $65 per hour` and `USD 137,717.00 - 216,000.00 per year`; the hourly and monthly ranges are annualized into `annualMin`/`annualMax` so a column of jobs can be compared. `salaryText` is the untouched source string for auditing.
- `salary` is `null` when Dice says `Depends on Experience` or `Compensation information provided in the description`. That is absent data, not a parse failure.
- `employmentTypes` holds every type Dice publishes for the listing (`Full-time, Contract, Third Party` becomes three values); `employmentType` is the primary one for filtering.
- `workplaceType` is `remote` only when Dice marks the job as work from home. `null` covers both onsite and hybrid, because Dice does not separate them.
- `applyUrl` is always the canonical `/job-detail/<guid>` page. Some listings publish a `/direct-apply/<guid>` link instead; that page is a thin shell without the description, so it is kept as `directApplyUrl` and the description is still read from the canonical page.
- `postedAt`, `updatedAt` and `validThrough` are UTC ISO timestamps. Dice writes dates as `11/21/2026 20:17:15` in the search response and as ISO in the job page; both are normalized.

### Input

| Field | Default | Notes |
|---|---|---|
| `query` | `software engineer` | Keyword sent to the search endpoint. |
| `location` | — | `New York, NY`, `Austin, TX`, `90210`. Empty means the whole United States. |
| `radius` | 30 | Miles, used only with a location. Dice accepts up to 100. |
| `maxJobs` | 200 | Stop after this many jobs; 0 means no limit up to 20000. |
| `maxPages` | 5 | 100 jobs per page, so 5 pages is 500 jobs. |
| `includeDescription` | true | Full descriptions cost one extra request per job (~52 KB compressed, ~1 s). |
| `remoteOnly` | false | Dice work-from-home filter. |
| `employmentType` | — | full-time, part-time, contract, third-party, internship. |
| `postedWithinDays` | 0 | 1, 3, 7 or 30 days. |
| `monitorMode` | false | Return only new, updated and closed jobs after the first run. |
| `proxyConfiguration` | no proxy | The endpoints answer a datacenter address; enable a proxy only if your runs start getting 403. |

### Monitor mode

The first run of a saved search is a baseline and is billed like a snapshot. Later runs return only jobs that are `new`, `updated` or `closed`. Closures and status rows are free. If a run returns nothing while the previous one had open jobs, closures are held back until the next run confirms it, so a temporary outage cannot mark the board as closed.

State is scoped to the current Apify Task automatically; two Tasks with the same keyword never share a baseline. Changing the keyword, location, radius or filters starts a new baseline.

Descriptions are still fetched in monitor mode, because a text edit is what makes a job `updated`. A run that returns nothing therefore still spends the detail requests of the jobs it checked; those checks are not billed as rows.

### Billing

Pay per event, no subscription:

| Event | Price |
|---|---|
| `job` | $0.001 per returned job — $1.00 per 1,000, $0.80 on Gold |
| `apify-actor-start` | $0.00005 |

Closed jobs and status rows are not charged. There is one paid event, not two: the description arrives inside the same detail request that the job needs, so it is part of the row, not a separate product.

### Limits worth knowing

- Dice returns 100 jobs per page and reports the real match count. A broad `software engineer` search reports 75,554 jobs across 756 pages; `maxPages` is what bounds the run.
- The search response carries only a 500-character summary. The full description is one request per job: ~235 KB decoded, ~52 KB compressed, about 1 second. The Actor reads at most 1000 detail pages per run and stops scheduling after 10 minutes; rows past that keep the card data.
- Dice is a US board: the search endpoint is queried with `countryCode2=US` and there is no country filter to change.
- The search endpoint requires the public web API key that dice.com itself sends. If Dice rotates it, the endpoint answers 403 and the run fails with a message that names the cause; a proxy does not fix a rotated key.
- `employmentType` is null only when Dice publishes a type this Actor does not map; `employmentTypes` keeps the normalized subset in every case.
- Job IDs are stable GUIDs, so monitor mode works across runs. The same role posted in several cities has several GUIDs and appears several times.

### Local checks

```bash
node scripts/test-parser.mjs    # parser, salary and JSON-LD checks against saved responses
node scripts/salary-cases.mjs   # 41 salary cases shared with the sibling Actors
```

# Actor input Schema

## `query` (type: `string`):

What to search for: software engineer, data scientist, devops, react developer. Dice matches the keyword on its own side. Leave empty to run the demo search: software engineer.

## `location` (type: `string`):

City, state or ZIP as Dice writes it: New York, NY; Austin, TX; 90210. Leave empty for the whole United States.

## `radius` (type: `integer`):

Used only when a location is set. 0 means the exact location, 100 is the maximum Dice accepts.

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

Stop after this many jobs. The Actor charges per returned job, so this is also the per-run cost ceiling. Set 0 for no limit, up to 20000.

## `maxPages` (type: `integer`):

Dice returns 100 jobs per page. 5 pages is 500 jobs; a broad keyword can report 750 pages, so raise it together with maxJobs.

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

The search response carries only a 500-character summary, so the full description is a separate request per job (~52 KB, ~1 s). Turn it off to keep the run fast and small when titles, companies and salaries are enough.

## `remoteOnly` (type: `boolean`):

Keep only jobs Dice marks as work-from-home.

## `employmentType` (type: `string`):

Keep only this employment type. Empty means every type. Dice tags contract roles and recruiter listings separately.

## `postedWithinDays` (type: `string`):

0 = no limit. Dice supports 1, 3, 7 and 30 days.

## `monitorMode` (type: `boolean`):

On the first run per state key the Actor stores a baseline and returns the full list, billed per row like a snapshot. Later runs return only new, updated and closed jobs; only new and updated are charged. If the search suddenly returns nothing, closures are reported only after a second consecutive empty run. Changing the keyword, location or filters starts a new baseline.

## `stateKey` (type: `string`):

Leave empty: the state is scoped to the current Apify Task automatically, so different Tasks never share a baseline. Fill it only if you run the Actor directly (without a Task) or need several independent monitoring profiles inside one Task.

## `proxyConfiguration` (type: `object`):

The measured endpoints answer a datacenter address, so no proxy is needed. Enable one only if your own runs start getting HTTP 403. The Actor never switches to a proxy on its own.

## Actor input object example

```json
{
  "query": "software engineer",
  "radius": 30,
  "maxJobs": 200,
  "maxPages": 5,
  "includeDescription": true,
  "remoteOnly": false,
  "postedWithinDays": "0",
  "monitorMode": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per job, plus an optional status row when nothing changed or nothing matched. Fields are described in the dataset schema.

# 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 = {
    "query": "software engineer"
};

// Run the Actor and wait for it to finish
const run = await client.actor("aigrator/dice-jobs-api").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 = { "query": "software engineer" }

# Run the Actor and wait for it to finish
run = client.actor("aigrator/dice-jobs-api").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 '{
  "query": "software engineer"
}' |
apify call aigrator/dice-jobs-api --silent --output-dataset

```

## MCP server setup

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

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/mK0oqNrmVTpqZyJKQ/builds/VI4seHIKpcPGZYNIU/openapi.json
