CS2DT饰品开放平台
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
首页
商户中心
首页
商户中心
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. 首页
  • 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
    • 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. 首页

CS2DT Open Platform Access Guide

Update Notes

2026-07-22 Updated the documentation for the Sell and Buy Order functions.
2024-04-30 Initial release. Added the Merchant Center address: https://admin.cs2dt.com

Prerequisites

Before you begin, prepare the following:

  • CS2DT account
    Create a CS2DT merchant account through the Merchant Center.
    To use the purchase APIs, you must deposit funds into your account in advance. Check your balance regularly and ensure that you have sufficient funds before submitting a purchase request.
  • API key
    All CS2DT API endpoints require an app-key query parameter for authentication.
    You can find your API key under Merchant Center → API Management.
    Keep your API key secure. Do not expose it in client-side code, public repositories, logs, screenshots, or shared request URLs.
    Usage example: https://openapi.cs2dt.com/v1/user/v1/t-coin/balance?app-key=appkey-example

Documentation Overview

The CS2DT Open Platform documentation contains general integration guides, API endpoint references, request and response examples, and data-model definitions.

The following table provides an overview of the main sections.

SectionDescription
Response Codes and ErrorsLists API error codes, order failure reasons, and order statuses to help you identify and handle unsuccessful requests or orders.
About Penalties for Reversed Orders / RollbacksExplains when penalties may apply after an order or Steam trade is reversed.
About Adjusting the Order Status for Reversed Orders / RollbacksExplains how reversed orders should be reported and how their statuses are updated.
Merchant and Steam AccountsProvides endpoints for checking your account balance and validating a customer’s Steam account and trade information.
Market and Product SearchProvides CS2 or other games item, price, search, filter, and active-listing data.
Purchase ItemsProvides endpoints for purchasing a specific product by productId or quickly buying an item by market_hash_name.
Manage OrdersProvides purchase-order history, order details, delayed-order cancellation, and reversed-order reporting.
CallbackExplains how CS2DT sends purchase-order status updates to your configured webhook URL.
Exchange RateProvides the USD/CNY exchange rate used by the platform.
WebSocketExplains how to receive real-time market listing updates and obtain a WSS connection address.
Buy OrdersProvides endpoints for creating, viewing, and cancelling buy orders and checking reference prices.
Sell Your ItemsExplains how to list items for sale, manage sell listings, check seller orders, and report order statuses.
Data ModelsDefines the request and response objects used by the API endpoints.

Making API Requests

To call a CS2DT API endpoint, send a request using the URL, HTTP method, and parameters specified on that endpoint’s documentation page.

The following sections describe the common request structure:

curl -X GET "https://openapi.cs2dt.com/v1/user/v1/t-coin/balance?app-key=app-key-example"

Base URL

Use the following base URL for API requests:

AvailabilityBase URLDescription
Globalhttps://openapi.cs2dt.comProduction OpenAPI base URL

Communication Protocol

All provided API must use HTTPS, providing a highly secure communication channel.

HTTP Methods

Each endpoint uses either GET or POST. Refer to the endpoint documentation for the required method.

Request Parameters

A request may contain two types of parameters:

  • Common parameters: Parameters required by multiple or all endpoints. Currently, every request requires the app-key query parameter.

  • Endpoint-specific parameters: Parameters required only by a particular endpoint. Refer to the endpoint’s request-parameter table for details.

Depending on the endpoint, parameters may be included in the query string, URL path, or JSON request body.

Character Encoding

Requests and responses use UTF-8 encoding.

Request Signing

Request signing is not currently required. Authenticate each request using your app-key.

Response Format

The API returns a JSON response.
Successful call:

{
    "success": true,
    "data": {
        "userId": 0000000000000000000,
        "name": "usdt_money",
        "data": "0.02"
    },
    "errorCode": 0,
    "errorMsg": null,
    "errorData": null
}

Failed Call:

{
    "success": false,
    "data": null,
    "errorCode": 140020,
    "errorMsg": "请求需要参数app-key",
    "errorData": null
}

Response Fields

FieldTypeRequiredDescription
successBooleanTrueIndicates whether the request was processed successfully. If false, check the error fields for details.
errorCodeIntegerTrueError code returned by the API. A successful request normally returns 0; a failed request returns a non-zero value.
errorMsgStringTrueHuman-readable error message. It is null or empty when the request succeeds.
dataObjectFalseContains the requested data when the request succeeds. Its structure depends on the endpoint.
errorDataObjectFalseAdditional information about an error. Its structure depends on the endpoint and error type.
errorCodeStrStringFalseA short English identifier or description for the error. It may be returned when success is false.

Glossary

TermDescription
Service domain name / Base URLThe root URL used for CS2DT API requests. The production base URL is https://openapi.cs2dt.com.
app-keyThe credential used to authenticate API requests. Keep it secure and do not share it. Anyone with access to the key may be able to perform operations on your account.
appIdSteam's unique identifier for a game. For example, DOTA2 -> 570, CSGO -> 730, TF2 -> 440, PayDay2->218620, CSOL -> 2504460.

Testing an API Request

How to use the debugging function provided by the interface documentation

You can send test requests directly from the API documentation.

  1. Open an API endpoint and click Try it.

image.png

  1. The first time you test an endpoint, you will be asked to configure the required environment variables. Check how to obtain it in the Prerequisites section.

image.png

  1. Enter your app-key.

image.png

  1. After setting, click Send to submit the request and view the response.

image.png

Do not use a production API key in screenshots, public demonstrations, or shared environments.

Modified at 2026-08-04 08:01:05
Next
Response Сodes and Errors
Built with