Live Steam data
Steam has three live operations on the Steam Community Market: listings, search, and buy orders.
| Operation | Returns | Rows per page |
|---|---|---|
| listings | Listings for one item or all its wears, with float, paint seed, and stickers | 20 (30 without an item) |
| search | Items across Steam, by text, weapon, collection, rarity, tournament, and other filters | 30 |
| buy_orders | One item's orderbook, with the best prices, the quantities, and the price levels on both sides | Not paged |
Steam has no listing_detail operation, because every listings row already has the listing's full detail. Steam doesn't show who is selling an item, so it has no store operation. Every Steam listing is buy now. In structured rows, seller_id, created_at, detail_query, and store_query are always null.
Prices
Steam prices are in USD, as the buyer's total with Steam's fee included, and cs2.sh doesn't convert them.
Price filters and the price of a structured row are buyer totals in dollars. Raw responses give each price in cents and in two parts, so a listing's buyer total there is unPrice + unFee.
A listings request without an item can return rows in other currencies, so check each row's currency.
Items and groups
Steam lists each wear of a skin as its own item and also groups the wears together. listings takes either:
| Send | Example | Returns |
|---|---|---|
market_hash_name with a wear | AK-47 | Redline (Field-Tested) | That one item |
item_id (a Steam group ID) | G1807209A023004 | Every wear of AK-47 | Redline together |
market_hash_name without a wear | AK-47 | Redline | The same group, by name |
Group IDs come from search, where a grouped row has its group ID in item_id and its listings request in listings_query.
buy_orders takes an exact name with its wear, never a group.
cs2.sh still sends Steam a name that isn't in the schema, because a new item can be on the market before the schema has it. The response's warnings, next to data, then has an entry with code set to unknown_item, which usually means a typo. An exact name that Steam doesn't have returns 404 with details.field set to market_hash_name.
Variants
To request a Doppler or Gamma Doppler phase or gem from listings, put it in the name, as in ★ Karambit | Doppler (Factory New) | Ruby. A variant name on buy_orders returns 400, because Steam keeps one orderbook for all phases of an item.
A Case Hardened tier name returns 400. Send the base name with filters.paint_seeds, or with filters.min_paint_seed and filters.max_paint_seed, instead.
Stickers, patches, and charms
listings filters by the stickers, patches, and charms on an item, by name. Steam matches them more loosely than Youpin or CSFloat:
- Several entries of one kind match any one of them, and need
"match": "any". - Different kinds combine with AND.
- There is no
count, noslot, and no pattern range on an attached charm.
In structured rows, the slot of every sticker, patch, and charm is null.
Errors
Some Steam requests fail with 502 fairly often. A 502 doesn't count against your limit, so retry it after a short wait with backoff.
Latency
A request usually takes ~1 second.
The exception is the first listings request for an item group, which returns a skin's listings across every wear. You request a group by its group ID or by a name without a wear, such as AK-47 | Redline. That first request takes ~3-10 seconds, and requests for the same group soon after take ~1-2 seconds.
Limits
Per-operation limits for every plan are under Live limits.