# Dice Advertised Pay, With the Bands Taken Out (`gubidonius/dice-salaries`) Actor

Advertised pay from dice.com, normalised to a yearly figure you can compare. Dice's own salary bands are left out by default, hourly rates are converted with the assumption written on the row, and every advert that was dropped is counted with its reason.

- **URL**: https://apify.com/gubidonius/dice-salaries.md
- **Developed by:** [Gregory Bolshakov](https://apify.com/gubidonius) (community)
- **Categories:** Jobs, Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 salary returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 advertised pay

Advertised pay from dice.com, normalised to a yearly figure you can compare across adverts.

### The salary field holds five different things

One column on dice.com carries all of these:

- an employer's own range, `USD 119,543.00 - 152,749.00 per year`
- one of Dice's five salary bands, `USD 80,001.00 - 120,000.00 per year`
- an hourly rate, `USD 30.00 per hour`
- words, `Depends on Experience`
- nothing at all

They are formatted identically. Average the column and you have mixed a band edge, an hourly
rate and a real wage into one number.

This Actor sorts them. Bands are left out by default. Hourly rates are converted. Words and
blanks are counted and reported, not written as zeros.

### Nothing is dropped without a reason

The run summary carries a count for every advert that did not make it:

```
excluded: { diceBand, noSalary, salaryIsWords, hourlyNotAsked, otherPeriod, noPeriodStated }
```

Rows plus exclusions equals adverts read, and `everyAdvertAccountedFor` asserts it on every
run. On a 400 advert run it balanced exactly.

`noPeriodStated` is the one worth knowing about. An advert whose salary is a bare number with
no period is left out rather than assumed to be yearly, because a 30 in this field might be an
hourly rate.

### Conversions say so on the row

An hourly advert gets `isConvertedFromHourly` true and `assumedHoursPerYear` 2080, which is 40
hours across 52 weeks. `USD 29.00 - 33.50 per hour` becomes 60,320 to 69,680.

`originalMin` keeps the rate, so you can redo the arithmetic with a different number. Change
`hoursPerYear` and the row records what you used.

In a 400 advert run, 18 adverts were hourly.

### One row per advert, not per title

Titles on this board barely repeat. 741 adverts held 607 distinct titles, and only 31 titles
reached three adverts. So there is no useful median per job title here, and this Actor does not
pretend otherwise. It gives you the adverts and their pay.

### It is a sample of the board

dice.com reported 111,699 adverts. Asked for 900 it served 741 and then repeated a page it had
already served. There is no empty page and no error at the end.

So the percentiles in the run summary describe what the board served, which is a recent slice,
not the market. `advertsTheBoardClaimedButDidNotServe` is in every run summary.

### What it costs

$0.00001 per run and $0.00001 per salary. The cap is on adverts read, not on salaries returned,
because only some adverts carry pay this Actor can use. An excluded advert is never charged
for. A run where nothing was usable costs nothing.

### No keyword search

dice.com's robots.txt disallows `/jobs?q*`, so this Actor never sends a keyword. Narrow with
place, contract type, workplace, who is advertising, posted date or visa sponsorship.

dice.com has no salary tool to read either. `/salary-calculator` redirects to `/career-tools`,
and the query forms are disallowed. Advertised pay is the pay surface this source has.

# Actor input Schema

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

A place in dice.com's own form, for example "Austin, TX, USA". A place dice.com cannot resolve returns the whole United States board rather than an error, so this run checks for that and stops. Leave empty for the whole board.

## `postedDate` (type: `string`):

dice.com offers these three windows and nothing else.

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

dice.com takes the value, not the label. A label returns zero adverts rather than an error. Contract roles are where most hourly pay is.

## `employerType` (type: `string`):

Compare what employers advertise against what agencies advertise.

## `workplaceTypes` (type: `string`):

The remote filter that works.

## `willingToSponsor` (type: `string`):

On 2026-09-16 this cut held no Dice bands at all, 471 phrases and 201 real employer ranges.

## `includeHourly` (type: `boolean`):

Convert hourly rates to a yearly equivalent and include them. Every converted row is marked and carries the hours it assumed. Turn this off to keep only pay dice.com published as yearly.

## `hoursPerYear` (type: `integer`):

What an hourly rate is multiplied by. 2080 is 40 hours across 52 weeks. This assumption is written onto every converted row, so it can be redone with a different number from originalMin.

## `includeDiceBands` (type: `boolean`):

Off by default. About one advert in five publishes one of dice.com's five bands, like USD 80,001.00 to 120,000.00, in the same field and the same format as real pay. Those are not what the employer pays. Turn this on to get them anyway, marked with isDiceBandNotEmployerPay. They are never included in the run summary's pay statistics either way.

## `maxAdvertsToRead` (type: `integer`):

Adverts to read from the board, not salaries to return: only some adverts carry usable pay. Must be a positive number. The board stops serving new adverts at roughly 740 whatever you ask for, which the run summary reports.

## Actor input object example

```json
{
  "location": "",
  "postedDate": "",
  "employmentType": "",
  "employerType": "",
  "workplaceTypes": "",
  "willingToSponsor": "",
  "includeHourly": true,
  "hoursPerYear": 2080,
  "includeDiceBands": false,
  "maxAdvertsToRead": 500
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "location": "",
    "postedDate": "",
    "employmentType": "",
    "employerType": "",
    "workplaceTypes": "",
    "willingToSponsor": "",
    "includeHourly": true,
    "hoursPerYear": 2080,
    "includeDiceBands": false,
    "maxAdvertsToRead": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("gubidonius/dice-salaries").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 = {
    "location": "",
    "postedDate": "",
    "employmentType": "",
    "employerType": "",
    "workplaceTypes": "",
    "willingToSponsor": "",
    "includeHourly": True,
    "hoursPerYear": 2080,
    "includeDiceBands": False,
    "maxAdvertsToRead": 500,
}

# Run the Actor and wait for it to finish
run = client.actor("gubidonius/dice-salaries").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 '{
  "location": "",
  "postedDate": "",
  "employmentType": "",
  "employerType": "",
  "workplaceTypes": "",
  "willingToSponsor": "",
  "includeHourly": true,
  "hoursPerYear": 2080,
  "includeDiceBands": false,
  "maxAdvertsToRead": 500
}' |
apify call gubidonius/dice-salaries --silent --output-dataset

```

## MCP server setup

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

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/gBAFItLEPzW4f3XwC/builds/OVE1QoDiruZVtWyhd/openapi.json
