Buy items

Check tradelink validity

post/v1/check-tradelink

Request

  • Base URL
    https://api.waxpeer.com
  • Auth
    none declared

Query parameters

apistring required

Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>

Request body

tradelinkstring

New tradelink

Example request

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

Response

successful operation

successboolean
linkstring

Your new tradelink

infostring nullable

Exact check response from Steam if failed

msg'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'

Our error message if failed

tokenstring

Token from your tradelink

steamid32number

Partner from your tradelink

steamid64number

Steamid64 from your tradelink

Example response

{
  "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
}

Changes

No recorded changes to this operation across all 4 revisions of this API.