
🇺🇸 English
- Response codes
- CS2DT Open Platform Access Guide
- v1
- user related interface
- market prodcut related interface
- purchase related interface
- order related interface
- callback related
- exchange rate
- websocket
Create Steam account status check
POST
https://openapi.cs2dt.com/v1/user/steam-check/create
/v1/user/steam-check/create
请求参数
Query 参数
app-key
string
可选
默认值:
{{app-key}}
Body 参数application/json
type
integer | null
必需
appId
integer | null
Game ID
tradeUrl
string | null
必需
示例
{
"appId": 730,
"tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=1300312885&token=woO-g8jP",
"type": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.cs2dt.com/v1/user/steam-check/create?app-key=' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": 730,
"tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=1300312885&token=woO-g8jP",
"type": 1
}'
返回响应
🟢200成功
application/json
Body
success
boolean | null
可选
data
string | null
可选
errorCode
integer | null
可选
errorMsg
string | null
可选
errorData
object (Object)
可选
errorCodeStr
string | null
可选
示例
{
"success": false,
"data": "",
"errorCode": 0,
"errorMsg": "",
"errorData": {}
}
修改于 2025-01-03 06:02:24