Для работы с API необходимо создать API-ключ на странице https://market.salespanel.ru/settings/
Полученный ключ следует передавать в заголовках запроса:
"x-api-key": "2v4I4Ao2241251213c61mS1OU2PC27VmmJOO9"
Все ответы от сервера сжимаются с помощью gzip, поэтому ваша библиотека для запросов должна поддерживать декомпрессию:
"Accept-Encoding": "gzip"
Во всех запросах 1$ = 1000
GET https://market.salespanel.ru/api/Items/GetAllItemsOnSale/
Кэшируется раз в минуту. Нет смысла обращаться к этому методу чаще, так как он будет выдавать одно и тоже. Используйте HEAD метод для получения информации о времени последнего обновления кэша.
{ "success": true, "last_update": "2025-08-22T09:25:57.8516805Z", "msg": null, "data": [ { "item_id": "8271001", "assetid": "44011505407", "appid": "csgo", "instanceid": "143865972", "classid": "5721110003", "market_hash_name": "StatTrak™ NIGHTMODE Music Kit Box", "phase": null, "float_value": null, "paintindex_value": 0, "paintseed_value": 0, "rarity_color": "b0c3d9", "price": 5773, "img": "https://community.cloudfl...", "stickers": [], "inspect_in_game": null, "account_steamid": "76561199561537206" }, { "item_id": "18958598", "assetid": "44942730914", "appid": "csgo", "instanceid": "7333074923", "classid": "4141818464", "market_hash_name": "AK-47 | Panthera onca (Minimal Wear)", "phase": null, "float_value": "0.13993072509765625", "paintindex_value": 1018, "paintseed_value": 369, "rarity_color": "d32ce6", "price": 352207, "img": "https://community.cloudfl...", "stickers": [ { "market_hash_name": "Sticker | jL | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": null }, { "market_hash_name": "Sticker | arT | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": 0.12999999523162842 }, { "market_hash_name": "Sticker | F1KU | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": 0.3499999940395355 }, { "market_hash_name": "Sticker | jL | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": 0.8799999952316284 } ], "inspect_in_game": "steam://rungame/730/76561202255...", "account_steamid": "76561199442739307" } ] }
POST https://market.salespanel.ru/api/Items/SearchItems/
Выдаст самый дешевый предмет по каждому названию, если он есть в продаже
{ "appid": 730, "phase": "Phase 1 or Emerald ... or null", "names": [ "AK-47 | Panthera onca (Minimal Wear)", "★ StatTrak™ Paracord Knife | Case Hardened (Well-Worn)" ] }
{ "success": true, "msg": null, "data": [ { "item_id": "18351520", "assetid": "44680346248", "appid": "csgo", "instanceid": "188530170", "classid": "3610686079", "market_hash_name": "★ StatTrak™ Paracord Knife | Case Hardened (Well-Worn)", "phase": null, "float_value": "0.4449920058250427", "paintindex_value": 44, "paintseed_value": 674, "rarity_color": "eb4b4b", "price": 217347, "img": "https://community.cloudf...", "stickers": [], "inspect_in_game": "steam://rungame/730/76561202255...", "account_steamid": "76561199560665698" }, { "item_id": "18958598", "assetid": "44942730914", "appid": "csgo", "instanceid": "7333074923", "classid": "4141818464", "market_hash_name": "AK-47 | Panthera onca (Minimal Wear)", "phase": null, "float_value": "0.13993072509765625", "paintindex_value": 1018, "paintseed_value": 369, "rarity_color": "d32ce6", "price": 352207, "img": "https://community.cloudfl...", "stickers": [ { "market_hash_name": "Sticker | jL | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": null }, { "market_hash_name": "Sticker | arT | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": 0.12999999523162842 }, { "market_hash_name": "Sticker | F1KU | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": 0.3499999940395355 }, { "market_hash_name": "Sticker | jL | Austin 2025", "img": "https://cdn.steamstatic...", "slot": 3, "wear": 0.8799999952316284 } ], "inspect_in_game": "steam://rungame/730/76561202255...", "account_steamid": "76561199442739307" } ] }
HEAD https://market.salespanel.ru/api/Items/GetAllItemsOnSale/
Время последнего обновления кеша возвращается в заголовках ответа.
X-Last-Update: '2025-08-21T12:35:43Z'
GET https://market.salespanel.ru/api/Items/GetRemovedFromSaleLastTime/
Можно запрашивать раз в 10 секунд для обновления списка снятых с продажи предметов.
{ "success": true, "msg": null, "data": [ "45280238658", "614295614082303114" ] }
POST https://market.salespanel.ru/api/Items/Buy/
1$ = 1000
{ "item_id": "8271001", "assetid": "44011505407", "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=...", "price": 5773, "comment": "Must be unique for each purchase or null" }
{ "success": true, "msg": null, "data": { "trade_id": 214872, "trade_url_buyer": "...", "assetid": 44011505407, "market_hash_name": "StatTrak™ NIGHTMODE Music Kit Box", "price": 5773, "status": "created", "user_comment": "unique comment or null" } }
POST https://market.salespanel.ru/api/Trades/GetHistoryByFilters/
С учетом сделок в процессе обработки. Метод выдает максимально 2000 предметов, используйте skip чтобы получить следующие страницы.
{ "start": "yyyy-MM-dd", "end": "yyyy-MM-dd", "skip": 2000, "user_comments": "['my random reminder', ...] or null", "trade_ids": "[1234, 1235, ...] or null" }
{ "success": true, "msg": null, "data": [ { "trade_id": "150278", "status": "waiting_seller", "tradeid_time_settlement": "0001-12-31T21:29:00Z", "error": "unknown", "created": "2025-08-12T18:40:27.288953Z", "updated": "2025-08-12T18:40:53.635247Z", "user_comment": "vdtyn", "account_steamid": "76561199549175370", "type": "buy", "appid": "dota2", "assetid": "32401790242", "market_hash_name": "Infused Claws of the Ferocious Heart", "phase": null, "market_hash_name_full": "Infused Claws of the Ferocious Heart", "float_value": null, "price": 2867, "img": "https://community.cloudfl..", "stickers": [], "tradeofferid": "8340076871", "tradeid": null }, { "trade_id": "150271", "status": "accepted_buyer_and_waiting_verification", "tradeid_time_settlement": "2025-08-20T07:00:00Z", "error": "unknown", "created": "2025-08-12T18:38:53.772707Z", "updated": "2025-08-12T18:40:52.509968Z", "user_comment": "ay1jn", "account_steamid": "76561199528116673", "type": "buy", "appid": "csgo", "assetid": "45469324680", "market_hash_name": "AK-47 | Elite Build (Well-Worn)", "phase": null, "market_hash_name_full": "AK-47 | Elite Build (Well-Worn)", "float_value": "0.4088985323905945", "price": 903, "img": "https://community.cloudfl...", "stickers": [ { "market_hash_name": "Sticker | Fnatic | Paris 2023", "img": "https://cdn.steamstatic.com/...png" }, { "market_hash_name": "Sticker | Fnatic | Paris 2023", "img": "https://cdn.steamstatic.com/...png" }, { "market_hash_name": "Sticker | One Shot One Kill", "img": "https://cdn.steamstatic.com/...png" }, { "market_hash_name": "Sticker | Fnatic | Paris 2023", "img": "https://cdn.steamstatic.com/...png" }, { "market_hash_name": "Sticker | Fnatic | Paris 2023", "img": "https://cdn.steamstatic.com/...png" } ], "tradeofferid": "8340075066", "tradeid": "822588460935487123" }, { "trade_id": "103465", "status": "completed", "tradeid_time_settlement": "0001-12-31T21:29:00Z", "error": "unknown", "created": "2025-08-01T18:21:49.090261Z", "updated": "2025-08-09T07:21:04.401993Z", "user_comment": "kqn07", "account_steamid": "76561199509261184", "type": "buy", "appid": "csgo", "assetid": "45280238658", "market_hash_name": "Stockholm 2021 Legends Sticker Capsule", "phase": null, "market_hash_name_full": "Stockholm 2021 Legends Sticker Capsule", "float_value": null, "price": 1167, "img": "https://community.cloudfl...", "stickers": [], "tradeofferid": "8316680958", "tradeid": "806825131881160249" }, { "trade_id": "101129", "status": "error", "tradeid_time_settlement": "0001-12-31T21:29:00Z", "error": "trade_declined_in_steam", "created": "2025-08-01T10:44:21.045403Z", "updated": "2025-08-01T10:55:11.77558Z", "user_comment": "wrcyci", "account_steamid": "76561199507583775", "type": "buy", "appid": "rust", "assetid": "614295614082303114", "market_hash_name": "Sinotype Firearms", "phase": null, "market_hash_name_full": "Sinotype Firearms", "float_value": null, "price": 838, "img": "https://community.cloudfl...", "stickers": [], "tradeofferid": "8315854579", "tradeid": null } ] }
GET https://market.salespanel.ru/api/Wallet/GetBalance/
1$ = 1000
{ "success": true, "msg": null, "data": { "project_id": 39879, "balance": 123000, "hold_balance": 321000 } }
POST https://market.salespanel.ru/api/Items/CheckCanBuy/
Показывает разрешено ли покупать предметы для данного аккаунта Steam. Если аккаунты на которые вы покупаете предметы их не принимают или отклоняют обмены, они могут получить временный бан на покупку предметов для них.
{ "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=..." }
{ "success": true, "msg": null }
{ "created": 0, "waiting_seller": 1, "waiting_seller_sda": 2, "waiting_buyer": 3, "completed": 4, "accepted_buyer_and_waiting_verification": 5, "checking_who_did_rollback": 6, "error": 9 }
{ "unknown": 0, "trade_declined_in_steam": 1, "item_not_found": 2, "invalid_trade_url": 3, "invalid_price": 4, "confirmation_problem_in_mobile": 5, "seller_issue": 6, "steam_error_15": 7, "steam_error_other": 8, "error": 9, "trade_status_counter_offer": 10, "trade_declined_buyer": 11, "trade_rollbacked_buyer": 12, "trade_rollbacked_seller": 13 }
{ "csgo": 730, "dota2": 570, "rust": 252490, "tf2": 440, "unknown": 0 }