MarketAppClient, Mobile, extension
Buy orders
get-orders
Getting a list of your orders
Request parameters:
- page — The parameter is used for page output. By default, the request returns the last 100 orders.
Sample answer:
{
"success": true,
"orders": [
{
"id": "24256564776",
"hash_name": "Spectrum 2 Case",
"phase": "",
"count": 5,
"date": "2021-09-08 18:06:58",
"price": "10",
"currency": "USD",
"partner": null,
"token": null
}
]
}
set-order
Adding, modifying and deleting an order.
If the price is not specified, the order is removed from the specified item.
Request parameters:
- market_hash_name — market_hash_name item identifiers.
- phase — item phase. options: phase1, phase2, phase3, phase4, sapphire, ruby, blackpearl
- count — Number of items to buy
- price — price in kopecks (1 RUB = 100, 1 USD = 1000, 1 EUR = 1000) integer
- [partner] — Steam ID of the user to whom the purchased item will be transferred (optional)
- [token] — The token from the exchange link of the user to whom the item will be given (optional)
Sample answer:
{
"success": true,
"order": {
"hash_name": "AWP | Dragon Lore (Field-Tested)",
"phase": "",
"currency": "USD",
"price": 20,
"count": 5,
"date": "2021-09-08 18:30:44",
"partner": null,
"token": null
}
}
get-orders-log
History of executed orders
Request parameters:
- page — The parameter is used for page output. By default, the request returns the last 100 orders.
Sample answer:
{
"success": true,
"orders": [
{
"hash_name": "Desert Eagle | Oxide Blaze (Field-Tested)",
"phase": null,
"item_id": 520336218,
"created": "2021-09-06 18:00:27",
"executed": "2021-09-06 18:03:16",
"price": 1000,
"currency": "USD"
},
{
"hash_name": "Gamma 2 Case",
"phase": null,
"item_id": 520336215,
"created": "2021-09-06 17:59:54",
"executed": "2021-09-06 17:59:54",
"price": 5000,
"currency": "USD"
}
]
}