Active buy orders (v1)
Deprecated
This path is served by the same code as GET /v2/buy-orders and answers with its contract: same rules and refusal codes, and the same response with v1's field names added.
Parameters are the same as before.
Changed from the old v1:
- Orders are in
ordersand, as before, inoffers(the same list). - Filtered orders are listed too, with
filtersandallow_trade_locked. An order withfiltersbuys only matching copies: compare them with your item before you treat its price as an offer for it. own=1honoursgameandname, lists newest first, and addscreatedandlast_update.countis returned only withown=1.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API key |
nameoptional | query | array<string> | Item name; repeat for several (up to 50). Required without own |
ownoptional | query | enum | 1: return your own open orders enum: 0, 1 |
gameoptional | query | enum | csgo, dota2, rust or tf2. Public list: default csgo. own=1: all games by default enum: csgo, dota2, rust, tf2 |
skipoptional | query | integer | Orders to skip (100 per page). Up to 2000, or 10000 with own=1 |
Responses
200 Successful operation or refusal
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
successoptional | boolean | Whether the operation succeeded | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ordersoptional | array<object> | Open orders | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
countoptional | integer | Total of your open orders (own=1 only) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
msgoptional | string | Why the request was refused (only when success is false) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
codeoptional | enum | Stable refusal code (only when success is false) enum: invalid_request, invalid_price, invalid_price_step, invalid_amount, invalid_filters, filters_not_editable, item_not_found, price_too_low, kyc_required, tradelink_required, price_above_balance, exposure_limit, too_many_orders, order_not_found, too_many_ids, busy, error | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
offersoptional | array<object> | The same list as orders (v1 name) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{
"success": true,
"orders": [
{
"id": 123,
"name": "AK-47 | Redline (Field-Tested)",
"game": "csgo",
"price": 12500,
"amount": 3,
"filled": 1,
"allow_trade_locked": false,
"filters": {
"float_min": 0.15,
"float_max": 0.18,
"paint_seeds": [
661,
670
],
"stickers": [
{
"id": 4777,
"slot": 0
},
{
"id": 55
}
]
},
"by": "1247ffd5-f437-4a30-9953-10eda7df6e17"
},
{
"id": 98,
"name": "AK-47 | Redline (Field-Tested)",
"game": "csgo",
"price": 11000,
"amount": 10,
"filled": 0,
"allow_trade_locked": true,
"filters": null,
"by": "5f0c2a1e-7d3b-4c61-9a8e-2b7f1c9d4e05"
}
],
"offers": [
{
"id": 123,
"name": "AK-47 | Redline (Field-Tested)",
"game": "csgo",
"price": 12500,
"amount": 3,
"filled": 1,
"allow_trade_locked": false,
"filters": {
"float_min": 0.15,
"float_max": 0.18,
"paint_seeds": [
661,
670
],
"stickers": [
{
"id": 4777,
"slot": 0
},
{
"id": 55
}
]
},
"by": "1247ffd5-f437-4a30-9953-10eda7df6e17"
},
{
"id": 98,
"name": "AK-47 | Redline (Field-Tested)",
"game": "csgo",
"price": 11000,
"amount": 10,
"filled": 0,
"allow_trade_locked": true,
"filters": null,
"by": "5f0c2a1e-7d3b-4c61-9a8e-2b7f1c9d4e05"
}
]
}