Steam

Steam

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Steam to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync the games and playtime of a list of Steam players.

Create a key on the Steam Web API key page. Each player's profile and game details must be public, or Steam returns no games for them.

The tables identify each player by an opaque key. They hold no Steam ID, name, or location.

Steam reports playtime totals, not sessions. Sync the playtime_snapshots table daily and subtract consecutive days to get the time played on each day.

Configuration

OptionDescription
Steam Web API key
Type: password
Required: True
Steam IDs
Type: textarea
Required: True

The 17-digit Steam ID of each player, separated by commas or new lines.

Linking Steam to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Steam
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
players

One row for each Steam player listed on the source.

Full refresh——
owned_games

One row for each game a listed player owns or played for free.

Full refresh——
playtime_snapshots

One row per player, game and day for each game played in the last two weeks. Subtract the total of the previous day to get the minutes played on a day.

Incremental, Full refreshsnapshot_date—