Create buy order
Body Parameters
Item ID for which to create a buy order
Buy order price in cents
Number of items to buy (default: 1)
Request Example
Response
Success
Error Responses
| Status | Message | Description |
|---|---|---|
error | Insufficient balance | User doesnโt have enough balance to create the buy order |
error | Price too low | Buy order price is below minimum threshold |
error | Item not found | Invalid item ID |
error | Buy order limit reached | User has reached the maximum number of buy orders |
The total price (price ร quantity) will be reserved from your balance when creating a buy order.
Update buy order
Body Parameters
Buy order ID to update
New price in cents (optional)
New quantity (optional)
Request Example
Response
Success
Remove buy order
Body Parameters
Buy order ID to remove
Request Example
Response
Success
Get userโs buy orders for an item
Item identifier (numeric ID)
Response
Buy Order Fields
| Field | Type | Description |
|---|---|---|
id | integer | Buy order ID |
steamid | string | Userโs Steam ID |
itemid | integer | Item ID |
price | integer | Buy order price in cents |
amount | integer | Quantity of items to buy |
timestamp | string | Unix timestamp of creation |
Get all userโs buy orders
Query Parameters
Page number for pagination (0-indexed)
Number of results per page (max 50, must be > 0)
Search term to filter by item effect or name (minimum 3 characters)
Response
Response Fields
Returns joined data frombuyorder and items tables:
Buy Order Fields:
| Field | Type | Description |
|---|---|---|
id | number | Buy order ID |
steamid | string | Userโs Steam ID |
itemid | number | Item ID |
price | number | Buy order price in cents |
amount | number | Quantity remaining |
name | string | Buy order custom name (or item name) |
items table are joined, including effect, name, url, game, quality, image, type, craftable, etc.
Count Object:
| Field | Type | Description |
|---|---|---|
count.nb | number | Total number of buy orders |
- Results are ordered by
buyorder.id DESC - Only returns buy orders where
amount != 0 - Search functionality requires at least 3 characters
- The
countobject contains the total number of buy orders for pagination
Buy orders are automatically filled when matching items are listed at or below your buy order price. Youโll receive a notification when a buy order is filled.