Buy order

Create a buy order to auto purchase items. Currently independent of the p2p status of the user

Rate limit of create/edit actions for orders is 60 requests per 60 seconds

You can have one order per item name

post/v1/create-buy-order

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>

namestring required

Name of item

amountnumber required

Amount of items

pricenumber required

Max price that you want to buy item for (1000 = 1$)

game'csgo' | 'tf2' | 'rust' | 'dota2' required

Target item game

Response

successful operation

successboolean
msgstring

If success is false then we will let you know the reason:

Missing name

Missing amount

Missing price

No item found

Not enough funds!

Please save your tradelink

Placed order

Please increase your buy order price

You already have an order for this item

fillednumber

If the order is executed instantly then we return how many orders were filled

idnumber

ID of order

Example response

{
  "success": true,
  "msg": "Placed order",
  "filled": 2,
  "id": 2007
}

Changes

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