# Dice Tech Jobs Scraper (USA) (`xtracto/dice-jobs-scraper`) Actor

Scrapes tech job listings from Dice.com, one of the largest US tech-specific job boards. Search by keyword and optional location; returns salary, location, employment/workplace type and a description snippet from a single search call, with an optional full-description detail pass.

- **URL**: https://apify.com/xtracto/dice-jobs-scraper.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Tech Jobs Scraper (USA)

Scrape tech job listings from Dice.com, one of the largest US tech-specific job boards. Search by keyword and optional location; optionally fetch each job's detail page for the full description.

### Use cases

- Tech job market research (titles, salaries, locations, remote vs. on-site)
- Recruiting and talent-sourcing pipelines
- Tracking how many openings a skill or role has over time

### Input

| Field | Type | Description |
|---|---|---|
| `keywords` | array | **Required.** Free-text searches, e.g. `Python Developer`, `DevOps Engineer`. One search per entry. |
| `location` | string | Optional, written as on Dice (`Austin, TX`). Applies to every keyword. An unrecognised location is silently ignored by Dice — check `locationApplied` in the summary row. |
| `includeJobDetails` | boolean | Also fetch each job's detail page for the full HTML job description. Default `false`. |
| `maxItems` | integer | Stop a search after this many jobs. Default `100`; `0` = unlimited (still bounded by `maxPages`). |
| `maxPages` | integer | Hard cap on result pages per search (20 jobs per page). Default `20`. |
| `maxConcurrency` | integer | Requests in flight at once. Default `5`. |
| `minRequestInterval` | integer | Pacing between request starts. Default `1`. |
| `proxyConfiguration` | object | Defaults to US residential. |

```json
{
  "keywords": ["Python Developer"],
  "location": "Austin, TX",
  "maxItems": 100
}
```

### Output

Three record types share the dataset, told apart by `recordType`:

**`JOB`** — one row per listing

| Field | Description |
|---|---|
| `jobId`, `jobUrl` | Dice job id and link |
| `keywordQueried`, `locationQueried` | The search that found it |
| `searchPage`, `searchRank` | Where it appeared in the results |
| `listing` | Dice's search-result entry as returned, unrenamed — includes title, company name, posted date, salary, location, employment type, workplace type and a description snippet |
| `jobDetail` | Full job description from the detail page's structured data when `includeJobDetails` is on; otherwise `null` |

**`SEARCH_SUMMARY`** — one row per keyword: `keyword`, `location`, `searchUrl`, `locationApplied` (whether the location really narrowed the results), `pagesFetched`, `returnedCount`, `totalResults`.

**`ERROR`** — one row per input that failed, with `_error` and `_errorDetail`.

Every row also carries `_input`, `_source` and `_scrapedAt`.

# Actor input Schema

## `keywords` (type: `array`):

Free-text keyword search (e.g. 'Python Developer', 'DevOps Engineer') -- one search per entry, each with its own SEARCH_SUMMARY row. This is a genuine full-text search: a keyword with no matches is reported honestly with zero rows, not silently substituted.

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

Optional. Format as it appears on Dice ('Austin, TX', 'New York, NY'). Applies to every keyword in this run. An unrecognised location is silently ignored by Dice rather than erroring -- this actor detects that by comparing against a keyword-only baseline and reports it as locationApplied=false on the SEARCH_SUMMARY row, rather than pretending the filter worked.

## `includeJobDetails` (type: `boolean`):

Also fetch each job's detail page for the full HTML-formatted description. Search results already carry a description snippet, salary, location, employment type and workplace type. Off by default -- one extra request per job.

## `maxItems` (type: `integer`):

Stop paginating a search after this many jobs. Set to 0 for unlimited (still bounded by Max pages).

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

Hard cap on pagination depth, independent of maxItems (20 jobs/page). Dice re-serves the same page past a real ceiling rather than erroring -- this actor stops on its own once a page carries zero NEW job ids, so this is a cost guard for large searches, not the only stop condition.

## `maxConcurrency` (type: `integer`):

Upper bound on requests in flight at once, across searches and detail fetches. No bot-mitigation gate was observed for this target in recon, so this can be raised more freely than most actors in this portfolio.

## `minRequestInterval` (type: `integer`):

Paces request starts (not held inside a concurrency slot) rather than raw concurrency. Kept small by default as a courtesy -- no request-velocity sensitivity was observed for this target.

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

No WAF or bot-mitigation gate was observed for Dice.com in recon. Residential proxy pinned to the US is still the default, as this portfolio's standard baseline for a single-country public site.

## Actor input object example

```json
{
  "keywords": [
    "Python Developer"
  ],
  "location": "",
  "includeJobDetails": false,
  "maxItems": 100,
  "maxPages": 20,
  "maxConcurrency": 5,
  "minRequestInterval": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `items` (type: `string`):

One row per scraped record. See the dataset's default view for field definitions.

# 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 = {
    "keywords": [
        "Python Developer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/dice-jobs-scraper").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 = { "keywords": ["Python Developer"] }

# Run the Actor and wait for it to finish
run = client.actor("xtracto/dice-jobs-scraper").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 '{
  "keywords": [
    "Python Developer"
  ]
}' |
apify call xtracto/dice-jobs-scraper --silent --output-dataset

```

## MCP server setup

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

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/KqNikcWOH9tGJigo5/builds/y0zQD4XkSZwCcaAG4/openapi.json
