Tradeoffer

❌ Cancel a Trade Offer on Steam

Baseurl: https://www.steamwebapi.com/steam/api/trade/cancel?key=YOUR_API_KEY

💬 **What this endpoint does:**
- Cancels a trade offer on Steam.
- Requires Steam credentials and the trade offer ID.

🛠️ **Features:**
- Allows programmatically canceling trade offers.
- Provides secure authentication using `steamloginsecure`.

🌐 **How to use:**
- Provide required parameters (`steamloginsecure` and `tradeofferid`) in the request body.
- Authenticate using your API key to access the endpoint.
put/steam/api/trade/cancel

Request

  • Base URL: https://www.steamwebapi.com
  • URL: https://www.steamwebapi.com/steam/api/trade/cancel
  • Auth: API key in query parameter key

Query parameters

Your API key for authentication. Retrieve it from your Dashboard (top-right corner).

If you run in production, please set this to 1. Default is 0. This is in future required, and if not set, you will get a warning.

Request body

steamloginsecurestring required

SteamLoginSecure from the cookie of steamcommunity.com or via our extension for automated retrieval.

tradeofferidstring required

The trade offer ID to cancel.

Example request

{
  "steamloginsecure": "76561198271552942||eyAidHlwIjogIkpXVCIsICJhbGciOiAiRWREU0EiIH0....",
  "tradeofferid": "1234567890"
}

Response

Trade offer successfully canceled.

Changes

No recorded changes to this operation across all 1 revision of this API.