# Steamspy Stats Scraper (`kawsar/steamspy-stats-scraper`) Actor

Pull Steam owners, playtime estimates, reviews, and concurrent user counts into clean JSON, CSV, or Excel. Choose from top games, specific app IDs, or tag-based lookups to gather market intelligence instantly

- **URL**: https://apify.com/kawsar/steamspy-stats-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (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 results

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

## SteamSpy Stats Scraper

![SteamSpy Stats Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/steamspy-stats-scraper-cover.png)

Collect Steam game statistics and player activity estimates from SteamSpy in structured JSON, CSV, or Excel formats. Discover popular games, look up specific Steam app IDs, or explore games by tag. Retrieve information such as estimated owners, reviews, playtime, pricing, developers, publishers, and concurrent users for research and analysis.

### What This Actor Does

This actor collects publicly available Steam game statistics from SteamSpy. Choose from three modes:

- **Top Two Weeks:** Collect games ranked by recent two-week activity.
- **App:** Retrieve statistics for specific Steam app IDs.
- **Tag:** Explore games associated with a selected tag.

Results include available game details, ownership estimates, review counts, playtime statistics, pricing information, and concurrent user counts.

**Note:** SteamSpy statistics are estimates and should not be treated as official Valve figures.

### Input Example

```json
{
  "mode": "top2weeks",
  "maxItems": 50,
  "requestDelayMs": 1000
}
```

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `top2weeks` | Collection mode: `top2weeks`, `app`, or `tag`. |
| `appIds` | array | `[]` | Steam app IDs to collect in app mode, such as `730`. |
| `tag` | string | `Roguelike` | Tag name used in tag mode. |
| `maxItems` | integer | `100` | Maximum number of successful results per run. |
| `requestDelayMs` | integer | `1000` | Delay between requests in milliseconds. |
| `userAgent` | string | `ActorResearch/1.0` | User-Agent value used for requests. |
| `timeoutSecs` | integer | `300` | Overall actor run timeout in seconds. |
| `requestTimeoutSecs` | integer | `30` | Timeout for individual requests in seconds. |
| `proxyConfiguration` | object | Proxy disabled | Optional proxy configuration. |

### Collection Modes

- **top2weeks:** Discover games with recent player activity over the previous two weeks.
- **app:** Collect statistics for selected Steam app IDs.
- **tag:** Find games associated with a specific tag, such as `Roguelike`.

### Output Example

```json
{
  "appId": 730,
  "name": "Counter-Strike: Global Offensive",
  "developer": "Valve",
  "publisher": "Valve",
  "scoreRank": "",
  "positive": 7642084,
  "negative": 1173003,
  "userScore": 0,
  "owners": "100,000,000 .. 200,000,000",
  "averageForever": 0,
  "average2Weeks": 0,
  "medianForever": 0,
  "median2Weeks": 0,
  "price": "0",
  "initialPrice": "0",
  "discount": "0",
  "ccu": 1013936,
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Description |
|---|---|
| `appId` | Unique Steam application ID. |
| `name` | Game title. |
| `developer` | Game developer. |
| `publisher` | Game publisher. |
| `scoreRank` | SteamSpy score ranking value when available. |
| `positive` | Number of positive reviews. |
| `negative` | Number of negative reviews. |
| `userScore` | User score value provided by SteamSpy. |
| `owners` | Estimated number of game owners, represented as a range. |
| `averageForever` | Average playtime across the lifetime period, in minutes. |
| `average2Weeks` | Average playtime over the previous two weeks, in minutes. |
| `medianForever` | Median lifetime playtime, in minutes. |
| `median2Weeks` | Median playtime over the previous two weeks, in minutes. |
| `price` | Current price value. |
| `initialPrice` | Initial price value. |
| `discount` | Discount value. |
| `ccu` | Current concurrent user estimate. |
| `scrapedAt` | Timestamp when the result was collected. |

### Use Cases

- **Market Research:** Analyze estimated ownership ranges and player activity across Steam games.
- **Tag Research:** Collect games by categories such as Roguelike for comparison and analysis.
- **App Statistics:** Look up specific Steam app IDs to retrieve game statistics and review information.
- **Game Analytics:** Compare estimated playtime, concurrent users, pricing, and review counts.
- **Dataset Building:** Export SteamSpy statistics to JSON, CSV, or Excel for dashboards and research.

### Frequently Asked Questions

**What collection modes are available?**

The actor supports `top2weeks`, `app`, and `tag` modes for discovering games and collecting their statistics.

**Can I look up specific Steam games?**

Yes. Select `app` mode and provide the relevant Steam application IDs through `appIds`.

**Can I collect games by category?**

Yes. Use `tag` mode and provide a tag name, such as `Roguelike`.

**Are the ownership and playtime figures official Steam statistics?**

No. Ownership and playtime figures are SteamSpy estimates. They are not official Valve statistics and should be interpreted accordingly.

**What information does the actor collect?**

Available results include game names, developers, publishers, estimated owners, reviews, playtime statistics, prices, discounts, and concurrent users.

**Can I export the results?**

Yes. Export your dataset in JSON, CSV, Excel, and other supported Apify formats.

**Can I schedule recurring collections?**

Yes. Use Apify schedules to run the actor automatically at your preferred intervals.

### Trademark Notice

Steam and SteamSpy names, logos, and trademarks belong to their respective owners. This actor is an independent data collection tool and does not imply affiliation, sponsorship, or endorsement by Valve or SteamSpy.

### Is Web Scraping Legal?

This actor collects publicly accessible Steam game statistics without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source website's policies.

- **Personal Data:** Developer names, publisher information, or other identifying details may be subject to privacy laws such as GDPR and CCPA where applicable. Use collected information responsibly.
- **Copyright and Licensing:** Game descriptions, names, and other materials may be protected by copyright or applicable licences. Check the relevant terms before reproducing or redistributing protected content.
- **Platform Terms and Rate Limits:** Respect SteamSpy's terms, attribution requirements, and reasonable request limits.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional about your specific use case.

For more information, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

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

What to collect. top2weeks pulls the top 100, app looks up Steam app IDs, tag lists games for a SteamSpy tag.

## `appIds` (type: `array`):

Steam app IDs for app mode (e.g. 730 for Counter-Strike).

## `tag` (type: `string`):

SteamSpy tag for tag mode (e.g. Roguelike).

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between requests. SteamSpy asks for about 1 request per second.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "top2weeks",
  "appIds": [
    "730"
  ],
  "tag": "Roguelike",
  "maxItems": 100,
  "requestDelayMs": 1000,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

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

Full dataset for this run.

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

Dataset items as JSON.

# 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 = {
    "appIds": [
        "730"
    ],
    "tag": "Roguelike"
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/steamspy-stats-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 = {
    "appIds": ["730"],
    "tag": "Roguelike",
}

# Run the Actor and wait for it to finish
run = client.actor("kawsar/steamspy-stats-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 '{
  "appIds": [
    "730"
  ],
  "tag": "Roguelike"
}' |
apify call kawsar/steamspy-stats-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/steamspy-stats-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/Sub3Wd8ZAp3Vog5EC/builds/TYLYTA25HLxFGpR7S/openapi.json
