# Steam Player Count & Charts Scraper (`ninhothedev/steam-charts-scraper`) Actor

$0.5/1K 🔥 Fast Steam player count scraper! Live players, 24h peak & most-played ranking for any game. No key. JSON, CSV, Excel or API in seconds. Pull player stats for game analytics, esports & market research ⚡

- **URL**: https://apify.com/ninhothedev/steam-charts-scraper.md
- **Developed by:** [ninhothedev](https://apify.com/ninhothedev) (community)
- **Categories:** Developer tools, E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Steam Player Count & Charts Scraper

Track **live Steam player counts**, **24-hour & all-time peaks**, game metadata, and the **most-played games ranking** — with **no API key** and **datacenter-proxy-friendly** requests. Built for gaming analytics, market research, esports monitoring and trend tracking.

> Pricing: **~$0.50 / 1,000 games** (pay-per-result). Cheap enough to poll dozens of titles on a schedule.

### What it does

- **Live players** straight from Steam's official `GetNumberOfCurrentPlayers` endpoint.
- **24h peak** and **all-time peak** concurrent players (via steamcharts.com).
- **Game metadata**: name, type, is-free flag, header image, short description.
- **Most-played ranking** of the top games on Steam right now.

No login, no key, no residential proxies required.

### Modes

| Mode | Input | Output |
| --- | --- | --- |
| `apps` | `appIds` array | One row per game: current players + name/meta + peaks |
| `top` | — | The steamcharts.com most-played ranking (rank, players, peak) |

### Input

```json
{
  "mode": "apps",
  "appIds": ["570", "730", "440"],
  "includePeaks": true,
  "maxItems": 100
}
```

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | select | `apps` | `apps` (by appId) or `top` (most-played ranking) |
| `appIds` | array | `["570","730","440"]` | Steam app IDs (Dota 2, CS2, TF2). Find one in `store.steampowered.com/app/570` |
| `includePeaks` | boolean | `true` | Also fetch 24h & all-time peaks in `apps` mode |
| `maxItems` | integer | `100` | Cap the number of games (max 1000) |

### Output (apps mode)

```json
{
  "app_id": "570",
  "name": "Dota 2",
  "current_players": 749898,
  "peak_24h": 794881,
  "peak_all_time": 1291328,
  "type": "game",
  "is_free": true,
  "header_image": "https://.../570/header.jpg",
  "short_description": "The most-played game on Steam...",
  "url": "https://store.steampowered.com/app/570",
  "source": "steam",
  "scraped_at": "2026-07-20T17:00:00+00:00"
}
```

### Output (top mode)

```json
{
  "app_id": "730",
  "name": "Counter-Strike 2",
  "rank": 1,
  "current_players": 1165576,
  "peak_24h": 1573727,
  "url": "https://store.steampowered.com/app/730",
  "source": "steamcharts",
  "scraped_at": "2026-07-20T17:00:00+00:00"
}
```

### Use cases

- **Game analytics** — chart concurrent players over time for any title.
- **Market research** — compare live audiences across competing games.
- **Esports** — monitor player interest around tournaments and patches.
- **Trend tracking** — catch breakout hits on the most-played ranking early.

### Related actors

- [Steam Games Scraper](https://apify.com/ninhothedev/steam-games-scraper)
- [Steam Reviews Scraper](https://apify.com/ninhothedev/steam-reviews-scraper)
- [GOG Games Scraper](https://apify.com/ninhothedev/gog-games-scraper)
- [FreeToGame Scraper](https://apify.com/ninhothedev/freetogame-scraper)

### Keywords

steam, steam player count, concurrent players, steamcharts, most played games, steam api, game analytics, player statistics, peak players, esports data, gaming market research, steam scraper

***

*Not affiliated with Valve or Steam. Data is publicly available; use responsibly.*

# Actor input Schema

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

What to scrape. 'apps' = look up live player counts, name/meta and peaks for the given appIds. 'top' = fetch the most-played games ranking from the steamcharts.com homepage (appIds are ignored).

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

List of Steam application IDs to scrape in 'apps' mode. Find an appId in a store URL: store.steampowered.com/app/570 -> 570. Defaults to Dota 2 (570), Counter-Strike 2 (730) and Team Fortress 2 (440).

## `includePeaks` (type: `boolean`):

In 'apps' mode, also fetch the 24-hour and all-time peak player counts from steamcharts.com. Adds one extra request per app. Disable for faster, official-only live counts.

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

Maximum number of games to output (caps appIds in 'apps' mode and ranking rows in 'top' mode).

## Actor input object example

```json
{
  "mode": "apps",
  "appIds": [
    "570",
    "730",
    "440"
  ],
  "includePeaks": true,
  "maxItems": 100
}
```

# 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": [
        "570",
        "730",
        "440"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/steam-charts-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": [
        "570",
        "730",
        "440",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/steam-charts-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": [
    "570",
    "730",
    "440"
  ]
}' |
apify call ninhothedev/steam-charts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ninhothedev/steam-charts-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/bzQ0HIIxlSqpaeBbH/builds/2ekRHYwrPNi8ioItM/openapi.json
