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
Selected fields. View the full payload
How it works
-
Connect
Exchange your API key for a short-lived token. The WebSocket SDK subscribes to your selected channels.
-
Load a snapshot
Buffer incoming messages while you load each game’s starting prices from
/steam/api/items. -
Apply updates
Match by game and item ID. Replace the item’s Steam price fields with the USD values from the event.
-
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.
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.