Steam Trading API

Trade Steam Items with Ease

Our Steam Trading API allows you to operate a fully automated trading bot that can request items from users or send its own items. All you need is the steamLoginSecure cookie, which you can find in your browser’s Steam cookies. Once you’ve automated the retrieval of this cookie, you can use our high-performance Trading API endpoints to build scalable and secure trading systems.

***Update: We built an Endpoint to get automaticly the Steamloginsecure read here for more: https://www.steamwebapi.com/blog/how-to-get-steamloginsecure

This model is what we call B2C Trading (Bot-to-Customer), and it’s used by major platforms like Skinport, DMarket, and SkinKash. You operate one or more Steam accounts as bots that manage inventories and automatically send or receive trade offers. This is ideal for marketplaces, item shops, or skin buying services. You can explore all available functionality in our official API documentation.

Note: The B2C method requires direct access to your Steam accounts to hold items. This method is not suitable for peer-to-peer marketplaces. If you want to avoid using Steam cookies or Steam account control, our P2P method using the SteamAuth Extension is a better choice.

What is P2P Trading?

Peer-to-Peer (P2P) Trading means the seller sends items directly to the buyer only after the purchase is completed — without the item being held by a bot. Platforms like Buff.market and C5Game use this model. The items stay in the seller's inventory until the transaction is finalized. You don’t need Steam cookies, bots, or login automation for this approach.

Our SteamAuth Extension is specifically designed for P2P marketplaces. It enables users to create trade offers directly in their browser via JavaScript events — no logins, no external software, no manual steps. Trade actions are triggered in the background and sent to your backend via Webhook. We’ll work with you to set up your account so event responses are delivered to your server.

document.addEventListener('steamAuthReady', (event) => {
  console.log('steamAuthReady', event.detail)
})

Once the extension is detected, you can trigger a trade offer using this code:

document.dispatchEvent(new CustomEvent('steamauth-runtime', {
  detail: {
    event: 'tradecreate',
    partneritemassetids: [],
    myitemassetids: ['36019072594'],
    tradeoffermessage: 'Here is your trade!',
    tradelink: 'https://steamcommunity.com/tradeoffer/new/?partner=111290214&token=k1Ty4tEi',
    partnersteamid: '76561198071555942',
    message: 'Thank you for your purchase!',
    webhook: 'https://your-webhook-url.com',
    ident: 'userid-xyz',
    host: 'your-host.com',
  },
}))

After the trade is accepted, the seller can confirm the sale — for example, with a button labeled “Confirm Sale” that triggers:

document.dispatchEvent(new CustomEvent('steamauth-runtime', {
  detail: {
    event: 'tradesent',
    webhook: 'https://your-webhook-url.com',
    ident: 'userid-xyz',
    host: 'your-host.com',
  },
}))

You can try the full P2P trading system at steamauth.app or see it live on skinpock.com. Download the SteamAuth Chrome Extension and test your inventory directly in the browser — including bypassing 10-day trade bans visually.