---
title: "Create a buy order to auto purchase items. Currently independent of the p2p status of the user"
method: POST
path: "/v1/create-buy-order"
tags: ["Buy order"]
---

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

`POST /v1/create-buy-order`

## Request

- Base URL: `https://api.waxpeer.com`
- URL: `https://api.waxpeer.com/v1/create-buy-order`
- Auth: none declared

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

You can have one order per item name

## Query parameters

- `api` string, required
- `name` string, required
- `amount` number, required
- `price` number, required
- `game` 'csgo' | 'tf2' | 'rust' | 'dota2', required

## Response `200`

successful operation

- object
  - `success` boolean
  - `msg` string: 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
  - `filled` number: If the order is executed instantly then we return how many orders were filled
  - `id` number: ID of order

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system.md) - [All operations](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/llms.txt) - [OpenAPI document](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/revisions/dd3dfdd641bb?raw)
