Skip to main content

GET /secure/inventory

Returns the Steam inventory for the account identified by the supplied tradeUrl. There is no client-authentication step on this path — the merchant API key authenticates the call, and the Steam account is derived per-request from the trade URL. Authentication: Merchant API Key (api-key header) Scope: CORE_ACCESS

Request

GET https://api.assetpay.gg/secure/inventory?tradeUrl=https%3A%2F%2Fsteamcommunity.com%2Ftradeoffer%2Fnew%2F%3Fpartner%3D12345%26token%3DABCDEFGH&game=730&page=1&limit=50
api-key: ap_...

Query Parameters

ParameterTypeDefaultDescription
tradeUrlstringRequiredThe Steam trade URL of the account whose inventory you want
gamestring730"730" (CS2) or "252490" (Rust)
refreshbooleanfalseForce-refresh upstream cache
searchstringFilter by item name (max 100 chars)
sortstringrelevance, priceAsc, priceDesc, nameAsc, or nameDesc
minPricenumberMinimum offer price in USD
maxPricenumberMaximum offer price in USD
pagenumber1Page number
limitnumber50Items per page (use -1 to disable pagination)

Response

Same shape as GET /client/inventory. Each item carries the offer block with the price AssetPay will pay if you call /secure/sell with that itemId.
{
  "requestId": "...",
  "success": true,
  "data": {
    "inventory": [
      {
        "id": "a1b2c3d4-...",
        "name": "AK-47 | Redline",
        "marketHashName": "AK-47 | Redline (Field-Tested)",
        "appid": 730,
        "tradable": true,
        "marketPrice": 12.50,
        "offer": {
          "price": 10.75,
          "reference": "12345678901",
          "accepted": true
        },
        "exterior": "Field-Tested",
        "wear": "0.25432",
        "stickers": []
      }
    ],
    "count": 47,
    "updatedAt": "2026-05-14T12:00:00.000Z",
    "collateral": 0
  }
}
collateral is always 0 for self-trade callers — instant credit isn’t applicable when the merchant is trading with itself. See the Instant Credit guide for the client-flow behavior.

Rate Limits

Merchant StatusLimit
Verified10,000 requests / min
Unverified100 requests / min

Errors

CodeKeyWhen
3INVENTORY_FETCH_FAILEDCouldn’t load the Steam inventory (private or banned)
7USER_NOT_TRADEABLESteam returned 403 — inventory private or account can’t trade
13INVALID_TRADEURLThe supplied tradeUrl is malformed
31STEAM_UNAVAILABLESteam temporarily couldn’t serve the request; retry shortly
33STEAM_RATE_LIMITEDSteam is rate-limiting inventory reads; retry shortly
1010NO_BOTS_AVAILABLENo Steam bots online; retry shortly
1011FLEET_DEGRADEDSteam fleet degraded; retry shortly