Skip to content

API Reference / Trade offers

Decline several trade offers

Route a decline of up to 50 incoming trade offers in one call. Each offer is routed to its account session or refused with a typed reason, independently. Routing is not execution, and each state change arrives through the trade offer feed. The daily trade action cap applies per account.

POST/steam.v1.Steam/BulkDeclineTradeOffers

Request body

application/jsonRequired

Request to decline several incoming trade offers in one call. Each offer is routed or refused independently.

offers?array<TradeOfferKey>

The offers to decline, 1 to 50.

Show attributes
accountNamestring

Steam account the offer belongs to.

offerIdstring

The trade offer's Steam id.

Response body

application/json

Success

results?array<BulkTradeOfferActionResult>

One result per requested offer, in request order.

Show attributes
error?string

Why the action was not routed. Unspecified when routed.

Value in"BULK_TRADE_OFFER_ACTION_ERROR_NOT_FOUND""BULK_TRADE_OFFER_ACTION_ERROR_WEB_SESSION_NOT_ESTABLISHED""BULK_TRADE_OFFER_ACTION_ERROR_RATE_LIMITED""BULK_TRADE_OFFER_ACTION_ERROR_INVALID""BULK_TRADE_OFFER_ACTION_ERROR_INTERNAL"

offer?TradeOfferKey

The offer this result is for.

Show attributes
accountNamestring

Steam account the offer belongs to.

offerIdstring

The trade offer's Steam id.

routed?boolean

True when the action was routed to the account's session. The state change arrives through the trade offer feed.

curl -X POST "https://api.goldmine.to/steam.v1.Steam/BulkDeclineTradeOffers" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "offers": [
      {
        "accountName": "trader_bot_01",
        "offerId": "6483920184"
      }
    ]
  }'
{
  "results": [
    {
      "offer": {
        "accountName": "trader_bot_01",
        "offerId": "6483920184"
      },
      "routed": true
    }
  ]
}