Messages
Products updates (adding, deleting and price changes)
channel = market_products_updates
Product Added
inspect_url, float, paint_index and paint_seed may be blank when adding a product, as we need time to get the information from Steam. Wait for market_product_edited with updated data.
{
"type":"market_product_added",
"content":{
"id":"1ef6c2b5-7f94-67c0-8e23-0242ac15000b",
"app_id":"730",
"asset_id":"36857146063",
"class_id":"469440539",
"instance_id":"302028390",
"price":"0.020",
"name_hash":"G3SG1 | Green Apple (Minimal Wear)",
"inspect_url":"steam:\\/\\/rungame\\/730\\/76561202255233023\\/+csgo_econ_action_preview%20S76561198283251328A36857146063D14015389653147072601",
"delivery_type":"semi",
"float":"0.45945319533348083",
"paint_index":"232",
"paint_seed":"153"
}
}
delivery_type can be auto
, semi
and manual
. More information.
Product Changed
{
"type":"market_product_edited",
"content":{
"id":"1ef6c2b5-7f94-67c0-8e23-0242ac15000b",
"app_id":"730",
"asset_id":"36857146063",
"class_id":"469440539",
"instance_id":"302028390",
"price":"0.020",
"name_hash":"G3SG1 | Green Apple (Minimal Wear)",
"inspect_url":"steam:\\/\\/rungame\\/730\\/76561202255233023\\/+csgo_econ_action_preview%20S76561198283251328A36857146063D14015389653147072601",
"float":"0.45945319533348083",
"paint_index":"232",
"paint_seed":"153"
}
}
Product Deleted
{
"type":"market_product_removed",
"content":{
"id":"1ef6c2b5-7f94-67c0-8e23-0242ac15000b",
"app_id":"730",
"asset_id":"36857146063",
"class_id":"469440539",
"instance_id":"302028390",
"name_hash":"G3SG1 | Green Apple (Minimal Wear)"
}
}
Deal Updates
{
"type":"market_deal_initiated",
"content":{
"deal_id":"1efa7148-df63-645e-b588-0242ac1c000b",
"deal_action_type":"buy",
"market_product_name":"Nova | Sand Dune"
}
}
Initiated
{
"type":"market_deal_initiated",
"content":{
"deal_id":"1efa7148-df63-645e-b588-0242ac1c000b",
"deal_action_type":"buy",
"market_product_name":"Nova | Sand Dune"
}
}
Expired
{
"type":"market_deal_expired",
"content":{
"deal_id":"1efa7148-df63-645e-b588-0242ac1c000b",
"deal_action_type":"buy",
"market_product_name":"Nova | Sand Dune"
}
}
Cancelled
{
"type":"market_deal_cancelled",
"content":{
"deal_id":"1efa7148-df63-645e-b588-0242ac1c000b",
"deal_action_type":"buy",
"market_product_name":"Nova | Sand Dune"
}
}
Offered
{
"type":"market_deal_offered",
"content":{
"deal_id":"1efa7148-df63-645e-b588-0242ac1c000b",
"deal_action_type":"buy",
"market_product_name":"Nova | Sand Dune"
}
}
Need Confirmation
{
"type":"market_deal_need_confirmation",
"content":{
"deal_id":"1efa7148-df63-645e-b588-0242ac1c000b",
"deal_action_type":"buy",
"market_product_name":"Nova | Sand Dune"
}
}
Completed
{
"type":"market_deal_exchanged",
"content":{
"deal_id":"1efa7148-df63-645e-b588-0242ac1c000b",
"deal_action_type":"buy",
"market_product_name":"Nova | Sand Dune"
}
}