Get active trades
Response
Returns an array of trades with status = 0 (pending).Trade Fields
| Field | Type | Description |
|---|---|---|
id | integer | Internal trade ID |
user | string | User’s Steam ID |
items_received | string | Comma-separated assetIds being received |
items_send | string | Comma-separated assetIds being sent |
status | integer | Trade status (0 = pending, 3 = completed, -1 = failed, etc.) |
bot | string | Bot Steam ID |
offerid | string | Steam trade offer ID |
timestamp | string | Unix timestamp in milliseconds |
code | string | Trade verification code |
lasterror | string | Last error message if failed |
Get all trades
Response
Returns array of all trades (up to 500).Resend trade offer
items_send (withdrawal).
Query Parameters
Internal trade ID to resend
Response
Success
Error Responses
| Status | Message | Description |
|---|---|---|
error | Missing resend parameter | Query parameter resend not provided |
error | Failed to resend trade. Trade not found or conditions not met. | Trade doesn’t exist, isn’t owned by user, or isn’t in a resendable state |
Use the trade
id from GET /trades/active or GET /trades/all. After a successful resend, a new offer is created with the same items and the new code.