Fetch trades that need to be sent (Deprecated)
Deprecated
Connecting to the trade websocket is required to sell items (included in the extension and official app).
If your connection is unstable (such as public Wi-Fi or mobile data), your trade websocket connection can be interrupted and the creation of a trade event may be missed.
In order not to miss the sending of a trade you should be making this request at least every minute.
Please check send_until timestamp before creating trade in Steam (we do not recommend creating a trade if one minute or less is left).
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
steam_apirequired | query | string | Steam Web API key |
Responses
200 Successful operation
| Name | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idoptional | number | Identifier | |||||||||||||||||||||||||||
costum_idoptional | string | ||||||||||||||||||||||||||||
trade_idoptional | string | Steam Trade Offer ID | |||||||||||||||||||||||||||
tradelinkoptional | string | Partner's Steam trade URL (tradelink) | |||||||||||||||||||||||||||
trade_messageoptional | string | Steam trade offer message | |||||||||||||||||||||||||||
doneoptional | boolean | Whether the trade is finished | |||||||||||||||||||||||||||
stageoptional | number | Trade stage (11: reserve / awaiting trade lock expiry) | |||||||||||||||||||||||||||
creatoroptional | string | Who initiates the trade (buyer/seller). In most cases seller | |||||||||||||||||||||||||||
send_untiloptional | string | RFC 3339 UTC delivery deadline | |||||||||||||||||||||||||||
last_updatedoptional | string | Last update timestamp | |||||||||||||||||||||||||||
for_steamid64optional | string | Partner Steam ID64 | |||||||||||||||||||||||||||
useroptional | object | User data object | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
selleroptional | object | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
itemsoptional | array<object> | Array of items | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
unlock_atoptional | number | RFC 3339 UTC time when the Steam trade lock ends and item can be sent. null for regular items | |||||||||||||||||||||||||||
{
"id": 1,
"costum_id": "string",
"trade_id": "3547735377",
"tradelink": "https://steamcommunity.com/tradeoffer/new/?partner=14221897&token=i2yUssgF",
"trade_message": "string",
"done": false,
"stage": 1,
"creator": "seller",
"send_until": "2022-10-30T15:18:46.566Z",
"last_updated": "2022-10-30T15:13:08.139Z",
"for_steamid64": "76561198338314XXX",
"user": {
"id": "182dbd1c-2es6-470s-z1q2-627xa6207211",
"avatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/16/1622081f90ef78b0ca1372cae7663a2592939e00_medium.jpg"
},
"seller": {
"id": "282dbd1c-2es6-470s-z1q2-627xa6207212",
"avatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/16/1622081f90ef78b0ca1372cae7663a2592939e00_medium.jpg"
},
"items": [
{
"id": 4258189,
"item_id": 27165625733,
"give_amount": 25926,
"merchant": "string",
"image": "https://steamcommunity-a.akamaihd.net/economy/image/class/730/5041964706/200fx125f",
"price": 27581,
"game": "csgo",
"name": "AWP | Neo-Noir (Minimal Wear)",
"status": 0
}
],
"unlock_at": 1783166400
}