Get My Market History - Revadike/InternalSteamWebAPI GitHub Wiki
GET /market/myhistory
Rate limits
No known rate limit
Request
Authenticated: Yes
Method:
GETHost:
steamcommunity.comPath:
/market/myhistoryQuery Parameters:
Name Type Required Description norenderstring No TODOstartstring No The starting offset countstring Yes The number of items
Response
200 OK
Name Type Description successboolean Whether the request was successful pagesizenumber The page size total_countnumber The total number of items startnumber The starting offset assetsobject The items assets.:appidobject The items assets.:appid.:contextidobject The items assets.:appid.:contextid.:assetidobject The items assets.:appid.:contextid.:assetid.currencynumber The currency code assets.:appid.:contextid.:assetid.appidnumber The Steam AppID assets.:appid.:contextid.:assetid.contextidstring The context ID of the inventory assets.:appid.:contextid.:assetid.idstring The unique identifier assets.:appid.:contextid.:assetid.classidstring The class ID of the item assets.:appid.:contextid.:assetid.instanceidstring The instance ID of the item assets.:appid.:contextid.:assetid.amountstring The amount assets.:appid.:contextid.:assetid.statusnumber The status code assets.:appid.:contextid.:assetid.original_amountstring The original amount assets.:appid.:contextid.:assetid.unowned_idstring The unowned ID assets.:appid.:contextid.:assetid.unowned_contextidstring The unowned context ID assets.:appid.:contextid.:assetid.rollback_new_idstring TODOassets.:appid.:contextid.:assetid.rollback_new_contextidstring TODOassets.:appid.:contextid.:assetid.background_colorstring The background color (hex) assets.:appid.:contextid.:assetid.icon_urlstring URL of the icon assets.:appid.:contextid.:assetid.icon_url_largestring URL of the large icon assets.:appid.:contextid.:assetid.descriptions[]array The item descriptions assets.:appid.:contextid.:assetid.descriptions[].typestring The type assets.:appid.:contextid.:assetid.descriptions[].valuestring The value assets.:appid.:contextid.:assetid.tradablenumber Whether the item is tradable assets.:appid.:contextid.:assetid.actions[]array The item actions assets.:appid.:contextid.:assetid.actions[].linkstring The URL assets.:appid.:contextid.:assetid.actions[].namestring The name assets.:appid.:contextid.:assetid.namestring The name assets.:appid.:contextid.:assetid.name_colorstring The name color assets.:appid.:contextid.:assetid.typestring The type assets.:appid.:contextid.:assetid.market_namestring The market name of the item assets.:appid.:contextid.:assetid.market_hash_namestring The market hash name of the item assets.:appid.:contextid.:assetid.market_actions[]array The market actions assets.:appid.:contextid.:assetid.market_actions[].linkstring The URL assets.:appid.:contextid.:assetid.market_actions[].namestring The name assets.:appid.:contextid.:assetid.commoditynumber Whether the item is a commodity assets.:appid.:contextid.:assetid.market_tradable_restrictionnumber The market tradable restriction assets.:appid.:contextid.:assetid.marketablenumber Whether the item is marketable assets.:appid.:contextid.:assetid.app_iconstring URL of the app icon assets.:appid.:contextid.:assetid.ownernumber The 64-bit SteamID of the item owner assets.:appid.:contextid.:assetid.descriptions[].colorstring The color assets.:appid.:contextid.:assetid.market_buy_country_restrictionstring TODOassets.:appid.:contextid.:assetid.owner_actions[]array The owner actions assets.:appid.:contextid.:assetid.owner_actions[].linkstring The URL assets.:appid.:contextid.:assetid.owner_actions[].namestring The name assets.:appid.:contextid.:assetid.market_fee_appnumber The market fee app ID assets.:appid.:contextid.:assetid.market_marketable_restrictionnumber The market marketable restriction assets.:appid.:contextid.:assetid.item_expirationstring The item expiration date events[]array The events events[].listingidstring The listing ID events[].event_typenumber The numeric event type events[].time_eventnumber TODOevents[].time_event_fractionnumber TODOevents[].steamid_actorstring TODOevents[].date_eventstring TODOpurchasesobject TODOpurchases.:purchaseidobject The purchase, keyed by purchase ID purchases.:purchaseid.listingidstring The listing ID purchases.:purchaseid.purchaseidstring The purchase ID purchases.:purchaseid.time_soldnumber Unix timestamp when sold purchases.:purchaseid.steamid_purchaserstring TODOpurchases.:purchaseid.needs_rollbacknumber TODOpurchases.:purchaseid.failednumber TODOpurchases.:purchaseid.assetobject The asset purchases.:purchaseid.asset.currencynumber The currency code purchases.:purchaseid.asset.appidnumber The Steam AppID purchases.:purchaseid.asset.contextidstring The context ID of the inventory purchases.:purchaseid.asset.idstring The unique identifier purchases.:purchaseid.asset.classidstring The class ID of the item purchases.:purchaseid.asset.instanceidstring The instance ID of the item purchases.:purchaseid.asset.amountstring The amount purchases.:purchaseid.asset.statusnumber The status code purchases.:purchaseid.asset.new_idstring TODOpurchases.:purchaseid.asset.new_contextidstring TODOpurchases.:purchaseid.paid_amountnumber TODOpurchases.:purchaseid.paid_feenumber TODOpurchases.:purchaseid.currencyidstring The currency ID purchases.:purchaseid.steam_feenumber The Steam fee purchases.:purchaseid.publisher_feenumber The publisher fee purchases.:purchaseid.publisher_fee_percentstring The publisher fee percentage purchases.:purchaseid.publisher_fee_appnumber The publisher fee app ID purchases.:purchaseid.received_amountnumber TODOpurchases.:purchaseid.received_currencyidstring TODOpurchases.:purchaseid.funds_heldnumber TODOpurchases.:purchaseid.time_funds_held_untilnumber TODOpurchases.:purchaseid.funds_revokednumber TODOpurchases.:purchaseid.funds_returnednumber TODOpurchases.:purchaseid.avatar_actorstring TODOpurchases.:purchaseid.persona_actorstring TODOlistingsobject The listings listings.:listingidobject The listings listings.:listingid.listingidstring The listing ID listings.:listingid.pricenumber The price listings.:listingid.feenumber The fee listings.:listingid.publisher_fee_appnumber The publisher fee app ID listings.:listingid.publisher_fee_percentstring The publisher fee percentage listings.:listingid.currencyidnumber The currency ID listings.:listingid.assetobject The asset listings.:listingid.asset.currencynumber The currency code listings.:listingid.asset.appidnumber The Steam AppID listings.:listingid.asset.contextidstring The context ID of the inventory listings.:listingid.asset.idstring The unique identifier listings.:listingid.asset.amountstring The amount listings.:listingid.asset.market_actions[]array The market actions listings.:listingid.asset.market_actions[].linkstring The URL listings.:listingid.asset.market_actions[].namestring The name listings.:listingid.original_pricenumber The original price listings.:listingid.cancel_reasonstring The cancellation reason listings.:listingid.cancel_reason_shortstring TODO
Example
GET https://steamcommunity.com/market/myhistory?norender=1&start=0&count=99
{
"success": true,
"pagesize": 99,
"total_count": 30266,
"start": 0,
"assets": {
"753": {
"6": {
"39622914925": {
"currency": 0,
"appid": 753,
"contextid": "6",
"id": "39622914925",
"classid": "5958042751",
"instanceid": "0",
"amount": "0",
"status": 4,
"original_amount": "1",
"unowned_id": "39623577421",
"unowned_contextid": "6",
"background_color": "",
"icon_url": "IzMF03bk9WpSBq-S-ekoE33L-iLqGFHVaU25ZzQNQcXdA3g5gMEPvUZZEfSMJ6dESN8p_2SVTY7V2NgGwnIPkT4QPivs0XEwSOR-M87Sizbvs-2BEDL-ZTbDKnzbHgc8SbRbPWrfqDv37LuRQ2ufSe5-RlgMK_ME8mAbOcuKOhU50NEO5W-okAJ_EQQsd9d5eQK6zXFOYO8gkXFFcplTmnH4IpyK11xjOUM4WLnhArrBPdOgw30iCBhgSaBJMZXV5nL6vprzoNChqbs",
"icon_url_large": "IzMF03bk9WpSBq-S-ekoE33L-iLqGFHVaU25ZzQNQcXdA3g5gMEPvUZZEfSMJ6dESN8p_2SVTY7V2NgGwnIPkT4QPivs0XEwSOR-M87Sizbvs-2BEDL-ZTbDKnzbHgc8SbRbPWrfqDv37LuRQ2ufSe5-RlgMK_ME8mAbOcuKOhU50NEO5W-okAJ_EQQsd9d5eQK6zXFOYO8gkXFFcplTmnH4IpyK11xjOUM4WLnhArrBPdOgw30iCBhgSaBJMZXV5nL6vprzoNChqbs",
"descriptions": [
{
"value": ""
}
],
"tradable": 1,
"owner_actions": [
{
"link": "https://steamcommunity.com/my/gamecards/1961390/",
"name": "View badge progress"
},
{
"link": "javascript:GetGooValue( '%contextid%', '%assetid%', 1961390, 4, 0 )",
"name": "Turn into Gems..."
}
],
"name": "Market Stroll",
"type": "Sakura Succubus 6 Trading Card",
"market_name": "Market Stroll",
"market_hash_name": "1961390-Market Stroll",
"market_fee_app": 1961390,
"commodity": 1,
"market_tradable_restriction": 7,
"market_marketable_restriction": 7,
"marketable": 1,
"sealed": 0,
"sealed_type": 0,
"market_bucket_id": "B1961390-4",
"asset_properties": [],
"app_icon": "https://shared.fastly.steamstatic.com/community_assets/images/apps/753/1d0167575d746dadea7706685c0f3c01c8aeb6d8.jpg",
"owner": 0
},
// ...
}
}
},
"events": [
{
"listingid": "528764003256097562",
"purchaseid": "528764003256097563",
"event_type": 3,
"time_event": 1791504838,
"time_event_fraction": 260000000,
"steamid_actor": "76561198089392664",
"date_event": "8 Oct"
},
// ...
],
"purchases": {
"528764003256097562_528764003256097563": {
"listingid": "528764003256097562",
"purchaseid": "528764003256097563",
"time_sold": 1791504838,
"steamid_purchaser": "76561198089392664",
"needs_rollback": 0,
"failed": 0,
"asset": {
"currency": 0,
"appid": 753,
"contextid": "6",
"id": "39623577421",
"classid": "5958042751",
"instanceid": "0",
"amount": "1",
"status": 4,
"new_id": "39623577421",
"new_contextid": "6"
},
"paid_amount": 8,
"paid_fee": 2,
"currencyid": "2001",
"steam_fee": 1,
"publisher_fee": 1,
"publisher_fee_percent": "0.100000001490116119",
"publisher_fee_app": 1961390,
"received_amount": 7,
"received_currencyid": "2003",
"funds_returned": 0,
"added_tax": 0
},
// ...
},
"listings": {
"528764003256097562": {
"listingid": "528764003256097562",
"price": 0,
"fee": 0,
"publisher_fee_app": 1961390,
"publisher_fee_percent": "0.100000001490116119",
"currencyid": 2003,
"asset": {
"currency": 0,
"appid": 753,
"contextid": "6",
"id": "39622914925",
"amount": "0"
},
"original_price": 7
},
// ...
}
}