CS2DT饰品开放平台
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
首页
商户中心
首页
商户中心
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. Websocket
  • CS2DT Open Platform Access Guide
  • Response Сodes and Errors
  • About penalty for reversed orders / rollbacks
  • About adjusting the order status for reversed orders / rollbacks
  • API
    • Merchant and Steam accounts
      • Get your account balance
      • Start a Steam account check
      • Steam account status query
    • Market and Product search
      • CS2 Style Data
      • Get price and quantity by Style
      • Get the lowest price for all items
      • Get all active listings
      • Search Market listings
      • Item price query
      • Get all the filters info
      • Get all listings of an item
      • Check items status updates
      • Batch query of active listings by product ID
      • Get listing details by product ID
    • Purchase Items
      • Buy via product ID
      • Quick buy via market hash name
    • Manage Orders
      • Purchase orders history
      • Purchase orders details
      • Cancel a delayed purchase order
      • Report a reversed order
    • Callback
      • Webhook Notifications
    • Exchange rate
      • USD/CNY exchange rate
    • Websocket
      • How to Use WebSocket
      • Get WSS Address
        GET
    • Buy orders
      • Create a buy order
      • Cancel a buy order
      • Your buy orders list
      • Reference price for buy orders
      • Your buy order details
    • Sell your items
      • Selling Guide
      • List for sale
      • Cancel sell listings
      • Sell listing details
      • Reference price for sale
      • Sell listing update
      • Update order status
      • Check items on sale list
      • Check sell orders status
  • Schemas
    • OpenBuyResultDTO
    • WebApiRes«BigDecimal»
    • Object
    • WebApiRes«OpenBuyResultDTO»
    • NormalBuyParamV2DTO
    • QuickBuyParamV2DTO
    • UserAccountOpenDTO
    • WebApiRes«UserAccountOpenDTO»
    • WebApiRes«String»
    • SteamCheckCreateDTO
    • UserSteamInfo
    • CheckStatusInfo
    • GenericCheckSteamOutPut
    • WebApiRes«GenericCheckSteamOutPut»
    • OpenPartnerInfoDTO
    • WebApiRes«OpenPartnerInfoDTO»
    • SaveCallbackUrlDTO
    • InventorySlotDTO
    • ErrorCode
    • InventorySteamAccountDTO
    • WebApiRes«List«InventorySteamAccountDTO»»
    • WebApiRes«Boolean»
    • ItemAssetGemVO
    • ItemAssetStickerVO
    • ItemAssetClassInfoStyleVO
    • ItemAssetBundleVO
    • ItemAssetInfoVO
    • ItemTagInfoVO
    • SteamOfferListItemDTO
    • SteamOfferListInfoDTO
    • OfferDetailDTO
    • WebApiRes«OfferDetailDTO»
    • SendAssetsResponseDTO
    • WebApiRes«SendAssetsResponseDTO»
    • SteamAssetInfoDTO
    • SendAssetParamDTO
    • OrderUserInfo
    • SearcherOrderAssetListDTO
    • PageList«SearcherOrderAssetListDTO»
    • WebApiRes«PageList«SearcherOrderAssetListDTO»»
    • OpenItemInfo
    • OfferInfoDTO
    • OpenBuyerOrderDetail
    • WebApiRes«OpenBuyerOrderDetail»
    • OpenSellerOrderDetail
    • WebApiRes«OpenSellerOrderDetail»
    • ConfirmOrderParamDTO
    • OrderCancelParamDTO
    • Inspect3DResponse
    • WebApiRes«Inspect3DResponse»
    • PriceInfo
    • OpenProductSearchDTO
    • PageList«OpenProductSearchDTO»
    • WebApiRes«PageList«OpenProductSearchDTO»»
    • ItemPriceInfo
    • WebApiRes«List«ItemPriceInfo»»
    • ItemPriceInfoRequest
    • OpenItemPriceInfo
    • WebApiRes«OpenItemPriceInfo»
    • ItemSearchFilterValueItem
    • ItemSearchFilterItem
    • ItemSearchFilterDTO
    • WebApiRes«ItemSearchFilterDTO»
    • DeliveryStatsItem
    • DeliveryStatsInfoVO
    • SellerUserInfoVO
    • ProductSellListDTO
    • PageList«ProductSellListDTO»
    • WebApiRes«PageList«ProductSellListDTO»»
    • ProductInfoDTO
    • ProductInfoListDTO
    • WebApiRes«ProductInfoListDTO»
    • ProductInfoRequestDTO
    • WebApiRes«ProductSellListDTO»
    • SteamItemDTO
    • PageList«SteamItemDTO»
    • WebApiRes«PageList«SteamItemDTO»»
    • SteamItemAttrValueDTO
    • PageList«SteamItemAttrValueDTO»
    • WebApiRes«PageList«SteamItemAttrValueDTO»»
    • SteamItemAttrDTO
    • PageList«SteamItemAttrDTO»
    • WebApiRes«PageList«SteamItemAttrDTO»»
    • SteamItemTagsDTO
    • PageList«SteamItemTagsDTO»
    • WebApiRes«PageList«SteamItemTagsDTO»»
    • BaseItemInfo
    • Sticker
    • AssetInfo
    • OpenInventoryItem
    • OpenInventoryResponseDTO
    • WebApiRes«OpenInventoryResponseDTO»
    • OpenSaleSteamInfoDTO
    • ItemPriceDTO
    • OpenSaleDTO
    • OrderDeliverDTO
    • SteamInventorySlotVO
    • SteamAccountVO
    • ActivityTagVO
    • SellerSellListDTO
    • PageList«SellerSellListDTO»
    • WebApiRes«PageList«SellerSellListDTO»»
    • OnSaleAssetDTO
    • OnSaleFailedItem
    • ModifySellPriceResponseDTO
    • WebApiRes«ModifySellPriceResponseDTO»
    • SellPriceDTO
    • ModifyPriceParamDTO
    • OffSaleResponseDTO
    • WebApiRes«OffSaleResponseDTO»
    • OffSaleParamDTO
  1. Websocket

How to Use WebSocket

Update Notes#

2026-08-03 Сlarified the frequently asked questions.
2024-06-28 Initial release.

Preparation#

Before connecting to the WebSocket service:
1.
Contact a CS2DT manager to enable WebSocket access for your account.
2.
Call the Get WSS Address endpoint to obtain a WebSocket connection URL.
3.
Use the returned URL to connect to the WebSocket service.
The WSS address is valid for 30 minutes. After it expires, obtain a new address before connecting. Once you already connected, existing connection will not expire.

Examples#

Data#

Description#

Message Fields#

FieldDescription
requestIdA unique identifier for the WebSocket message.
roomIdThe topic associated with the message.
sendTimeThe time when the WebSocket message was sent.
eventThe type of listing update. See the Event Types below.
dataThe listing data associated with the event. See the Data Fields below.

Event Types#

ValueDescription
newA new listing was added.
updateAn existing listing was updated.
removeA listing was removed.

Data Fields#

FieldDescription
deliveryDelivery method: 1 for manual delivery or 2 for automatic delivery.
idThe product ID of the listing.
itemIdThe item ID.
priceThe listing price.
updateTimeThe time when the listing was last updated.
marketHashNameThe item's Steam market hash name.
classIdThe Steam class ID.
instanceIdThe Steam instance ID.
steamIdThe Steam ID associated with the listing.
assetIdThe Steam asset ID.
assetInfoDetailed information about the asset.
Modified at 2026-08-03 06:12:16
Previous
USD/CNY exchange rate
Next
Get WSS Address
Built with