---
title: "Buy item by name and send to specific tradelink"
method: GET
path: "/v1/buy-one-p2p-name"
tags: ["Buy items"]
---

# Buy item by name and send to specific tradelink

`GET /v1/buy-one-p2p-name`

## Request

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

Notes about trades and frequently asked questions

The duration of the trade in different situations:

If seller's info is invalid then it can be cancelled immediately and status 6 is set;

If seller's details are valid, but no trade is created, then it will auto-cancel after 6 minutes;

if created or waiting for mobile confirmation then it will auto-cancel after 11 to 15 min (depends on when created);

if trade is waiting for mobile confirmation and connection with the seller was lost then it will auto-cancel after 6 hours.

We recommend adding project_id to purchase so that you can track a trade in case of a timeout or break of purchase request using the /check-many-project-id GET method one minute after the request.

An array of possible messages with purchase errors and other information, such as status, can be seen by opening the response scheme, where:

System busy - trade is cancelled due to tradelink check timeout or heavy load;

buy_csgo - CS:GO purchases are deactivated on the market;

buy_rust - RUST purchases are deactivated on the market.

## Query parameters

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

## Response `200`

successful operation

- object
  - `success` boolean: Was the item purchased
  - `id` number: Id of the item
  - `price` number: Price of the item (1000 = 1$)
  - `msg` 'We couldn't validate your trade link, either your inventory is private or you can't trade' | 'There was an error while sending your trade offer, try again later' | 'Please set your steam inventory public' | 'Your tradelink is incorect, please update it' | 'Item price has increased or item is no longer available' | 'Please enter your trade link' | 'System busy' | 'buy_csgo' | 'buy_tf2' | 'buy_rust' | 'buy_dota2' | 'Buy request with projectId: <project_id> already exists', nullable: When success is false will let you know the reason. Ex: buy_csgo Meaning that csgo buying has been disabled

---

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