# Steam Deals & Featured Games Scraper (`w3crawler/steam-deals-scraper`) Actor

Extracts Steam's public featured-category game snapshots with discount percentage, original and final regional prices, savings, platform availability, sale expiry, images and category provenance.

- **URL**: https://apify.com/w3crawler/steam-deals-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 deals

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/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

## Steam Deals & Featured Games Scraper

Read **public Steam featured-category data** and save the selected categories as regional game-deal records. Choose a two-letter country code to receive the price and currency values Steam returns for that storefront. The default categories are `specials`, `top_sellers`, and `new_releases`; category keys remain configurable, so the same Actor can read other public keys such as `coming_soon`.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/steam-deals-scraper) and select **Try for free** or open the **Input** tab.
2. Leave `mode` at `deals` and choose the `categories` you need.
3. Set `country` for the storefront currency, and keep `maxItems` small for a first test.
4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT`) to check the outcome and counts.

### Input

All fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `mode` | string enum | Optional | `deals` | `deals` and `featured` both use the selected public featured-category keys; the value is retained in the summary. |
| `categories` | string array | Optional | `["specials","top_sellers","new_releases"]` | Steam featured-category keys such as `specials`, `top_sellers`, `new_releases`, and `coming_soon`, up to 20. |
| `country` | string | Optional | `us` | Two-letter Steam country code controlling price currency, such as `us`, `de`, `gb`, or `jp`. |
| `language` | string | Optional | `english` | Steam storefront language parameter, 1–50 characters. |
| `maxItems` | integer | Optional | `200` | Maximum category-game records to save across all selected categories, 1–2,000. |
| `delayMs` | integer | Optional | `750` | Minimum delay between live storefront requests, 250–10,000 ms. |
| `maxRequestRetries` | integer | Optional | `1` | Bounded retries for transient failures; access boundaries are not retried. 0–3. |
| `timeoutMs` | integer | Optional | `30000` | Maximum time for one public storefront response, 5,000–120,000 ms. |
| `maxResponseBytes` | integer | Optional | `10000000` | Maximum response size accepted for parsing, 100,000–30,000,000 bytes. |

Example input matching the saved run:

```json
{
  "mode": "deals",
  "categories": [
    "specials",
    "top_sellers",
    "new_releases"
  ],
  "country": "us",
  "language": "english",
  "maxItems": 5,
  "delayMs": 500,
  "maxRequestRetries": 1,
  "timeoutMs": 30000,
  "maxResponseBytes": 10000000
}
```

The Actor reads the official public Steam Store featured-categories JSON. It does not log in or bypass access controls.

### Output

The dataset contains one row per saved category-game record. Optional values are omitted when Steam does not publish them; they are not inferred. No diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordType` | string | Always | Record type; always `steamDeal`. |
| `sourceName` | string | When published | Human-readable source name. |
| `sourceUrl` | string | Always | Exact public featured-categories URL requested. |
| `pageUrl` | string | When published | Public Steam Store app URL derived from the app ID. |
| `sourceKind` | string | When published | Source kind, `featured_categories_json`. |
| `app_id` | integer | When published | Steam application ID. |
| `name` | string | Always | Public game name. |
| `category` | string | When published | Selected featured-category key that contained the item. |
| `discounted` | boolean | When published | Whether Steam marks the item as discounted. |
| `discount_percent` | number | When published | Discount percentage. |
| `original_price` | number | When published | Price before discount, in the selected country's currency. |
| `final_price` | number | When published | Current price in the selected country's currency. |
| `currency` | string | When published | Currency code returned by Steam. |
| `savings_amount` | number | When published | Absolute saving versus the original price. |
| `windows` | boolean | When published | Windows platform flag. |
| `mac` | boolean | When published | macOS platform flag. |
| `linux` | boolean | When published | Linux platform flag. |
| `discount_expires` | string | When published | Discount expiry timestamp when Steam supplies one. |
| `header_image` | string | When published | Public header image URL. |
| `url` | string | Always | Canonical public Steam Store app URL. |
| `country` | string | When published | Country code used for the price. |
| `source` | string | When published | Source label, `steam`. |
| `scraped_at` | string | When published | Source-row collection timestamp. |
| `scrapedAt` | string | Always | Time the record was saved, in ISO UTC. |

The example below is a real saved row from the 2026-10-25 run. Every value is unchanged.

```json
{
  "recordType": "steamDeal",
  "sourceName": "Steam Store featured categories",
  "sourceUrl": "https://store.steampowered.com/api/featuredcategories/?cc=us&l=english",
  "pageUrl": "https://store.steampowered.com/app/1091500/",
  "sourceKind": "featured_categories_json",
  "app_id": 1091500,
  "name": "Cyberpunk 2077",
  "category": "specials",
  "discounted": true,
  "discount_percent": 70,
  "original_price": 59.99,
  "final_price": 17.99,
  "currency": "USD",
  "savings_amount": 42,
  "windows": true,
  "mac": true,
  "linux": false,
  "discount_expires": "2026-10-26T18:00:00.000Z",
  "header_image": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1091500/48a93d6445a67520ea49833c93dae8f2e68fc540/header_alt_assets_9.jpg?t=1792682505",
  "url": "https://store.steampowered.com/app/1091500/",
  "country": "us",
  "source": "steam",
  "scraped_at": "2026-10-25T21:13:01.885Z",
  "scrapedAt": "2026-10-25T21:13:01.885Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT` (and mirrored to `OUTPUT_SUMMARY`).

