Get Active Trades
Returns an array of all items currently being deposited or withdrawn by this account. This does not include bids placed on active items until the auction ends.
get/trading/user/trades
Request
- Base URLhttps://csgoempire.com/api/v2
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
200
Example response
{
"success": true,
"data": {
"deposits": [
{
"id": 291452362,
"total_value": 499,
"item_id": 4209852853,
"item": {
"app_id": 730,
"context_id": 2,
"type": "Mil-Spec Grade Sniper Rifle",
"asset_id": 4189826749,
"created_at": "2024-02-25 00:01:01",
"full_position": 1,
"icon_url": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot621FA957P3dcjFH7c6Jh4uem_vnDKnUkmld_cBOhuDG_Zi7iQ2w_RU5Z26md4TDewQ-aF7ZrAC6wL-81pK9tZXPy3pr7yl243eLmgv3309_PudPMg",
"id": 4209852853,
"market_name": "AWP | Acheron (Factory New)",
"market_value": 499,
"name_color": "D2D2D2",
"preview_id": "44f1edad452a",
"suggested_price": 281,
"tradable": true,
"updated_at": "2025-02-26 00:00:01",
"wear": 0.002
},
"status": 3,
"status_message": "Sending",
"tradeoffer_id": 22342312,
"metadata": {
"expires_at": 1740426816,
"trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=100&token=hi",
"item_inspected": true,
"partner": {
"steam_id": "76561198382602085",
"steam_name": "exampleProfile",
"avatar": "https://avatars.steamstatic.com/60d676610e6303f1f5fde66f307dbe753fc91221.jpg",
"avatar_full": "https://avatars.steamstatic.com/60d676610e6303f1f5fde66f307dbe753fc91221_full.jpg",
"profile_url": "https://steamcommunity.com/profiles/76561198382602085",
"timecreated": 171313223,
"steam_level": 10
}
},
"created_at": "2025-02-26 00:02:02",
"updated_at": "2025-02-26 00:03:03",
"suggested_price": 281
}
],
"withdrawals": [
{
"id": 26666321,
"total_value": 245,
"item_id": 221232898,
"item": {
"market_name": "MAC-10 | Allure (Factory New)",
"market_value": 7,
"icon_url": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpou7umeldf0Ob3fDxBvYyJnZOEmPn6MoTdn2xZ_Isj3bGS9oqh3wWy_kU5YWihI9WXcVJrYgvX-gO6w-fm1MS56JuaznowpGB8suVQiM7I",
"id": 221232898,
"name_color": "D2D2D2",
"suggested_price": 245
},
"status": 3,
"status_message": "Sending",
"tradeoffer_id": 221232898,
"metadata": {
"expires_at": 1723212836
},
"created_at": "2025-02-25 08:08:08",
"updated_at": "2025-02-25 09:09:09"
}
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.