---
title: "📦 Create a Trade Offer on Steam"
method: POST
path: "/steam/api/trade/create"
tags: ["Tradeoffer"]
---

# 📦 Create a Trade Offer on Steam

`POST /steam/api/trade/create`

## Request

- Base URL: `https://www.steamwebapi.com`
- URL: `https://www.steamwebapi.com/steam/api/trade/create`
- Auth: API key in query parameter `key`

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

    💬 **What this endpoint does:**
    - Initiates a new trade offer for a specific user.
    - Requires a valid `steamloginsecure`, retrievable from Steam cookies.

    🛠️ **Features:**
    - Supports sending items (`myitemassetids`) and requesting items (`partneritemassetids`).
    - Trade link and partner Steam ID ensure secure targeting.
    - Includes a custom message option for the trade.

    🌐 **How to use:**
    - Provide required parameters in a JSON payload.
    - Use optional parameters like `game` for game-specific trade offers.

## Request body

- object
  - `steamloginsecure` string, required: SteamLoginSecure from the cookie of steamcommunity.com or via our extension for automated retrieval.
  - `partneritemassetids` union: Optional. Asset IDs of items you want to receive. Accepts either a comma-separated string or a JSON array of strings.
    - string
    - string[]
  - `myitemassetids` union: Optional. Asset IDs of items you are offering. Accepts either a comma-separated string or a JSON array of strings.
    - string
    - string[]
  - `tradelink` string, required: The trade link of the user you are trading with.
  - `partnersteamid` string, required: Steam ID of the trade partner.
  - `message` string, required: Message to include with the trade offer.
  - `game` string: Optional. The game for the trade offer. Default is `cs2`.

## Response `200`

Trade offer successfully created.

## Other responses

- `401`: Unauthorized access or invalid/expired steamloginsecure.
- `402`: Rate limit exceeded (daily or monthly).
- `404`: Specified game not found.
- `406`: Invalid asset ID provided or too many pending trade offers.
- `409`: Trade offer creation failed - too many cancellations.
- `410`: Unauthorized access due to invalid/expired steamloginsecure.
- `421`: Validation error for the request body.
- `422`: Validation error for JSON properties.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation.md) · [All operations](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/revisions/f9a4109cbda6?raw)
