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: GET

Host: steamcommunity.com

Path: /market/orderbook

Query Parameters:

Name Type Required Description
q string Yes The query type (Load)
qp string 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
data object The response data
data.success boolean Whether the request was successful
data.data object The order book
data.data.amtMaxBuyOrder number The highest buy order price in the minor currency unit
data.data.amtMinSellOrder number The lowest sell order price in the minor currency unit
data.data.eCurrency number The currency code
data.data.cBuyOrders number The number of buy orders
data.data.cSellOrders number 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
            ]
        }
    }
}