| Field | Meaning |
| --- | --- |
| `status` | Run outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Dataset completeness: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `startedAt` | UTC run start time. |
| `completedAt` | UTC summary creation time. |
| `mode` | Mode used for the run. |
| `country` | Country code used for pricing. |
| `language` | Language value used for the storefront request. |
| `categories` | Category keys selected for the run. |
| `categoryCount` | Number of selected category keys. |
| `sourceUrl` | Steam Store source website. |
| `sourceDataUrl` | Exact featured-categories URL requested. |
| `sourceItemCount` | Items returned by the source before filtering and deduplication. |
| `storedRecordCount` | Records saved to the dataset. |
| `uniqueAppIds` | Distinct app IDs among the saved records. |
| `discountedCount` | Saved records marked as discounted. |
| `categoryCounts` | Saved-record count per category key. |
| `requests` | Public requests attempted. |
| `failedRequests` | Requests that failed before a usable response. |
| `rejectedInputCount` | Invalid input values rejected before the run. |
| `diagnosticEvents` | Operational issues recorded outside the dataset. |
| `failureCount` | Failed operational steps. |
| `datasetWriteFailureCount` | Dataset writes that failed. |
| `outputWriteFailureCount` | Summary writes that failed. |
| `fixtureMode` | Whether a repository-local fixture was used. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Eligible records were saved without a diagnostic. |
| `SUCCEEDED` | `PARTIAL` | Records were saved, but a later problem prevented a complete run. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The source completed cleanly and returned no matching records. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable record was saved. |

Example `OUTPUT` from the 2026-10-25 run:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "startedAt": "2026-10-25T21:13:01.774Z",
  "completedAt": "2026-10-25T21:13:02.121Z",
  "mode": "deals",
  "country": "us",
  "language": "english",
  "categories": [
    "specials",
    "top_sellers",
    "new_releases"
  ],
  "categoryCount": 3,
  "sourceUrl": "https://store.steampowered.com/",
  "sourceDataUrl": "https://store.steampowered.com/api/featuredcategories/?cc=us&l=english",
  "sourceItemCount": 50,
  "storedRecordCount": 5,
  "uniqueAppIds": 5,
  "discountedCount": 5,
  "categoryCounts": {
    "specials": 5
  },
  "requests": 2,
  "failedRequests": 0,
  "rejectedInputCount": 0,
  "diagnosticEvents": 0,
  "failureCount": 0,
  "datasetWriteFailureCount": 0,
  "outputWriteFailureCount": 0,
  "fixtureMode": false
}
```

### Coverage and limitations

The Actor makes one bounded public featured-categories request per run, plus a robots-policy request, and filters the returned sections by the selected `categories`. The saved run requested three categories but only `specials` contained rows, so `categoryCounts` contains only `specials`. `categories` keys must exist in Steam's public response; an unknown key simply contributes no rows. Prices, discounts, expiry times, and platform flags are point-in-time values for the selected `country` and can change after the run. The Actor does not log in, browse individual store pages, use a proxy, or bypass access controls. Missing source values are omitted rather than guessed, and blocked, empty, or partial responses are reported in the summary rather than written as rows.

### Usage and support

Cost depends mainly on runtime and response size, not on per-item enrichment. Start with a small `maxItems`, inspect the dataset and `OUTPUT`, then add categories or raise the cap. See the Actor's Pricing tab for current account rates. Use the [Actor Issues page](https://apify.com/w3crawler/steam-deals-scraper/issues) to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is an independent community tool and is not affiliated with Valve or Steam. Use it only for public data and in accordance with Steam's terms, robots guidance, and applicable law.

# Actor input Schema

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

deals and featured use the selected public featured-category keys; the mode is retained in the run summary.

## `categories` (type: `array`):

Steam featuredcategories keys such as specials, top_sellers, new_releases, and coming_soon.

## `country` (type: `string`):

Two-letter Steam country code controlling price currency, for example us, de, gb, or jp.

## `language` (type: `string`):

Steam storefront language parameter.

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

Maximum category-game records to store across all selected categories.

## `delayMs` (type: `integer`):

Minimum delay between live storefront requests.

## `maxRequestRetries` (type: `integer`):

Bounded retries for transient storefront failures; access boundaries are not retried.

## `timeoutMs` (type: `integer`):

Maximum time for one public storefront response.

## `maxResponseBytes` (type: `integer`):

Safety cap for the public storefront response or fixture.

## Actor input object example

```json
{
  "mode": "deals",
  "categories": [
    "specials",
    "top_sellers",
    "new_releases"
  ],
  "country": "us",
  "language": "english",
  "maxItems": 200,
  "delayMs": 750,
  "maxRequestRetries": 1,
  "timeoutMs": 30000,
  "maxResponseBytes": 10000000
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `keyValueStore` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

## `sourceMetadata` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/steam-deals-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/steam-deals-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 '{}' |
apify call w3crawler/steam-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/steam-deals-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/HxofkHWfsZ3uOqZEv/builds/V8WRYNattlGccEJxQ/openapi.json
