Tradeoffer

πŸ”’ Accept a Trade Offer on Steam

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

πŸ’¬ **What this endpoint does:**
- Accepts a trade offer on Steam.
- Requires Steam credentials and trade details.

πŸ› οΈ **Features:**
- Allows accepting trade offers programmatically.
- Requires `2FA` if items are involved in the trade.

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

Request

  • Base URL: https://www.steamwebapi.com
  • URL: https://www.steamwebapi.com/steam/api/trade/accept
  • 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 accept.

partnersteamidstring required

The Steam ID of the trade partner.

Example request

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

Response

Trade offer successfully accepted.

Changes

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