# NHL Contracts, Salaries & Salary Cap - CapWages (`pshivam/capwages-nhl-contracts-scraper`) Actor

NHL contract data from CapWages: every player's cap hit, salary, bonuses and clauses by season, dead cap, team cap space and draft picks. All 32 teams, roster and prospects. No proxy. Export to Excel, CSV or API.

- **URL**: https://apify.com/pshivam/capwages-nhl-contracts-scraper.md
- **Developed by:** [Shivam Prajapati](https://apify.com/pshivam) (community)
- **Categories:** Sports
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 records

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

## NHL Contracts, Salaries & Salary Cap - CapWages

**Get NHL contract data as clean rows**: every **player's cap hit, salary, signing bonus and trade clause** for each season of the contract, **dead cap** (buyouts, retained salary, buried penalties), **team cap space** with the cap ceiling, LTIR and roster size, and every **draft pick** a team owns or traded away. All 32 teams, NHL players and prospects. The data comes from CapWages' public team pages. Get only the records that are new since your last run. No proxy, no login. Export to Excel, CSV, JSON or the API.

**Actively maintained.** Last update: 2026-11-12. Every release passes 150+ automated tests, and Apify test-runs it every day.

### What can you use it for?

- **Fantasy hockey and betting.** Join cap hit and contract length to your player models. See who is on an expiring contract, UFA or RFA, and who has a no-trade clause.
- **Front-office style analysis.** Compare cap space, dead cap and LTIR across the 32 teams. Find who has room to add at the deadline.
- **Free agency and trade tracking.** Schedule the Actor with **Only new or changed records** and get every new contract and new season of a contract.
- **Sports media.** Build a "highest cap hits" table, a "who is signed through 2030" list or a cap chart by team.
- **Contract history.** Read each contract by season: the previous season and every season still to come.

### What data do you get?

Every row has a `recordType` and only the fields of that type are filled.

| `recordType` | Rows | What it is |
|---|---|---|
| `contract` | about 1,500 for the current season | One row per player and season: cap hit, salary, bonuses, clause, contract type |
| `dead_cap` | about 100 per season | One row per buyout, retained salary, buried penalty or LTIR overage and season |
| `team_summary` | 1 per team | Cap hit, cap space, ceiling and floor, LTIR pool, roster size |
| `draft_pick` | about 37 per team | A draft pick the team owns or has traded away |

| Field | What it is |
|---|---|
| `recordType`, `sourceUrl`, `scrapedAt` | The record type, the CapWages page it came from and when it was collected |
| `team`, `teamAbbreviation`, `season` | The team, its abbreviation (`BOS`) and the season (`2026-27`) |
| `playerName`, `playerSlug`, `position` | The player, CapWages' slug of the player and the position (`C`, `LW`, `RD`, `G`) |
| `listing`, `group`, `status` | Where CapWages lists the player (`roster`, `non_roster`, `long_term_injured_reserve` ...), the group (`forwards`, `defense`, `goalies`) and the status (`NHL`, `Minor`, `IR`, `LTIR` ...) |
| `terms`, `acquired`, `born`, `draftYear`, `sweaterNumber` | Terms such as `ELC` or `NMC`, how the team got the player, the birth date, the draft year and the sweater number |
| `contractType`, `signingTeam`, `expiryStatus` | The contract (`Standard Contract`, `Entry-Level Contract`, `Two-Way Contract`), who signed it and whether the player becomes a UFA or RFA |
| `capHit`, `aav`, `baseSalary`, `signingBonus`, `performanceBonuses`, `totalSalary`, `minorsSalary`, `clause` | The money of the season in US dollars and the trade clause |
| `deadCapType`, `deadCapCharge`, `buyoutCost`, `buyoutSavings`, `retainedPercent` | Dead cap rows: the kind, what counts against this team's cap, the buyout payment and savings, the retained share |
| `capCeiling`, `capFloor`, `teamCapHit`, `deadCapTotal`, `capSpace` | Team summary rows: the cap limits, the team's cap hit (dead cap included), the dead cap part and the space |
| `playoffCapHit`, `ltirPool`, `rosterSize`, `contractCount`, `carryover` | Team summary rows: the playoff cap hit, the LTIR pool, the roster size, the number of contracts and the carryover |
| `projectedCapSpace`, `deadlineCapSpace` | Team summary rows: CapWages' projected cap space and the space at the trade deadline |
| `pickYear`, `pickRound`, `pickTeam`, `tradedAway`, `tradedDate`, `tradeDetails` | Draft pick rows: the year, the round, the team whose pick it was, whether it was traded away, when and how |

#### Example results

```json
{"recordType": "contract", "team": "Boston Bruins", "teamAbbreviation": "BOS", "season": "2026-27", "playerName": "David Pastrnak", "playerSlug": "david-pastrnak", "position": "RW",
 "listing": "roster", "group": "forwards", "status": "NHL", "terms": "NMC", "acquired": "Draft", "draftYear": 2014, "sweaterNumber": 88, "contractType": "Standard Contract (Extension)",
 "signingTeam": "Boston Bruins", "expiryStatus": "UFA", "capHit": 11250000, "aav": 11250000, "baseSalary": 8250000, "signingBonus": 3000000, "performanceBonuses": 0, "totalSalary": 11250000, "clause": "NMC"}
```

```json
{"recordType": "dead_cap", "team": "Boston Bruins", "teamAbbreviation": "BOS", "season": "2026-27", "playerName": "Brandon Carlo", "playerSlug": "brandon-carlo", "listing": "dead_cap",
 "deadCapType": "retained", "deadCapCharge": 615000, "retainedPercent": 15.0, "capHit": 4100000, "contractType": "Standard Contract (Extension)"}
```

```json
{"recordType": "team_summary", "team": "Boston Bruins", "teamAbbreviation": "BOS", "season": "2026-27", "capCeiling": 104000000, "capFloor": 76900000, "teamCapHit": 98772084,
 "deadCapTotal": 2790000, "capSpace": 5227916, "playoffCapHit": 92798334, "ltirPool": 0, "rosterSize": 23, "contractCount": 43, "projectedCapSpace": 5454142, "deadlineCapSpace": 28744802}
```

### How to use it

1. Choose **What to get**: contracts, dead cap, team cap summaries or draft picks (one or several).
2. Narrow it with **Teams**, **Players**, **Seasons** and **Minimum cap hit**.
3. Press Start. All 32 teams take about a minute. Each team is one page.

#### Input options

| Input | What it does |
|---|---|
| `dataTypes` | `contracts`, `deadCap`, `teamSummaries`, `draftPicks`. Empty means contracts |
| `teams` | Abbreviation (`BOS`), nickname (`Bruins`), city or full name. Each team is one page |
| `players` | A name or a piece of it, or CapWages' slug |
| `seasons` | Start years such as `2026` or `2026-27`, or `all` for every season on the contracts. Empty means the current season |
| `minCapHit` | Contracts and dead cap of at least this much, in dollars |
| `onlyNew` | Skip records that earlier runs of the same search already returned |
| `maxItems` | Stop after this many records |
| `maxConcurrency` | Team pages fetched at the same time. 1 by default |
| `secondsBetweenRequests` | Pause between requests to CapWages. 1.5 seconds by default |

### How much does it cost?

You pay per record returned, nothing else. The current season's contracts of all 32 teams are about 1,500 records, about $3 at the Free plan price. A team's cap summary is one record. The first Apify plan includes free monthly credit to try it.

| Plan | Price per 1,000 records |
|---|---|
| Free | $2.00 |
| Bronze | $1.80 |
| Silver | $1.60 |
| Gold | $1.40 |

### Use it via API, on a schedule, or with your tools

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pshivam/capwages-nhl-contracts-scraper").call(run_input={
    "dataTypes": ["contracts"],
    "minCapHit": 8000000,
})
for row in sorted(client.dataset(run["defaultDatasetId"]).iterate_items(), key=lambda r: -r["capHit"]):
    print(row["playerName"], row["teamAbbreviation"], row["capHit"], row["expiryStatus"])
