All websocket events can be either a single item OR an array containing multiple items.
timesync
Syncing server timestamp. It is not emitted unless the client asks it by sending timesync event.
["timesync",1619682261540]
new_item
Emitted when a new item is available.
[
"new_item",
[
{
"auction_ends_at": 1682284226,
"auction_highest_bid": null,
"auction_highest_bidder": null,
"auction_number_of_bids": 0,
"custom_price_percentage": 197,
"icon_url": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgposr-kLAtl7PLFTj9Q49Kskb-Yh_bmOLfUqWdY781lxL2T8Y-kjAa2qhZlNmz7ItCSd1I4ZVrVrFi6kO_mgJa9uJXAyHdguXI8pSGKoKTrgPA",
"is_commodity": false,
"market_name": "Desert Eagle | Bronze Deco (Factory New)",
"market_value": 353,
"name_color": "D2D2D2",
"preview_id": null,
"price_is_unreliable": false,
"stickers": [
{
"sticker_id": 377,
"wear": null,
"name": "Kawaii Killer Terrorist",
"image": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulReQ0HdUuqkw9aDARJ_JBNWv7OuIgts1uH3ZQJO7c6xkc6PkaOkYe2Ik2hVsJIgibqV9t2hjAy28kJpNWjzIYGXd1JoNA6G_lHv366x0hEUSJjM"
},
{
"sticker_id": 965,
"wear": null,
"name": "Merietta",
"image": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulRNRULFV_eS1M7DQEh4IEtas6isLhN00szEcC9F6ZLux9ONzvP3Y-yJwTtX6pQj3-uWp9qs2A3n-kRkMjvxLNWcegNqYQ7Z5BHgliqAJ7zD"
}
],
"wear": 0.053,
"published_at": "2023-04-23T21:07:36.874150Z",
"id": 148843931,
"depositor_stats": {
"delivery_rate_recent": 1,
"delivery_rate_long": 0.99,
"delivery_time_minutes_recent": 0,
"delivery_time_minutes_long": 17,
"steam_level_min_range": 5,
"steam_level_max_range": 10,
"user_has_trade_notifications_enabled": true,
"user_is_online": null
},
"above_recommended_price": 191,
"purchase_price": 353
},
{
"auction_ends_at": 1682284227,
"auction_highest_bid": null,
"auction_highest_bidder": null,
"auction_number_of_bids": 0,
"custom_price_percentage": 14,
"icon_url": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot7HxfDhjxszJemkV09G3h5SOhe7LPr7Vn35cpsEl0-2Xrdii3APt-RI4ZG71IdOXelJoZVDX_li7kOu-1MW6uZ_JyHV9-n51hRUaMfs",
"is_commodity": false,
"market_name": "AK-47 | Elite Build (Field-Tested)",
"market_value": 266,
"name_color": "D2D2D2",
"preview_id": null,
"price_is_unreliable": false,
"stickers": [
{
"sticker_id": 5132,
"wear": null,
"name": "Perfecto | Stockholm 2021",
"image": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulROWEPTTOz_h52CHE59IjtHs6ijLgR03MzEcC9F6ZLmwdPTlqGjau7XxWoGvJRz272Uotqh3FLmrkBvMTvzJNWUdw8_NQqD5BHgljRT2dJr"
},
{
"sticker_id": 4777,
"wear": null,
"name": "Liquid | 2020 RMR",
"image": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulRPQV6CF7b9mMPaQmJ4JBZQs_Skf1Q41afJdTsX796zlYPclaWtMr3Vwm1XuJcpj-uRrdml3ADkqkNrfSmtc1IIUOC7"
},
{
"sticker_id": 4536,
"wear": 0.7532175183296204,
"name": "Extermination",
"image": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulRVTUDfCOG1w8rBXlR6JBBeubSaJwZy1PaGcmUTvI_hzNnSwPb2ZbmEkm4EuJUj276Xo4-mjgew-0BpZG-gcNTDIBh-Pw_rXqC9BQ"
},
{
"sticker_id": 923,
"wear": 0.6144185066223145,
"name": "Flipsid3 Tactics | Cluj-Napoca 2015",
"image": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulReQFnaFbT8goDVX1RkGghWpL2gZVVm16DOdT5G7t3kxobawPakN-uIwzgDv5Ap0rmVrNyk3FG1-EA-MmjtZNjCmcnHFc4"
}
],
"wear": 0.346,
"published_at": "2023-04-23T21:07:37.029237Z",
"id": 148843957,
"depositor_stats": {
"delivery_rate_recent": 1,
"delivery_rate_long": 0.99,
"delivery_time_minutes_recent": 0,
"delivery_time_minutes_long": 17,
"steam_level_min_range": 5,
"steam_level_max_range": 10,
"user_has_trade_notifications_enabled": true,
"user_is_online": null
},
"above_recommended_price": 8,
"purchase_price": 266
},
{
"auction_ends_at": 1682284229,
"auction_highest_bid": null,
"auction_highest_bidder": null,
"auction_number_of_bids": 0,
"custom_price_percentage": 11,
"icon_url": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpovbSsLQJf3qr3czxb49KzgL-Khsj2P67UklRc7cF4n-SP9tXw3gLl-BZvamGhIIDAIwQ8NAyB_1C8wO-61pfvup_By3Yw63Uj7GGdwUKpIv7t7w",
"is_commodity": false,
"market_name": "★ M9 Bayonet | Blue Steel (Field-Tested)",
"market_value": 106933,
"name_color": "8650AC",
"preview_id": "13bbfe513e9c",
"price_is_unreliable": false,
"stickers": [],
"wear": 0.18,
"published_at": "2023-04-23T21:07:37.118648Z",
"id": 148844032,
"depositor_stats": {
"delivery_rate_recent": 1,
"delivery_rate_long": 1,
"delivery_time_minutes_recent": 1,
"delivery_time_minutes_long": 2,
"steam_level_min_range": 100,
"steam_level_max_range": 5000,
"user_has_trade_notifications_enabled": false,
"user_is_online": null
},
"above_recommended_price": 5,
"purchase_price": 106933
}
]
]
updated_item
Emitted when an existing item has been updated. For example, if status changes.
["updated_item", {
"app_id": 730,
"auction_auto_withdraw_failed": null,
"auction_ends_at": 1631921311,
"auction_highest_bid": null,
"auction_highest_bidder": null,
"auction_number_of_bids": 0,
"custom_name": null,
"description_type": "Souvenir Mil-Spec Grade SMG",
"icon_url": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpou6r8FAZu7OHNdQJO5du-gM7bwqb2MeuClTsCv8Ek2LiZ9t2giwa28hVlZGD0doSUIANqYV_U_gC2366x0j0WoURS",
"img": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpou6r8FAZu7OHNdQJO5du-gM7bwqb2MeuClTsCv8Ek2LiZ9t2giwa28hVlZGD0doSUIANqYV_U_gC2366x0j0WoURS",
"is_commodity": false,
"market_name": "Souvenir MP9 | Hot Rod (Factory New)",
"market_value": 3394,
"name": "Souvenir MP9 | Hot Rod (Factory New)",
"name_color": "FFD700",
"paint_index": null,
"paint_seed": null,
"preview_id": null,
"price_is_unreliable": 0,
"stickers": [],
"tradable": true,
"tradelock": false,
"updated_at": "2021-09-17 23:15:33",
"wear": null,
"published_at": "2021-09-17T23:25:31.111700Z",
"id": 10003,
}]
auction_update
Emitted when someone places a bid for an auction item.
[
{
"id": 148844336,
"above_recommended_price": 10,
"auction_highest_bid": 79,
"auction_highest_bidder": 3894061,
"auction_number_of_bids": 11,
"auction_ends_at": 1682284308
},
{
"id": 148844305,
"above_recommended_price": 18,
"auction_highest_bid": 35,
"auction_highest_bidder": 2678443,
"auction_number_of_bids": 7,
"auction_ends_at": 1682284301
},
{
"id": 148844241,
"above_recommended_price": 14,
"auction_highest_bid": 203,
"auction_highest_bidder": 7905183,
"auction_number_of_bids": 17,
"auction_ends_at": 1682284289
}
]
deleted_item
Emitted when the item is not anymore available for withdrawing. Eg. the auction ends and the winner withdraws it. Contains an array of ids.
[
"deleted_item",
[
91997374,
92044606,
92019018,
92044607,
91997376,
92044608,
91997377
]
]
trade_status
Emitted when the trade status gets updated.
[
"trade_status",
[
{
"type": "withdrawal",
"data": {
"status": 6,
"status_message": "Completed",
"id": 19179038,
"item_id": 148842604,
"tradeoffer_id": 148842604,
"item": {
"market_name": "Sticker | Tyloo | Stockholm 2021",
"market_value": 0.31
},
"total_value": 35
}
}
]
]
deposit_failed
Emitted when a deposit fails.
[
"deposit_failed",
[
{
"response": {
"data": {
"success": false,
"message": "\"Sticker | device (Gold) | Boston 2018\" (ID 3517043328) already exists in another deposit by you. Please select a different item.",
"error_key": "item_already_deposited",
"item_id": 30013
},
"status": 400,
"statusText": "Bad Request"
}
}
]