CS2DT饰品开放平台
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
首页商户中心
首页商户中心
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. user related interface
  • Response codes
  • CS2DT Open Platform Access Guide
  • v1
    • user related interface
      • Steam account status query Copy
        GET
      • User balance query
        GET
      • Create Steam account status check
        POST
      • Steam account status query
        GET
    • market prodcut related interface
      • CS2 Style Data
      • get full Items
      • Market Search
      • item price query
      • all the filters query
      • item for sale list query
      • Get the sales status of the product
      • Batch query of products on sale by product ID
      • Get the sales details of a product
    • purchase related interface
      • buy item
      • quick buy item
    • order related interface
      • buyer order list v2
      • buyer order list
      • buyer order detail
      • buyer cancel order
    • callback related
      • Callback Notification Service Description
    • exchange rate
      • USD/CNY exchange rate
    • websocket
      • How to Use WebSocket
      • Get WSS Address
  1. user related interface

Steam account status query Copy

GET
https://openapi.cs2dt.com/v1/user/steam-info
get Steam account status

请求参数

Query 参数
type
integer 
必需
Different detection scenarios, 1 for purchase, 2 for sale
示例值:
1
appId
integer 
Game ID
必需
示例值:
730
tradeUrl
string 
可选
Trading link and parameter SteamId, choose one
示例值:
https://steamcommunity.com/tradeoffer/new/?partner=1300312885&token=woO-g8jP
steamId
integer 
可选
Trading link and parameter SteamId, choose one
app-key
string 
可选
默认值:
{{app-key}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://openapi.cs2dt.com/v1/user/steam-info?type=1&appId=730&tradeUrl=https://steamcommunity.com/tradeoffer/new/?partner=1300312885%26token=woO-g8jP&steamId=&app-key='

返回响应

🟢200成功
application/json
Body
success
boolean  | null 
可选
Is request successful
data
object 
可选
Business data
checkStatus
integer  | null 
可选
0-checking 1-account normal 2-account abnormality
steamInfo
object (UserSteamInfo) 
可选
appId
integer  | null 
可选
statusList
array[object (CheckStatusInfo) {2}]  | null 
可选
errorCode
integer  | null 
可选
Error code
errorMsg
string  | null 
可选
Error message
errorData
object (Object) 
可选
Error data,when errorCode is not equals to 0,maybe this property will have a value
示例
{
  "success": false,
  "data": {
    "checkStatus": 0,
    "steamInfo": {
      "avatar": "",
      "nickName": "",
      "tradeToken": "",
      "steamId": ""
    },
    "appId": 0,
    "statusList": [
      {
        "statusKey": "",
        "statusValue": {}
      }
    ]
  },
  "errorCode": 0,
  "errorMsg": "",
  "errorData": {}
}
修改于 2025-06-03 09:22:44
上一页
CS2DT Open Platform Access Guide
下一页
User balance query
Built with