WebSocket

Offers

Offer message format and field reference for the real-time marketplace stream.

Message format

When a new offer is detected on a subscribed marketplace, you receive a JSON message with type: offer. Each message contains data for a single item listing.

Message fields

FieldTypeDescription
typestringAlways offer
eventTypestringAdded when a new offer is listed, Updated when an existing offer changes
marketplacestringName of the marketplace where the offer was found
gamestringGame the item belongs to
timestampnumberUnix timestamp in milliseconds when the message was sent
dataobjectThe offer data object

Offer data fields

FieldTypeDescription
namestringFull item name including condition
purchaseLinkstringDirect link to purchase the item on the marketplace
priceUSDnumberPrice in USD (always present)
priceEURnumber|nullPrice in EUR, if available
priceCNYnumber|nullPrice in CNY, if available
priceRUBnumber|nullPrice in RUB, if available
daysTradeLockednumber|nullDays until the item becomes tradeable, 0 if tradeable now
foundAtnumberUnix timestamp when the offer was detected

CS2 fields

These fields are only present for CS2 (App ID 730) offers.

FieldTypeDescription
inspectLinkstring|nullSteam inspect link for the item
floatnumber|nullWear value between 0.0 and 1.0
paintIndexnumber|nullSkin pattern ID
paintSeednumber|nullPattern seed number
stickersarray|nullApplied stickers on the item

Sticker object

FieldTypeDescription
namestringSticker name
wearnumberSticker wear value (0.0 = pristine)
slotnumberSticker slot position on the item

Dota 2 fields

These fields are only present for Dota 2 (App ID 570) offers.

FieldTypeDescription
raritystring|nullItem rarity
herostring|nullAssociated hero name

Rust fields

These fields are only present for Rust (App ID 252490) offers.

FieldTypeDescription
itemTypestring|nullItem category

Message example

Example of a CS2 offer message with sticker data.

message.json
{
  "type": "offer",
  "eventType": "Added",
  "marketplace": "CSFloat",
  "game": "CS2",
  "timestamp": 1711152000000,
  "data": {
    "name": "AK-47 | Redline (Field-Tested)",
    "purchaseLink": "https://csfloat.com/item/abc123",
    "inspectLink": "steam://rungame/730/76561202255233023/+csgo_econ_action_preview...",
    "priceUSD": 45.99,
    "priceEUR": 42.50,
    "priceCNY": 325.00,
    "priceRUB": 4200.00,
    "float": 0.2341,
    "paintIndex": 282,
    "paintSeed": 123,
    "daysTradeLocked": 0,
    "foundAt": 1711152000,
    "stickers": [
      {
        "name": "Natus Vincere | Katowice 2015",
        "wear": 0.0,
        "slot": 0
      }
    ]
  }
}