Steam Price Stream

Receive Steam Community Market price changes over WebSocket, with one channel per game.

Available on eligible active subscriptions. Free and Free+ are excluded. View plans

Example WebSocket publication
Select an example game

prices-v1:steam.cs2

{
  "version": 1,
  "source": "steam",
  "game": "cs2",
  "currency": "USD",
  "items": [{
    "id": "5be9d3a1",
    "markethashname": "AK-47 | Redline (Field-Tested)",
    "prices": { "pricelatest": "12.34" }
  }]
}

prices-v1:steam.rust

{
  "version": 1,
  "source": "steam",
  "game": "rust",
  "currency": "USD",
  "items": [{
    "id": "9d17af42",
    "markethashname": "Emerald Knife",
    "prices": { "pricelatest": "2.55" }
  }]
}

Selected fields. View the full payload

How it works

  1. Connect

    Exchange your API key for a short-lived token. The WebSocket SDK subscribes to your selected channels.

  2. Load a snapshot

    Buffer incoming messages while you load each game’s starting prices from /steam/api/items.

  3. Apply updates

    Match by game and item ID. Replace the item’s Steam price fields with the USD values from the event.

  4. Recover gaps

    The SDK replays recent missed events. If the gap exceeds the replay window, load a fresh snapshot.

Quickstart

Request a connection token on your server with X-Api-Key. Pass the response’s websocket_url and token to the Centrifugo SDK.

Omit games to subscribe to all games with active Steam price updates. Repeat the request in the SDK’s token callback to renew access.

Request CS2 and Rust channels
curl --request POST \
  https://www.steamwebapi.com/api/price-stream/token \
  --header "X-Api-Key: $STEAMWEBAPI_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
    "subscriptions": [{
      "source": "steam",
      "games": ["cs2", "rust"]
    }]
  }'

Common questions

Find the full field reference, connection limits and recovery examples in the integration guide.

How often do prices update?

Each game follows its Steam scrape schedule. A publication carries the current saved item prices, and several changes before publication can be combined.

Can I connect from a browser?

Yes. Have your backend obtain the token and return the connection credentials to your frontend. Keep the SteamWebAPI key on your server.

Where are marketplace prices?

The stream currently covers the Steam Community Market. Browse the Marketplace Price API for third-party prices.