---
title: "Buy items in bulk and send to one tradelink"
method: POST
path: "/v1/buy"
tags: ["Buy items"]
---

# Buy items in bulk and send to one tradelink

`POST /v1/buy`

## Request

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

Buy up to multiple items in one request. Each item is purchased independently — check the per-item `success` in the response array. Prices are integer units (USD * 1000), same as /v1/buy-one-p2p. We recommend adding a `project_id` per item so you can track trades with the /check-many-project-id GET method in case of a timeout.

## Query parameters

- `api` string, required

## Request body

- object
  - `tradelink` string: Steam trade link the items are sent to
  - `all` boolean: Fail the whole request unless every item can be bought
  - `items` object[], required
    - `item_id` union: Item id from our listings (omit when buying by name)
      - string
      - integer
    - `name` string: Market hash name (used when item_id is omitted)
    - `price` integer, required: Price in integer units (USD * 1000)
    - `project_id` string: Your own id to track the trade with /check-many-project-id

## Response `200`

Per-item purchase results

- object
  - `success` boolean
  - `msg` string
  - `items` object[]
    - `success` boolean
    - `id` integer: Trade id (only on success). Track it with /check-many-steam
    - `item_id` string
    - `name` string
    - `price` integer: Price in integer units (USD * 1000)
    - `internal_item_id` string, nullable
    - `new_price` integer: Present when the purchase failed because the price increased
    - `msg` string: Error message when success is false
    - `error_msg` string

---

[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)
