Skip to main content
GET
/
api
/
dev
/
get_linked_trade_urls
curl "https://api.liquid.tf/api/dev/get_linked_trade_urls" \
  -H "X-API-Key: YOUR_SITE_API_KEY"
{
  "main_account": {
    "id64": "76561198000000000",
    "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123456&token=ABCDEF12"
  },
  "linked_accounts": [
    {
      "id64": "76561198000000001",
      "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123457&token=GHIJKL34"
    },
    {
      "id64": "76561198000000002",
      "trade_url": null
    }
  ]
}

Overview

Returns the trade URLs for your main account and all linked Steam accounts. Useful for automated trading bots that need to send trade offers.
Trade URLs are sensitive! Keep them private. Anyone with a trade URL can send trade offers to that account.

Authentication

X-API-Key
string
required
Your site API key

Rate Limit

1 request per minute

Response

main_account
object
Main account trade URL information
linked_accounts
array
Array of linked account trade URL information
curl "https://api.liquid.tf/api/dev/get_linked_trade_urls" \
  -H "X-API-Key: YOUR_SITE_API_KEY"
{
  "main_account": {
    "id64": "76561198000000000",
    "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123456&token=ABCDEF12"
  },
  "linked_accounts": [
    {
      "id64": "76561198000000001",
      "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123457&token=GHIJKL34"
    },
    {
      "id64": "76561198000000002",
      "trade_url": null
    }
  ]
}

When Trade URLs Are Null

A trade_url will be null if:
  • The account hasn’t set a trade URL via Set Trade URL
  • The trade URL was removed or invalidated
Make sure to check for null values before attempting to send trade offers.

Use Cases

  • Automated trading bots sending trade offers
  • Multi-account management systems
  • Validating trade URLs are set before creating listings
  • Sending trade offers to specific linked accounts

Security

Keep trade URLs private! Do not log them in plain text or expose them in your application UI. Store securely and only use for sending trade offers.