# Steam API: Get player count history

> Gets a Steam game's current players, 24-hour peak, all-time peak and monthly player-count history from SteamCharts. Takes a game name, SteamCharts or Steam store link, or Steam app ID.

Unofficial. Not affiliated with or endorsed by Steam.

- Page: https://fous.com/methods/store.steampowered.com/get-player-count-history
- Method: `store.steampowered.com/get_player_count_history`, version 1
- Website: store.steampowered.com
- Returns: current players, 24-hour peak, all-time peak and date, monthly average and peak players
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `game` | string | yes | `"Counter-Strike 2"` | Game name, SteamCharts link, Steam store link, or Steam app ID; for example, Counter-Strike 2. |
| `max_months` | integer | no |  | Maximum number of completed calendar months to return, newest first; for example, 24. Default 24. |

## Output

From a run on Oct 23, 2026, shortened. Its input:

```json
{
  "game": "Counter-Strike 2"
}
```

Its output:

```json
{
  "months": [
    {
      "month": "2026-09",
      "peak_players": 1450705,
      "change_percent": -2.38,
      "change_players": -19619.98,
      "average_players": 805637.82
    },
    {
      "month": "2026-08",
      "peak_players": 1331274,
      "change_percent": -3.28,
      "change_players": -27974.65,
      "average_players": 825257.8
    },
    {
      "month": "2026-07",
      "peak_players": 1420896,
      "change_percent": -6.92,
      "change_players": -63422.08,
      "average_players": 853232.45
    }
  ],
  "game_name": "Counter-Strike 2",
  "steam_app_id": 730,
  "all_time_peak": 1818368,
  "peak_24_hours": 1218335,
  "steamcharts_link": "https://steamcharts.com/app/730",
  "players_right_now": 548570,
  "all_time_peak_date": "2025-03-01"
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"store.steampowered.com/get_player_count_history","input":{"game":"Counter-Strike 2"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- How many people are playing Counter-Strike 2 right now on Steam?
- What was the all-time peak concurrent player count for Dota 2 and when did it happen?
- Show me the monthly average and peak player numbers for Apex Legends over the last 12 months on steamcharts
- Current player count and 24-hour peak for app ID 730
- Can you pull the last 6 months of player count history for Baldur's Gate 3 from the Steam store page https://store.steampowered.com/app/1086940/Baldurs_Gate_3/

## Input schema

```json
{
  "type": "object",
  "required": [
    "game"
  ],
  "properties": {
    "game": {
      "type": "string",
      "description": "Game name, SteamCharts link, Steam store link, or Steam app ID; for example, Counter-Strike 2."
    },
    "max_months": {
      "type": "integer",
      "default": 24,
      "maximum": 200,
      "minimum": 1,
      "description": "Maximum number of completed calendar months to return, newest first; for example, 24."
    }
  },
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "game_name",
    "players_right_now",
    "peak_24_hours",
    "all_time_peak",
    "all_time_peak_date",
    "steamcharts_link",
    "steam_app_id",
    "months"
  ],
  "properties": {
    "months": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "month",
          "average_players",
          "change_players",
          "change_percent",
          "peak_players"
        ],
        "properties": {
          "month": {
            "type": "string",
            "description": "Calendar month (YYYY-MM)."
          },
          "peak_players": {
            "type": "integer",
            "description": "Highest concurrent player count in this month."
          },
          "change_percent": {
            "type": [
              "number",
              "null"
            ],
            "description": "Percentage change in average concurrent players from the prior month, if provided."
          },
          "change_players": {
            "type": [
              "number",
              "null"
            ],
            "description": "Change in average concurrent players from the prior month, if provided."
          },
          "average_players": {
            "type": "number",
            "description": "Average concurrent player count for the month."
          }
        },
        "additionalProperties": false
      },
      "description": "Completed calendar months, newest first; excludes the rolling last 30 days."
    },
    "game_name": {
      "type": "string",
      "description": "Name of the tracked game."
    },
    "steam_app_id": {
      "type": "integer",
      "description": "Steam app identifier."
    },
    "all_time_peak": {
      "type": "integer",
      "description": "Highest concurrent player count ever shown by SteamCharts."
    },
    "peak_24_hours": {
      "type": "integer",
      "description": "Highest concurrent player count in the last 24 hours."
    },
    "steamcharts_link": {
      "type": "string",
      "description": "Page for this game on SteamCharts."
    },
    "players_right_now": {
      "type": "integer",
      "description": "Most recently displayed concurrent player count."
    },
    "all_time_peak_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date of the all-time peak chart point (YYYY-MM-DD). Older monthly points are labeled on the first of the month, not the exact peak day."
    }
  },
  "additionalProperties": false
}
```

## See more

- [Steam API: List most played games](https://fous.com/methods/store.steampowered.com/list-most-played.md): Lists the games with the most players on Steam right now, with current and peak players and prices for a chosen country.
- [Steam API: Get game details](https://fous.com/methods/store.steampowered.com/get-game.md): Finds a PC game on Steam by name, store link or app ID and returns its store details, country price, reviews, tags and live player count.
- [Steam API: Get game reviews](https://fous.com/methods/store.steampowered.com/get-game-reviews.md): Reads public Steam player reviews for a game by name, store link, or app ID, with optional sorting (most helpful or most recent), verdict and language filters. Overall figures cover all lifetime reviews in every language and verdict.
- [Steam API: List top sellers](https://fous.com/methods/store.steampowered.com/list-top-sellers.md): Lists Steam's top-selling, discounted, or new and trending games in store order, with prices for a chosen country, review summaries and release dates.
- [Fortnite API: Get player count](https://fous.com/methods/fortnite.gg/get-player-count.md): Gets Fortnite players online now, the 24-hour and all-time in-match peaks, and the most-played islands with their creators. Optionally looks up one island by name or code.
- [Roblox API: Get game](https://fous.com/methods/roblox.com/get-game.md): Gets a Roblox experience by name or game link, with players online, visits, likes, creator, dates, maturity rating and icon. For names with several matches, returns the match with the most players.
- [Chess.com API: Get player stats](https://fous.com/methods/chess.com/get-player-stats.md): Gets a Chess.com player's public profile, ratings and game records, best puzzle rating and Puzzle Rush best score from a username or member profile link.
- [Premier League API: Get player stats](https://fous.com/methods/premierleague.com/get-player-stats.md): Looks up a Premier League player by name and returns the profile and either career totals or the stats for a chosen season. If names clash, a current Premier League player is preferred.
- [All Steam methods](https://fous.com/methods/steampowered.com.md)
