Offer Status Codes
| Status | Meaning | Description |
|---|---|---|
0 | Active | Pending offer, awaiting response |
1 | Accepted | Offer was accepted and completed |
2 | Declined | Offer was declined by recipient |
3 | Removed/Cancelled | Offer was cancelled by creator |
-1 | Invalid Balance | Buyer has insufficient balance |
-2 | Expired | Offer expired (past expiration time) |
-3 | Invalid Item | Item no longer available or not owned by recipient |
Offers are automatically validated when retrieved via
GET endpoints. Invalid offers (expired, insufficient balance, item unavailable) are automatically updated with negative status codes.Get received offers
Response
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Offer ID |
from | string | Buyerβs Steam ID |
to | string | Sellerβs Steam ID (current user) |
status | integer | Offer status code (see table above) |
time | integer | Expiration timestamp (Unix time) |
price | integer | Offer price in cents |
read | integer | Read status: 0 = unread, 1 = read |
createdAt | integer | Creation timestamp |
backpackid | integer | Backpack item ID |
user | object | Buyer information (username, avatar) |
item | object | Full item details from backpack + items tables |
The endpoint automatically validates offers and filters out those with status < 0 (invalid). Only active and completed offers are returned.
Get my offers
Response
Create offer
Body Parameters
Item assetId (Steam asset identifier)
Offer price in cents (must be >= 0 and < current item price)
Request Example
Response
Success
Error Responses
| Error Message | Description |
|---|---|
Missing required parameters: id and price | Missing required fields |
Invalid price | Price is negative |
Too many active offers | Exceeds maximum active offers (default: 10) |
Item not found or not available | Item doesnβt exist or not for sale (state != 1) |
This item cannot be offered | Item is blacklisted |
Offer already exists | Duplicate offer for the same item |
There is a buyorder for this item at a higher price | Buy order exists with better price |
Cannot buy your own item | Attempting to create offer for own item |
Price must be lower than or equal to current price | Offer price exceeds listing price |
Insufficient balance | Buyer doesnβt have enough balance |
Configuration:
maxOffer: Maximum active offers per user (default: 10)maxDurationOffer: Offer expiration in seconds (86400 = 24 hours)
Accept offer
Body Parameters
The offer ID to accept
Request Example
Response
Success
Error
Decline offer
Body Parameters
The offer ID to decline
Request Example
Response
Success
Error
Remove/Cancel offer
Body Parameters
The offer ID to cancel
Request Example
Response
Success
Error