Sync with Waxpeer session to auto-fill API key

Check tradelink validity

POST/v1/check-tradelink

Validate partner's Steam Trade URL, inventory privacy, and trade ban status with Steam.

Prices are integers. 1000 = $1.00 USD.

Parameters

NameLocationTypeDescription
api
required
querystring

Request body

NameLocationTypeDescription
tradelink
optional
bodystring

Partner's Steam trade URL (tradelink)

Example
{
  "tradelink": "https://steamcommunity.com/tradeoffer/new/?partner=153212146&token=ssRe42do"
}

Responses

200 Successful operation

NameTypeDescription
success
optional
boolean

Whether the operation succeeded

link
optional
string

Your new Steam Trade URL

info
optional
string

Exact response message from Steam on error

msg
optional
enum

Reason message when success is false

enum: Invalid tradelink, Missing partner, Missing token, Your tradelink is incorect, please update it, You're banned for not accepting trades, We couldn't validate your trade link, either your inventory is private or you can't trade, Please set your steam inventory public, User has VACBAN or Game Ban, There was an error with tradelink,please try again

token
optional
string

Steam trade link token or access token

steamid32
optional
number

Steam partner account ID (32-bit)

steamid64
optional
number

Partner Steam ID64

Response
{
  "success": false,
  "link": "https://steamcommunity.com/tradeoffer/new/?partner=900267897&token=P2YkRJOk",
  "info": "You cannot trade with SteamUserName because they have a trade ban.",
  "msg": "We couldn't validate your trade link, either your inventory is private or you can't trade",
  "token": "P2YkRJOk",
  "steamid32": 900267897,
  "steamid64": 76561198000000000
}