```

**Track every new contract.** Schedule the Actor in the Apify Console (Schedules), for example every day, and turn on **Only new or changed records**. A new contract or a new season on a contract makes a new record, and only new records are returned and charged. Connect the result to Slack, Discord, Google Sheets, Make, Zapier or n8n with Apify's integrations.

#### Use it in Clay, n8n, Make or Zapier

Use the Actor ID `pshivam/capwages-nhl-contracts-scraper` and this input:

```json
{"dataTypes": ["contracts", "teamSummaries"], "teams": ["Bruins", "Maple Leafs"], "onlyNew": true}
```

### This scraper vs. the alternatives

| | This Actor | CapWages' website | Paid sports data APIs |
|---|---|---|---|
| Output | Rows for Excel, CSV, JSON, API | Pages and tables | JSON |
| All 32 teams in one run | Yes | One page per team | Depends on the plan |
| Cap hit, salary, bonuses and clauses as fields | Yes | Shown in the tables | Rarely |
| Dead cap, retained salary and buyouts as rows | Yes | Shown per team | Rarely |
| Only new records | Yes | No | Depends |
| Price | $2.00 per 1,000 records | Free to read | Monthly plans |

### Good to know

- **The current season by default.** CapWages lists each contract with the previous season and every season still to come. Set `seasons` to `["all"]` for all of them.
- **A contract can have two parts.** A player with an extension has one contract for the running seasons and one for the extension. They are separate rows by `contractType` and `signingTeam`.
- **Team cap hit includes dead cap.** `capSpace` is the cap ceiling minus `teamCapHit`.
- **Dead cap shows this team's share.** For retained salary `deadCapCharge` is the part this team keeps; for a buyout it is the buyout's cap hit in that season.
- **Players on injured reserve** have their own `listing`, for example `long_term_injured_reserve`, and still count with their cap hit.
- **The site is read gently.** The default pause is 1.5 seconds. If CapWages refuses the Actor, it doubles the pause and stops with a message when the refusals go on.
- **Independent tool.** Not affiliated with or endorsed by CapWages or the NHL. It reads the public pages of capwages.com.

### FAQ

#### How do I get every NHL player's cap hit?

Leave What to get on contracts and press Start. About 1,500 rows come back, one per player contract of the current season, with cap hit, salary, signing bonus, clause and contract type.

#### How do I get the contract of one player?

Set `players` to the name, for example `["McDavid"]`, and `seasons` to `["all"]`. You get one row per season of the contract with cap hit and salary.

#### How do I see which teams have cap space?

Set `dataTypes` to `teamSummaries`. `capSpace` is the cap ceiling minus the team's cap hit, and `ltirPool` and `deadCapTotal` are in the same row.

#### How do I find buyouts and retained salary?

Set `dataTypes` to `deadCap`. Each row has the kind in `deadCapType` and what counts against the team in `deadCapCharge`.

#### How do I get alerts for new contracts?

Schedule the Actor with `onlyNew`. A new contract or a new season on a contract makes a new record, and only new records are returned and charged.

#### Do I need a proxy or an account?

No. The Actor reads CapWages' public pages and needs no proxy, no login and no account.

#### Is it legal to use this data?

The Actor reads public pages of capwages.com. You are responsible for how you use the results, and CapWages' terms apply to your use of its content.

# Actor input Schema

## `dataTypes` (type: `array`):

Contracts: one row per player and season with cap hit, salary, bonuses and clauses. Dead cap: buyouts, retained salary and buried penalties. Team cap summaries: cap space, cap hit, LTIR and roster size. Draft picks: every pick a team owns or traded away. Leave empty for contracts.

## `teams` (type: `array`):

Only these teams: the abbreviation (BOS), the nickname (Bruins), the city or the full name (Boston Bruins). Each team is one page request. Leave empty for all 32.

## `players` (type: `array`):

Only these players: a name or a piece of it (McDavid, Connor McDavid) or CapWages' slug (connor-mcdavid). Leave empty for all.

## `seasons` (type: `array`):

Seasons by their start year: 2026 or 2026-27 is the 2026-27 season. Or the word all for every season on the contracts (the previous season and up to eight years ahead). Leave empty for the current season.

## `minCapHit` (type: `integer`):

Contracts with a cap hit, and dead cap with a charge, of at least this much, for example 5000000.

## `onlyNew` (type: `boolean`):

Skip records that earlier runs of this same search already returned, so you pay only for new contracts and new seasons. The first run works as usual and remembers what it returned, in your key-value store 'capwages-nhl-contracts-scraper-only-new'.

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

Stop after this many records. You are charged per record.

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

Team pages fetched at the same time. 1 is polite: each page is about 500 KB.

## `secondsBetweenRequests` (type: `number`):

Pause between requests to CapWages. After a refusal the Actor doubles the pause for the rest of the run, and it stops when the refusals go on.

## Actor input object example

```json
{
  "dataTypes": [
    "contracts"
  ],
  "teams": [],
  "players": [],
  "seasons": [],
  "onlyNew": false,
  "maxItems": 100,
  "maxConcurrency": 1,
  "secondsBetweenRequests": 1.5
}
```

# Actor output Schema

## `contracts` (type: `string`):

Cap hit, salary, bonuses and clauses by player and season.

## `deadCap` (type: `string`):

Buyouts, retained salary and buried penalties.

## `teamSummaries` (type: `string`):

Cap hit, cap space, LTIR and roster size per team.

## `draftPicks` (type: `string`):

Draft picks each team owns or traded away.

## `runStats` (type: `string`):

Requests made, time spent and number of records for this run (RUN_STATS record).

# 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 = {
    "dataTypes": [
        "contracts"
    ],
    "teams": [],
    "players": [],
    "seasons": [],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("pshivam/capwages-nhl-contracts-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 = {
    "dataTypes": ["contracts"],
    "teams": [],
    "players": [],
    "seasons": [],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("pshivam/capwages-nhl-contracts-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 '{
  "dataTypes": [
    "contracts"
  ],
  "teams": [],
  "players": [],
  "seasons": [],
  "maxItems": 100
}' |
apify call pshivam/capwages-nhl-contracts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pshivam/capwages-nhl-contracts-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/jegycym4V8An8bcMT/builds/NgjzJE3E9a4ymeNnp/openapi.json
