Service Area | domain name | Remark |
---|---|---|
Domestic and overseas | https://openapi.cs2dt.com | Open platform OpenAPI access address |
{
"success": true,
"data": {
"userId": 0000000000000000000,
"name": "usdt_money",
"data": "0.02"
},
"errorCode": 0,
"errorMsg": null,
"errorData": null
}
{
"success": false,
"data": null,
"errorCode": 140020,
"errorMsg": "请求需要参数app-key",
"errorData": null
}
Fields | type | required | illustrate |
---|---|---|---|
success | Boolean | true | Whether the request is successful. If it is not true, it means that the server process is completed without exception. If it is false, you need to check the error code in the errorCode field and handle it according to the business. |
errorCode | Int32 | true | Error code. When success is true, errorCode must be 0; when success is false, errorCode must not be 0 |
errorMsg | String | true | Error message. When success is true, errorMsg is an empty string. When success is false, errorMsg is an error description. |
errorData | Object | false | Return data when an error occurs. This structure type is uncertain and different types are returned according to different interfaces. |
errorCodeStr | String | false | A brief English description of the error. A non-empty string may be returned only when success is false. |
data | Object | false | The business data returned when the request is successful, the structure varies according to each interface. |
name | explain |
---|---|
Service domain name | The domain name we provide services for, the production environment is https://openapi.cs2dt.com |
app-key | The key we use for authentication represents your credentials on our platform. Please keep it properly. If it is leaked, others can also use this key to perform key operations. |
appId | Steam's official unique identifier for the game. DOTA2 -> 570, CSGO -> 730, TF2 -> 440, PayDay2->218620, CSOL -> 2504460 |