[Order] Purchase Histroy

Returns your purchase history .

Rate limit is 10 requests per second.

HTTP request

POST /market/open_api/request/?action=merchant.order.buy.history HTTP/1.1
Content-Type: application/json
Content-Length: 262
Host: localhost:8080

{
  "apiKey" : "ft8CxQvvOGxpXVJcMhgZ",
  "fromDate":"1732180041",
  "toDate":"1732180041",
  "position":1,
  "limit":200
} 

Table 4. Request fields

Path
Type
Description

apiKey

String

api key

fromDate

Number

Start timestamp (optional, UNIX timestamp)

toDate

Number

End timestamp (optional, UNIX timestamp)

position

Number

The id of the last record returned last time, for cursor queries (optional)

limit

Number

Return number limit (optional, default 80, value range 20-200)

HTTP response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 181

{
  "code": 0,
  "message": "SUCCESS",
  "data": {
    "data": [
      {
        "id": "1104",
        "transId": "202045454545454545454",
        "orderId": "45466546564645",
        "externalTradeNo": "Skind15141813",
        "ctime": "1732170733",
        "marketHashName": "AUG | Sweeper (Field-Tested)",
        "price": "0.02",
        "steamTradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=3434343&token=dfdfdf",
        "failedDes": "",
        "failedCode": "0",
        "cancelStatus":0,
        "orderAssetStatus":,1
      }
    ]
  }
}

Table 5. Response fields

Path
Type
Description

message

String

Response Message.

code

Number

Response code.

data

Array

Actual data.

data.id

Number

ID value of the order record

data.transId

transaction number

data.orderId

The order id.

data.externalTradeNo

Third party merchant order number.

data.ctime

Order creation time

data.marketHashName

market hash name

data.price

Payment amount

data.steamTradeUrl

The recipient’s steam trade link.

data.failedDes

If the order fails, the reason will be shown here.

data.failedCode

failed code

data.cancelStatus

Cancel order status code

data.orderAssetStatus

order status

Last updated