Retrieve time_updated from the Trade Offer API
First, use the Steam Trade Offer API to get the time_updated field of the target trade. For example:
https://api.steampowered.com/IEconService/GetTradeOffer/v1/?tradeofferid=8301957547&access_token=xx.xx.xx
{
"response": {
"offer": {
"tradeofferid": "8301957547",
"tradeid": "807950398061201297",
"time_updated": 1753501576,
...
}
}
}
Use time_updated as the start_after_time parameter to query the Trade History API
Next, pass the time_updated value as the start_after_time parameter when calling the Trade History API:
GET https://api.steampowered.com/IEconService/GetTradeHistory/v1/?max_trades=1&start_after_time=1753501576&access_token=xxx.xxx.xxx
The API response will include the trade information starting from that timestamp:
{
"response": {
"more": true,
"trades": [
{
"tradeid": "807950398061201297",
"time_init": 1753501576,
...
},
...
]
}
}
This method allows you to accurately locate a trade in the trade history using the time_updated value, which is useful for tracking or further processing.