Skip to main content
POST
/
api
/
dev
/
set_trade_url
curl -X POST "https://api.liquid.tf/api/dev/set_trade_url" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_SITE_API_KEY" \
  -d '{
    "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123456&token=ABCDEF"
  }'
{
  "success": true
}

Overview

Sets or updates your Steam trade offer URL, which is used to send you trade offers when someone purchases from your listings or fulfills your buy orders.

Authentication

X-API-Key
string
required
Your site API key

Rate Limit

1 request per minute

Request Body

trade_url
string
required
Your Steam trade offer URL in the format: https://steamcommunity.com/tradeoffer/new/?partner=XXXXXXX&token=XXXXXXXX
multiaccount_proxy
string
Steam ID of a linked account to set the trade URL for. If provided, the trade URL will be set for that linked account instead of your main account.

Response

success
boolean
Returns true if the trade URL was successfully updated
curl -X POST "https://api.liquid.tf/api/dev/set_trade_url" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_SITE_API_KEY" \
  -d '{
    "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123456&token=ABCDEF"
  }'
{
  "success": true
}

How to Find Your Trade URL

Go to your Steam trade offer settings and copy your trade offer URL from the bottom of the page.
Keep your trade URL private. Anyone with this URL can send you trade offers.

Linked Accounts

Use multiaccount_proxy to:
  • Set trade URLs for linked Steam accounts
  • Manage multiple trading accounts from a single API key
  • Keep trade URLs separate for different accounts