Get Market Order Book - Revadike/InternalSteamWebAPI GitHub Wiki
GET /market/orderbook
Returns the buy and sell order book for an item on the Community Market.
Rate limits
No known rate limit
Request
Authenticated: No
Method:
GETHost:
steamcommunity.comPath:
/market/orderbookQuery Parameters:
Name Type Required Description qstring Yes The query type ( Load)qpstring Yes URL-encoded JSON array of the Steam AppID and the market hash name, e.g. [440,"Mann Co. Supply Crate Key"]
Response
200 OK
Name Type Description dataobject The response data data.successboolean Whether the request was successful data.dataobject The order book data.data.amtMaxBuyOrdernumber The highest buy order price in the minor currency unit data.data.amtMinSellOrdernumber The lowest sell order price in the minor currency unit data.data.eCurrencynumber The currency code data.data.cBuyOrdersnumber The number of buy orders data.data.cSellOrdersnumber The number of sell orders data.data.rgCompactBuyOrders[]array Flat array of alternating price and quantity pairs for buy orders data.data.rgCompactSellOrders[]array Flat array of alternating price and quantity pairs for sell orders
Example
GET https://steamcommunity.com/market/orderbook?q=Load&qp=%5B440%2C%22Mann%20Co.%20Supply%20Crate%20Key%22%5D
{
"data": {
"success": true,
"data": {
"amtMaxBuyOrder": 192,
"amtMinSellOrder": 193,
"eCurrency": 3,
"cBuyOrders": 483178,
"cSellOrders": 59069,
"rgCompactBuyOrders": [
192,
2054,
191,
3227,
190,
1732,
189,
8735
],
"rgCompactSellOrders": [
193,
144,
195,
2399,
196,
266,
197,
415
]
}
}
}