v1Open API

API Documentation

Browse the CS2 skin marketplace, purchase items, manage orders, and check wallet balance programmatically. All endpoints require API Token authentication.

Getting Started

Overview

The TradeStation Open API provides programmatic access to the CS2 skin marketplace. You can browse available inventory, execute purchases, track order status, manage your wallet, and receive order status events on your own endpoint through a RESTful JSON API.

Market

Browse skins & inventory

Catalog aggregates, then list in-stock items by hash name and filters.

Trade

Purchase items

Standard buy and quick-buy; optional price checks and idempotent keys.

Orders

Track order status

List orders with status filters and fetch a single order by number.

Payment

Accept skin deposits

Quote a Steam inventory, then create one offer for the selected items.

Wallet

Balance & transactions

Snapshot of balances plus paginated history of wallet movements.

Webhook

Receive events

Signed HTTPS delivery to your endpoint. Today: Payment order status changes.

Webhook deliveries share one set of rules — see Delivery Rules for keys, signature, and retries, and Webhook → Payment for which events we send, what triggers them, and what they carry.

Authentication

All requests must include your API token in the Authorization header. Tokens can be generated from your account dashboard.

Request header
Authorization: Token sst_a1b2c3d4e5f6...

Token format: sst_ prefix followed by 48 hex characters. The full token is only shown once at creation time — store it securely.

Base URL

Base URL
https://api.tradestation.gg/api/v1

All endpoint paths in this documentation are relative to this base URL.

Conventions

Response Format

Every response is wrapped in a standard envelope. The top-level code field uses TradeStation business status codes (not HTTP status codes).

Success response
{
  "code": 1000,
  "message": "ok",
  "data": { ... }
}
Error response
{
  "code": 3001,
  "message": "Item is not available",
  "data": null
}

For failed/cancelled/reversed orders, the response includes both the error code and the order data:

Error with data (order failure)
{
  "code": 5201,
  "message": "Item unavailable",
  "data": {
    "order_no": "T20260407143022849132",
    "status": "failed",
    "fail_code": 5201,
    ...
  }
}

Pagination

List endpoints use page-based pagination. Control with page and page_size query parameters.

Paginated response
{
  "code": 1000,
  "message": "ok",
  "count": 142,
  "page": 1,
  "page_size": 10,
  "total_pages": 15,
  "next": 2,
  "previous": null,
  "data": [ ... ]
}
pageintegerPage number (default: 1)
page_sizeintegerItems per page (default: 10, max: 100)
nextinteger | nullNext page number, null if last page
previousinteger | nullPrevious page number, null if first page

Rate Limiting

Requests are rate limited per user. Exceeding the limit returns HTTP 429 with code 9003. List and detail order endpoints share one limit; buy and quick-buy share another.

EndpointLimit
GET /market/catalog5 / minute
GET /market/items300 / minute
POST /market/items/batch60 / minute
GET /market/items/json5 / minute
POST /market/orders/buy300 / minute
POST /market/orders/quick-buy300 / minute
GET /market/orders300 / minute
GET /market/orders/{order_no}300 / minute
POST /market/orders/{order_no}/cancel60 / minute
POST /payment/inventory10 / second
POST /payment/inventory/list10 / second
POST /payment/orders10 / second
GET /payment/orders10 / second
GET /payment/orders/{order_no}10 / second
GET /wallet60 / minute
GET /wallet/transactions60 / minute

Status Codes

Business status codes are segmented by range. HTTP status codes are used conventionally (200, 201, 400, 401, 403, 404, 405, 429, 500, 503).

1xxx — Success

1000ok
1001Order already exists

3xxx — Buy Pre-validation

3001Item is not available
3006Too many active orders
3007Order is being processed, please try again
3008This external_order_no has already been used
3009Insufficient balance
3010Item price exceeds the specified max_price
3011This item requires manual-delivery purchase permission
3012trade_url is not registered in your manual-delivery whitelist

4xxx — Quick Buy Pre-validation

4001Quick buy is currently disabled
4002No available inventory for this item
4003No available items found within the price limit

5xxx — Order Lifecycle

5001Order not found
5002Order status does not allow this operation
5101Order cancelled
5102Trade offer expired
5201Item unavailable
5202Trade failed
5301Trade offer creation failed
5303Trade offer declined
5304Steam unavailable
5401Invalid trade URL
5402Steam account trade restricted
5403Steam inventory is private
5501Trade reversed on Steam

6xxx — Payment

6001Order not found
6002Invalid steam id format
6003Invalid trade token format
6004Invalid item format
6005Steam inventory is private
6006Steam account trade restricted
6007Item unavailable
6008Total is below the minimum
6009Invalid trade offer
6010Trade offer expired
6011Trade offer declined
6012Trade failed
6013Trade reversed on Steam
6014Inventory is outdated, fetch it again

9xxx — System

9001Authentication required
9002Permission denied
9003Rate limit exceeded
9004Invalid request body
9005Missing required parameter
9006Invalid parameter value
9008Method not allowed
9503Service temporarily unavailable, please retry shortly
9999Internal server error

Best Practices

Use external_order_no for idempotency

Always pass your own unique order reference. If a network error occurs mid-request, retrying with the same external_order_no will return the existing order (code 1001) instead of creating a duplicate.

Use max_price for price protection

Pass the listing price as max_price on buy or quick-buy if you want to reject repricing.

Poll order status for async fulfillment

Orders transition from created → pending → completed asynchronously. Poll GET /market/orders/{order_no} to track progress. Use exponential backoff starting from 5 seconds.

Reconcile in batches with external_order_no

To check many orders at once, pass a comma-separated list to GET /market/orders?external_order_no=a,b,c (up to 50 per request, with page_size=50). The response data holds the matched orders and a top-level not_found array lists references with no matching order — diff it against your input to reconcile efficiently instead of polling each order individually.

Handle 5xxx codes in order responses

Terminal order responses (failed/cancelled/reversed) return 5xxx codes at the top level. Check the code field before parsing data to handle failures gracefully.

Respect rate limits

If you receive code 9003, back off and retry after the indicated period. Persistent rate limiting violations may result in token revocation.

Bot

Auth Methods

The platform supports three bot authentication methods for establishing a Steam session. Choose one when creating or editing a bot. Submitted credentials do not appear in the list or detail views.

MethodHow to obtainLifetimeAfter expiry
CookiesBrowser developer tools~24 hoursRead and submit again
Refresh TokenAuto Fetch or SDA maFile~200 daysObtain and submit again
CredentialsAccount, password, and SDA maFileLong-livedSign in again if the session expires

Cookies

Sign in to https://steamcommunity.com with the target Steam account, then read steamLoginSecure from the browser developer tools. Cookies from store.steampowered.com cannot be used for binding.

Chrome

  1. 1
    Open https://steamcommunity.com and sign in with the target account.
  2. 2
    Open Developer Tools and select Network. Shortcut: F12 (macOS: ⌥⌘I). You can also open it from the menu: top-right ⋮ → More tools → Developer tools. On macOS, View → Developer → Developer Tools. Edge uses the same path; the menu is ⋯ → More tools → Developer tools.
  3. 3
    Reload the page so steamcommunity.com requests appear in the list.
  4. 4
    Select that document request and open Headers.
  5. 5
    In Request Headers, locate Cookie. Copy the full value, or copy only steamLoginSecure= and its value.
  6. 6
    When adding or editing a bot, select Cookies and paste the content. If you copied only the value, use this format:steamLoginSecure=<Value>

Firefox: Shortcut F12 (macOS: ⌥⌘I), or top-right ☰ → More tools → Web Developer Tools. On macOS, Tools → Browser Tools → Web Developer Tools. After it opens, read the Cookie from the Network panel the same way.

Safari: First enable Show features for web developers in Safari → Settings → Advanced, then press ⌥⌘I, or use Develop → Show Web Inspector. After it opens, read the Cookie from the Network panel the same way.

Cookies last about 24 hours. After they expire, submit a new value using the same steps.

Refresh Token

A refresh token establishes a renewable Steam session and lasts about 200 days. Obtain it via Auto Fetch, or read it from an SDA maFile.

Obtain via Auto Fetch

The account and password are used only to exchange a refresh token on the spot. The platform does not store them. Transmission is encrypted.

  1. 1
    When adding or editing a bot, select Refresh Token and switch to Auto Fetch. The proxy must already pass the connectivity test.
  2. 2
    Enter the Steam account and password, then click Continue.
  3. 3
    Enter the current Steam Guard code, then click Connect.
  4. 4
    After a successful sign-in, the page shows "Signed in as …". The text below it is the refresh token and can be submitted as-is.

Read from an SDA maFile

If this account has completed Login again in Steam Desktop Authenticator, Session.RefreshToken in the maFile is a usable refresh token.

  1. 1
    Open the matching {steamid}.maFile in the maFiles folder under the SDA directory.
  2. 2
    Copy the Session.RefreshToken value (usually starts with eyJ).
  3. 3
    When adding or editing a bot, select Refresh Token → Paste Token and enter the value.

If the field is missing, run Login again for that account in SDA, then reopen the file.

Credentials

Credentials require the Steam account, password, and a complete .maFile. The maFile is exported from Steam Desktop Authenticator (SDA). Download: SteamDesktopAuthenticator

  1. 1
    Follow the repository README and install SDA with git or GitHub Desktop (Windows).
  2. 2
    Add the account in SDA or import an existing authenticator. Record the revocation code and back up the maFiles folder.
  3. 3
    Open maFiles/{steamid}.maFile in a text editor and copy the entire contents.
  4. 4
    When adding or editing a bot, select Credentials, enter the account and password, and paste the full JSON into mafile. The file must include shared_secret.

The official Steam mobile authenticator cannot export a maFile. Credentials require the authenticator file generated by SDA.

Market

Overview

Market Endpoints Overview

Three complementary endpoints serve different use cases:

EndpointPurposeData freshness
/catalogFull-sync: aggregated min_price + count per skin~3–4 min snapshot
/itemsSingle skin: paginated item list with full detailsReal-time
/items/batchMulti-skin: top 5 cheapest items per skinReal-time
/items/jsonBulk download: full item list file. Scope requiredPeriodic refresh

Order Status Flow

Normal Flow
createdpendingcompleted
State Transitions
createdfailedPre-execution failure (item unavailable, insufficient balance, etc.)
pendingcancelledTrade offer expired or order cancelled
pendingfailedBuyer declined trade offer or technical failure
completedreversedCompleted trade reversed on Steam

Orders that are still waiting on buyer-side action (e.g. trade offer acceptance) will be automatically cancelled after 40 minutes. Make sure to accept the Steam trade offer within this window to avoid cancellation.

created

Order accepted, processing

pending

Trade offer sent, awaiting acceptance

completed

Trade completed successfully

failed

Trade failed permanently

cancelled

Cancelled (timeout or system)

reversed

Completed trade reversed on Steam

GET/market/catalog

Returns the aggregated overview of every skin with available inventory in a single response. Supports gzip compression and ETag revalidation for efficient full sync.

Response semantics

Unlike other Open API endpoints, this response is not wrapped in the standard envelope. The body is a gzip-compressed JSON object containing only the data array.

Response headers

Content-EncodingstringAlways gzip. Decompress before parsing JSON. Standard HTTP clients (curl --compressed, fetch, requests) handle this transparently.
ETagstringWeak ETag of the current snapshot, e.g. W/"a1b2c3...". Send back as If-None-Match on the next request to revalidate.
X-Snapshot-Built-AtstringUTC timestamp (seconds, ISO 8601, no timezone suffix) of when the snapshot was last rebuilt, e.g. 2026-04-25T10:30:00.
X-Snapshot-RowsintegerNumber of rows contained in the snapshot.
Cache-Controlstringprivate, max-age=30, must-revalidate — clients should hit the endpoint at most every 30 s and always revalidate via ETag.

Response fields (per item, after gzip decompress)

hash_namestringSteam market hash name
phasestringPhase variant (e.g. "Phase 2", "Ruby"). Empty for non-Doppler items.
min_pricedecimalLowest available price
countintegerNumber of items currently on sale for this skin
Decompressed body
{
  "data": [
    {
      "hash_name": "AK-47 | Redline (Field-Tested)",
      "phase": "",
      "min_price": "28.5000",
      "count": 12
    },
    {
      "hash_name": "★ Karambit | Doppler (Factory New)",
      "phase": "Phase 2",
      "min_price": "1523.0000",
      "count": 3
    }
  ]
}

ETag revalidation (recommended)

Cache the ETag from the last successful response and send it as If-None-Match on subsequent calls. When the snapshot is unchanged, the server returns HTTP 304 Not Modified with no body — keeping bandwidth flat and your local copy fresh.

GET/market/items

Returns all available listings sorted by price (lowest first), allowing you to compare and select the exact item to buy.

Query parameters

hash_namerequiredstringSteam market hash name (exact match)
phasestringFilter by phase (e.g. "Phase 1", "Sapphire")
price_maxdecimalMaximum price filter
float_maxdecimalMaximum float, from 0 to 1, at most 3 decimal places. Listings above this value are omitted. Listings with no float value are omitted too. Results stay sorted by price, lowest first.
delivery_typestringFilter by delivery type: auto (instant) or manual. Default returns both. Manual listings only appear if your account has manual-delivery access.
pageintegerPage number (default: 1)
page_sizeintegerItems per page (default: 10, max: 100)

Response fields (per item)

idintegerInventory item ID (use for purchase)
asset_idstring | nullSteam asset ID. 64-bit number returned as a string to preserve precision (exceeds JS Number.MAX_SAFE_INTEGER); may be null if not available for this item.
hash_namestringSteam market hash name
name_zhstringChinese name
phasestringPhase variant
pricedecimalSelling price (USD, 4 decimal places)
delivery_typestringauto (instant delivery) or manual (slower, manual delivery)
float_valuedecimal | nullFloat value (up to 18 decimal places)
paint_seedinteger | nullPaint seed
paint_indexinteger | nullPaint index
name_tagstringApplied name tag
stickersarrayApplied stickers
charmarrayAttached charms (keychain slot)
Example request
GET /api/v1/market/items?hash_name=Souvenir+Galil+AR+%7C+Green+Apple+(Factory+New)&float_max=0.07&page_size=2

Example rows are illustrative; IDs and stock change over time. stickers and charm entries do not include skin_id. Attachment objects use market_hash_name (English Steam name), slot/wear fields, and optional placement offsets depending on the item.

Example response
{
  "code": 1000,
  "message": "ok",
  "count": 11,
  "page": 1,
  "page_size": 2,
  "total_pages": 6,
  "next": 2,
  "previous": null,
  "data": [
    {
      "id": 40310,
      "asset_id": "47543634523534789",
      "hash_name": "Souvenir Galil AR | Green Apple (Factory New)",
      "name_zh": "加利尔AR(纪念品) | 绿苹果 (崭新出厂)",
      "phase": "",
      "price": "10.2500",
      "float_value": "0.034173440188169479",
      "paint_seed": 780,
      "paint_index": 294,
      "name_tag": "",
      "stickers": [
        {
          "market_hash_name": "Sticker | StarLadder (Gold) | Budapest 2025",
          "slot": 0,
          "wear": 0
        },
        {
          "market_hash_name": "Sticker | Train (Gold)",
          "slot": 2,
          "wear": 0
        },
        {
          "market_hash_name": "Sticker | Natus Vincere (Gold) | Budapest 2025",
          "slot": 1,
          "wear": 0
        },
        {
          "market_hash_name": "Sticker | FURIA (Gold) | Budapest 2025",
          "slot": 3,
          "wear": 0
        }
      ],
      "charm": [
        {
          "market_hash_name": "Souvenir Charm | Budapest 2025 Highlight | YEKINDAR vs Natus Vincere",
          "pattern": null
        }
      ]
    },
    {
      "id": 40311,
      "asset_id": "47543634523534812",
      "hash_name": "Souvenir Galil AR | Green Apple (Factory New)",
      "name_zh": "加利尔AR(纪念品) | 绿苹果 (崭新出厂)",
      "phase": "",
      "price": "10.2500",
      "float_value": "0.060612890869379043",
      "paint_seed": 803,
      "paint_index": 294,
      "name_tag": "",
      "stickers": [ ... ],
      "charm": [ ... ]
    }
  ]
}
POST/market/items/batch

Batch query multiple skins at once. Returns up to 5 lowest-priced items per skin. Useful for checking availability and pricing across many skins in a single request.

When to use

Use this endpoint when you need real-time prices for multiple skins simultaneously (e.g. refreshing a watchlist, comparing prices, or pre-checking stock before bulk purchases). Results reflect current listings.

Request body

itemsrequiredarrayArray of query objects (1–50 entries)
items[].hash_namerequiredstringSteam market hash name (exact match)
items[].phasestringOptional phase filter (e.g. "Phase 2", "Sapphire")

Optional query parameter delivery_type (auto / manual) filters all results by delivery type, same as List Items.

Response format

The data field is an object keyed by skin identifier. Each value is an array of up to 5 items sorted by price ascending. Skins not found or with no available stock return an empty array. Response key is hash_name when no phase is specified, or hash_name + phase (concatenated directly, no separator) when phase is present.

Item fields are identical to List Items: id, asset_id, hash_name, name_zh, phase, price, delivery_type, float_value, paint_seed, paint_index, name_tag, stickers, charm.

Example request
POST /api/v1/market/items/batch
Content-Type: application/json
Authorization: Token sst_a1b2c3d4e5f6...

{
  "items": [
    {"hash_name": "AK-47 | Redline (Field-Tested)"},
    {"hash_name": "★ Karambit | Doppler (Factory New)", "phase": "Phase 2"},
    {"hash_name": "Non-Existent Skin"}
  ]
}
Example response
{
  "code": 1000,
  "message": "ok",
  "data": {
    "AK-47 | Redline (Field-Tested)": [
      {
        "id": 12001,
        "asset_id": "47543634523534789",
        "hash_name": "AK-47 | Redline (Field-Tested)",
        "name_zh": "AK-47 | 红线 (久经沙场)",
        "phase": "",
        "price": "28.5000",
        "float_value": "0.256312847137451170",
        "paint_seed": 661,
        "paint_index": 282,
        "name_tag": "",
        "stickers": [],
        "charm": []
      },
      {
        "id": 12042,
        "asset_id": "47543634523534820",
        "hash_name": "AK-47 | Redline (Field-Tested)",
        "name_zh": "AK-47 | 红线 (久经沙场)",
        "phase": "",
        "price": "29.1200",
        "float_value": "0.180000000000000000",
        "paint_seed": 123,
        "paint_index": 282,
        "name_tag": "",
        "stickers": [ ... ],
        "charm": []
      }
    ],
    "★ Karambit | Doppler (Factory New)Phase 2": [
      {
        "id": 8821,
        "asset_id": "47543634523534931",
        "hash_name": "★ Karambit | Doppler (Factory New)",
        "name_zh": "★ 爪子刀 | 多普勒 (崭新出厂)",
        "phase": "Phase 2",
        "price": "1523.0000",
        "float_value": "0.008221340179443359",
        "paint_seed": 420,
        "paint_index": 418,
        "name_tag": "",
        "stickers": [],
        "charm": []
      }
    ],
    "Non-Existent Skin": []
  }
}
GET/market/items/json

Returns a download URL for the full available item list (gzip-compressed NDJSON, one JSON object per line).

Special permission required — contact an administrator to apply.

Response fields

download_urlstringURL to download the file. No auth header on this request.
expires_atstringWhen download_url expires (ISO 8601). Call this endpoint again for a new URL.

File line format

Decompress gzip, then read one JSON object per line. Fields match List Items (item_id instead of id; keychains instead of charm).

item_idintegerItem ID (use for purchase)
hash_namestringSteam market hash name
pricedecimalSelling price (USD)
phasestringPhase variant
float_valuedecimal | nullFloat value
stickersarray | nullApplied stickers
keychainsarray | nullApplied charms
Example request
GET /api/v1/market/items/json
Authorization: Token sst_a1b2c3d4e5f6...
Example response
{
  "code": 1000,
  "message": "ok",
  "data": {
    "download_url": "https://cdn.example.com/items/export.ndjson.gz?token=...",
    "expires_at": "2026-05-18T00:45:00"
  }
}
Sample line (after decompress)
{"item_id":12001,"hash_name":"AK-47 | Redline (Field-Tested)","phase":"","price":"28.5000","float_value":"0.256312847137451170","stickers":[],"keychains":[]}

If the file is not ready yet, the API returns 503 with Retry-After — wait and retry.

Python example
import gzip, json, requests

API  = "https://api.tradestation.gg/api/v1"
AUTH = {"Authorization": "Token sst_a1b2c3d4e5f6..."}

r = requests.get(f"{API}/market/items/json", headers=AUTH, timeout=30)
r.raise_for_status()
url = r.json()["data"]["download_url"]

with requests.get(url, stream=True, timeout=300) as resp:
    resp.raise_for_status()
    with gzip.GzipFile(fileobj=resp.raw) as gz:
        for line in gz:
            item = json.loads(line)
            # ...

Important: Asynchronous Fulfillment

Both buy and quick-buy are asynchronous operations. A successful response (code: 1000, status: "created") means the order has been accepted and the order amount is reserved — it does not mean the Steam trade offer has been sent yet. The system will attempt to send the trade offer in the background; the order will transition to pending once the offer is dispatched successfully.

Poll GET /market/orders/{order_no} to track fulfillment progress. Orders that remain unaccepted will be automatically cancelled after 40 minutes (default timeout).

POST/market/orders/buy

Purchase a specific inventory item by ID. The item will be delivered to your Steam trade URL.

Request body

item_idrequiredintegerInventory item ID (from market listing)
trade_urlrequiredstringSteam trade URL (https://steamcommunity.com/tradeoffer/new/?partner=...&token=...)
external_order_nostringYour order reference (max 64 chars, unique per user)
max_pricedecimalMax acceptable price; returns 3010 if exceeded

Buying a manual delivery item requires manual-delivery access on your account; otherwise the request returns 3011. If your account has any manual-delivery trade URLs registered, the trade_url must be one of them, or it returns 3012. If none are registered, any trade URL is accepted. Auto items are unaffected.

Idempotency

If a request with the same item_id (or same external_order_no) finds an existing active order, the API returns that order with code 1001 instead of creating a duplicate.

Example request
POST /api/v1/market/orders/buy
Content-Type: application/json
Authorization: Token sst_a1b2c3d4e5f6...

{
  "item_id": 4821,
  "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123456&token=AbCdEf",
  "external_order_no": "my-order-001",
  "max_price": "28.5000"
}
Success response (HTTP 201)
{
  "code": 1000,
  "message": "ok",
  "data": {
    "order_no": "T20260407143022849132",
    "external_order_no": "my-order-001",
    "status": "created",
    "price": "28.5000",
    "delivery_type": "auto",
    "steam_offer_id": "",
    "hash_name": "AK-47 | Redline (Field-Tested)",
    "name_zh": "AK-47 | 红线 (久经沙场)",
    "phase": "",
    "float_value": "0.256312847137451170",
    "paint_seed": 661,
    "paint_index": 282,
    "name_tag": "",
    "stickers": [...],
    "charm": [],
    "fail_code": null,
    "fail_reason_display": "",
    "created_at": "2026-04-07T14:30:22.849132Z",
    "completed_at": null,
    "reversible_until": null,
    "is_reversible": false
  }
}
Price exceeded (HTTP 400, code 3010)
{
  "code": 3010,
  "message": "Item price exceeds the specified max_price",
  "data": null
}
POST/market/orders/quick-buy

Purchase the lowest-priced available item for a given skin. Automatically selects the cheapest item.

Request body

hash_namerequiredstringSteam market hash name
trade_urlrequiredstringSteam trade URL
phasestringLimit to a specific phase
max_pricedecimalMax acceptable price; returns 4003 if no match
delivery_typestringNarrow selection: auto / manual / all (default all). Manual is only selected if your account has manual-delivery access. If manual-delivery trade URLs are registered, the trade_url must be one of them; if none are registered, any trade URL is accepted.
external_order_nostringYour order reference (max 64 chars)
Example request
POST /api/v1/market/orders/quick-buy
Content-Type: application/json
Authorization: Token sst_a1b2c3d4e5f6...

{
  "hash_name": "AK-47 | Redline (Field-Tested)",
  "trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=123456&token=AbCdEf",
  "max_price": "30.0000"
}

Response format is identical to the Buy Item endpoint.

GET/market/orders

Lists your orders with optional filtering by status, external order number, and date range. Ordered by creation time descending. Each row uses the same order object shape as GET /market/orders/{order_no} (nested skin metadata plus instance fields).

Query parameters

statusstringFilter by order status: created pending completed failed cancelled reversed
external_order_nostringFilter by your order reference. Comma-separated, up to 50. Multi-value queries include a not_found array for missing refs.
start_datestringStart date inclusive (ISO 8601 format: YYYY-MM-DD)
end_datestringEnd date inclusive (ISO 8601 format: YYYY-MM-DD)
pageintegerPage number (default: 1)
page_sizeintegerItems per page (default: 10, max: 100)

Date range cannot exceed 90 days. Both start_date and end_date are optional and can be used independently.

Response fields (per order)

order_nostringTradeStation order number
external_order_nostringYour external reference
statusstringOrder status
pricedecimalTransaction price
steam_offer_idstringSteam trade offer ID returned by the supplier on delivery. Present on successful orders; empty ("") for failed / not-yet-shipped orders. Distinct from the internal purchase order number.
hash_namestringSkin market hash name
name_zhstringChinese name
phasestringPhase variant
float_valuedecimal | nullItem float (this instance)
paint_seedinteger | nullItem paint seed
paint_indexinteger | nullItem paint index
name_tagstringApplied name tag on the item
stickersarrayApplied stickers (same format as market listings)
charmarrayCharms / keychain slot JSON
fail_codeinteger | nullFailure code (5xxx) if applicable
fail_reason_displaystringHuman-readable failure reason
created_atdatetimeISO 8601 timestamp
completed_atdatetime | nullCompletion time
reversible_untildatetime | nullReverse window cutoff (UTC). null if not completed.
is_reversiblebooleanWhether the order is currently within the reverse window.
Example request
GET /api/v1/market/orders?status=completed&page=1&page_size=10
Example response
{
  "code": 1000,
  "message": "ok",
  "count": 24,
  "page": 1,
  "page_size": 10,
  "total_pages": 3,
  "next": 2,
  "previous": null,
  "data": [
    {
      "order_no": "T20260415120000123456",
      "external_order_no": "inv-2026-0415-001",
      "status": "completed",
      "price": "28.5000",
      "delivery_type": "auto",
      "steam_offer_id": "7654321098",
      "hash_name": "AK-47 | Redline (Field-Tested)",
      "name_zh": "AK-47 | 红线 (久经沙场)",
      "phase": "",
      "float_value": "0.256312847137451170",
      "paint_seed": 661,
      "paint_index": 282,
      "name_tag": "",
      "stickers": [
        {
          "slot": 0,
          "wear": null,
          "market_hash_name": "Sticker | iBUYPOWER (Holo) | Katowice 2014",
          "offset_x": -0.08,
          "offset_y": 0.02,
          "rotation": null
        }
      ],
      "charm": [],
      "fail_code": null,
      "fail_reason_display": "",
      "created_at": "2026-04-15T10:12:03.123456Z",
      "completed_at": "2026-04-15T10:18:44.987654Z",
      "reversible_until": "2026-04-23T07:00:00Z",
      "is_reversible": true
    },
    {
      "order_no": "T20260415104500987654",
      "external_order_no": "",
      "status": "pending",
      "price": "120.7143",
      "steam_offer_id": "",
      "hash_name": "AWP | Chrome Cannon (Factory New)",
      "name_zh": "AWP | 镀铬大炮 (崭新出厂)",
      "phase": "",
      "float_value": "0.069282613694667820",
      "paint_seed": 946,
      "paint_index": 1170,
      "name_tag": "",
      "stickers": [ ... ],
      "charm": [ ... ],
      "fail_code": null,
      "fail_reason_display": "",
      "created_at": "2026-04-15T09:45:22.100000Z",
      "completed_at": null,
      "reversible_until": null,
      "is_reversible": false
    }
  ]
}
Example request (batch by external_order_no)
GET /api/v1/market/orders?external_order_no=inv-001,inv-002,inv-404&page_size=50
Example response (batch by external_order_no)
{
  "code": 1000,
  "message": "ok",
  "count": 2,
  "page": 1,
  "page_size": 50,
  "total_pages": 1,
  "next": null,
  "previous": null,
  "data": [
    { "order_no": "T20260415120000123456", "external_order_no": "inv-002", "status": "completed", ... },
    { "order_no": "T20260415104500987654", "external_order_no": "inv-001", "status": "pending", ... }
  ],
  "not_found": ["inv-404"]
}
GET/market/orders/{order_no}

Retrieve a single order. Response body matches one element from GET /market/orders (same fields and nesting).

Path parameters

order_norequiredstringOrder number or your external_order_no

Field list is identical to each object in the order list — same flat skin fields (hash_name, name_zh, phase) plus instance attributes (float_value, paint_*, name_tag, stickers, charm), and delivery_type (auto / manual).

For orders in terminal states (failed, cancelled, reversed), the top-level code will be the fail_code (5xxx) instead of 1000.

Example request (by order_no)
GET /api/v1/market/orders/T20260415120000123456
Example request (by external_order_no)
GET /api/v1/market/orders/inv-2026-0415-001
Example response (active / success)
{
  "code": 1000,
  "message": "ok",
  "data": {
    "order_no": "T20260415120000123456",
    "external_order_no": "inv-2026-0415-001",
    "status": "completed",
    "price": "28.5000",
    "delivery_type": "auto",
    "steam_offer_id": "7654321098",
    "hash_name": "AK-47 | Redline (Field-Tested)",
    "name_zh": "AK-47 | 红线 (久经沙场)",
    "phase": "",
    "float_value": "0.256312847137451170",
    "paint_seed": 661,
    "paint_index": 282,
    "name_tag": "",
    "stickers": [
      {
        "slot": 0,
        "wear": null,
        "market_hash_name": "Sticker | iBUYPOWER (Holo) | Katowice 2014",
        "offset_x": -0.08,
        "offset_y": 0.02,
        "rotation": null
      }
    ],
    "charm": [],
    "fail_code": null,
    "fail_reason_display": "",
    "created_at": "2026-04-15T10:12:03.123456Z",
    "completed_at": "2026-04-15T10:18:44.987654Z",
    "reversible_until": "2026-04-23T07:00:00Z",
    "is_reversible": true
  }
}

stickers / charm mirror the stored attachment JSON (same shapes as in List Items); empty arrays when none.

Example response (terminal: failed / cancelled / reversed)
{
  "code": 5201,
  "message": "Item unavailable",
  "data": {
    "order_no": "T20260414083000555666",
    "external_order_no": "",
    "status": "failed",
    "price": "15.0000",
    "steam_offer_id": "",
    "hash_name": "M4A4 | Howl (Field-Tested)",
    "name_zh": "M4A4 | 咆哮 (久经沙场)",
    "phase": "",
    "float_value": "0.180000000000000000",
    "paint_seed": 100,
    "paint_index": 419,
    "name_tag": "",
    "stickers": [],
    "charm": [],
    "fail_code": 5201,
    "fail_reason_display": "Item unavailable",
    "created_at": "2026-04-14T08:30:00.000000Z",
    "completed_at": null,
    "reversible_until": null,
    "is_reversible": false
  }
}
POST/market/orders/{order_no}/cancel

Request cancellation of a manual-delivery order that the seller has not shipped yet. The order stays pending until cancellation is confirmed.

Special permission required — contact an administrator to apply.

Path parameters

order_norequiredstringOrder number or your external_order_no

Only delivery_type=manual orders in pending status can be cancelled, no earlier than 30 minutes after creation and only before the seller ships. An accepted request returns 1000 with the order still pending; poll GET /market/orders/{order_no} for the final result. The order object matches Order Detail. Once confirmed the order becomes cancelled and the full amount is returned to your wallet. The confirmation code is fail_code=5101 (Order cancelled), except AssetPay orders, which confirm as fail_code=5102 (Trade offer expired) with the same full refund. If the seller ships first, the order completes normally. Repeating the request is safe; calling it on an already cancelled order returns that order with its fail_code.

A rejected request returns 5002. message is one of This order does not support cancellation, Order status does not allow this operation, Order can be cancelled 30 minutes after creation, or Order has been shipped and cannot be cancelled. Missing orders return 5001. A temporary failure returns 9503 and is safe to retry.

Example request
POST /api/v1/market/orders/T20260415120000123456/cancel
Authorization: Token sst_a1b2c3d4e5f6...
Example response (accepted)
{
  "code": 1000,
  "message": "ok",
  "data": {
    "order_no": "T20260415120000123456",
    "external_order_no": "inv-2026-0415-001",
    "status": "pending",
    "price": "28.5000",
    "delivery_type": "manual",
    "steam_offer_id": "",
    "hash_name": "AK-47 | Redline (Field-Tested)",
    "name_zh": "AK-47 | 红线 (久经沙场)",
    "phase": "",
    "float_value": "0.256312847137451170",
    "paint_seed": 661,
    "paint_index": 282,
    "name_tag": "",
    "stickers": [],
    "charm": [],
    "fail_code": null,
    "fail_reason_display": "",
    "created_at": "2026-04-15T10:12:03.123456Z",
    "completed_at": null,
    "reversible_until": null,
    "is_reversible": false
  }
}
Example response (rejected)
{
  "code": 5002,
  "message": "Order has been shipped and cannot be cancelled",
  "data": null
}

Payment

Overview

Payment reads a user's CS2 inventory and sends one Steam trade offer for the items you select. Amounts are USD strings with 4 decimal places. Times are UTC, second precision, with no timezone suffix. trade_token is never returned.

Special permission required — contact an administrator to apply.

Payment Endpoints Overview

EndpointPurposeLimit
POST /payment/inventoryQuote a user's CS2 inventory in USD10 / second
POST /payment/inventory/listQuote a list of items you send, without reading the inventory10 / second
POST /payment/ordersCreate an order and send one Steam offer10 / second
GET /payment/ordersList your payment orders10 / second
GET /payment/orders/{order_no}Read one of your orders10 / second

Order Status Flow

Normal Flow
createdpendingheldsuccess
State Transitions
createdfailedOffer could not be sent, or retries were exhausted
pendingcancelledWe cancelled the offer after the 10-minute accept window
pendingfailedThe offer was declined, canceled, countered, or expired on Steam
heldreversedThe accepted trade was reversed on Steam

A successful create often returns pending immediately, because the offer is sent in the same request. created means the offer is not out yet. Offers still open at offer_expires_at are cancelled after 10 minutes. After the user accepts, release_at is that time plus 7 days and 15 minutes. The amount stays in wallet held until success, then moves to available.

created

Order saved, offer not sent yet

pending

Offer sent, waiting for acceptance

held

Accepted. Amount stays in wallet held until release_at

success

Released from held to available

cancelled

We cancelled the offer after the accept window

failed

Offer failed before it was accepted

reversed

Accepted trade reversed on Steam

POST/payment/inventory

Read a user's CS2 inventory and return a USD price for each item, in one response. Items we accept come first, then tradable items, then higher prices. Skins we do not accept are omitted unless show_disabled is 1. 10 requests per second.

Request body

steam_idrequiredstringSteamID64
trade_tokenrequiredstringThe 8-character token from the user's trade URL
show_disabledinteger0 by default: omit skins we do not accept. 1 includes them, with disabled set to 1. Not-tradable skins we do accept are always returned

Response fields

currencystringAlways usd
excluded_countintegerHow many items in this response cannot be ordered now. Counted when disabled is 1, or when tradable is 0
inventoryarrayThe whole trade window in one array. Skins we do not accept are included only when show_disabled is 1. Order is accepted, then tradable, then price descending
inventory[].asset_idstringSteam asset id. A decimal string, because the value can exceed a JavaScript safe integer
inventory[].namestringSteam market hash name
inventory[].phasestringPhase we matched. Empty when the skin has no phase, or when we could not match one
inventory[].icon_urlstringSteam icon hash
inventory[].pricedecimal | nullUSD price with 4 decimal places. null when we do not accept the skin. A not-tradable item can still have a price
inventory[].tradableinteger1 when Steam will trade the item now, 0 otherwise
inventory[].disabledinteger1 when we do not accept the skin (unmatched, switched off, or no positive price). 0 when it has a price, even if it is not tradable yet
inventory[].stickersarrayApplied stickers. Each object has name and image
inventory[].keychainsarrayApplied charms. Same shape as stickers

6002, 6003, and 6004 are format errors: Steam ID, trade token, and items. 6003 is also returned when Steam rejects the trade link. 6005 is a private inventory. 6007 means the inventory is empty. Create Order uses the result of the latest successful call for 1 hour; a failed call clears it. 6006 means the account cannot trade. 6012 means we could not read the inventory. These return HTTP 400 and data: null.

Example request
POST /api/v1/payment/inventory
Content-Type: application/json
Authorization: Token sst_a1b2c3d4e5f6...

{
  "steam_id": "76561198117742847",
  "trade_token": "AbCdEf12",
  "show_disabled": 1
}
Example response
{
  "code": 1000,
  "message": "ok",
  "data": {
    "currency": "usd",
    "excluded_count": 1,
    "inventory": [
      {
        "asset_id": "4284666526576951869",
        "name": "AK-47 | Redline (Field-Tested)",
        "phase": "",
        "icon_url": "iconhash",
        "price": "10.0000",
        "tradable": 1,
        "disabled": 0,
        "stickers": [
          {
            "name": "OG | Paris 2023",
            "image": "https://cdn.example/sticker.png"
          }
        ],
        "keychains": []
      },
      {
        "asset_id": "4284666526576951870",
        "name": "AWP | Asiimov (Field-Tested)",
        "phase": "",
        "icon_url": "iconhash",
        "price": null,
        "tradable": 1,
        "disabled": 1,
        "stickers": [],
        "keychains": []
      }
    ]
  }
}
Private inventory (HTTP 400, code 6005)
{
  "code": 6005,
  "message": "Steam inventory is private",
  "data": null
}
POST/payment/inventory/list

Price a list of items you send, without reading the user's Steam inventory. Same response as Inventory. 10 requests per second, counted separately from Inventory.

Special permission required — contact an administrator to apply.

Each item is priced from the market_hash_name and phase you send. We do not open the user's inventory, and we do not check that an asset_id is really that skin or that it can be traded now. The order is settled at the price returned here, so send accurate data. Create Order uses the latest successful Inventory or Inventory List call for this steam_id, for 1 hour. A later call of either endpoint replaces the earlier prices.

Request body

steam_idrequiredstringSteamID64 of the account that holds the items
itemsrequiredarray1–1000 objects. asset_id values must be unique in the request
items[].asset_idrequiredstringSteam asset id, as a decimal string with no leading zero
items[].market_hash_namerequiredstringSteam market hash name
items[].phasestringRequired for phased skins such as Doppler and Gamma Doppler, for example Phase 2, Ruby, Sapphire, Black Pearl, or Emerald. Omit it, or send "", when the skin has no phase. A phased skin sent without its phase is not priced
show_disabledintegerSame as Inventory. 0 by default: omit items we do not accept. 1 includes them, with disabled set to 1

Response fields

Same fields, order, and filtering as Inventory. Because we do not read the inventory, name is the market_hash_name you sent, tradable is always 1, and stickers and keychains are always empty. icon_url is empty when we could not match the skin. An item is disabled when its name or phase did not match, or when we do not buy that skin; that is still HTTP 200.

A bad Steam ID returns 6002. An empty list, more than 1000 items, a duplicate asset_id, or a bad item returns 6004 and prices nothing. A bad show_disabled returns 9006. These return HTTP 400 and data: null.

Example request
POST /api/v1/payment/inventory/list
Content-Type: application/json
Authorization: Token sst_a1b2c3d4e5f6...

{
  "steam_id": "76561198117742847",
  "items": [
    {
      "asset_id": "4284666526576951869",
      "market_hash_name": "AK-47 | Redline (Field-Tested)"
    },
    {
      "asset_id": "4284666526576951871",
      "market_hash_name": "★ Karambit | Doppler (Factory New)",
      "phase": "Phase 2"
    },
    {
      "asset_id": "4284666526576951873",
      "market_hash_name": "★ Karambit | Doppler (Factory New)"
    }
  ],
  "show_disabled": 1
}
Example response
{
  "code": 1000,
  "message": "ok",
  "data": {
    "currency": "usd",
    "excluded_count": 1,
    "inventory": [
      {
        "asset_id": "4284666526576951871",
        "name": "★ Karambit | Doppler (Factory New)",
        "phase": "Phase 2",
        "icon_url": "iconhash",
        "price": "812.5000",
        "tradable": 1,
        "disabled": 0,
        "stickers": [],
        "keychains": []
      },
      {
        "asset_id": "4284666526576951869",
        "name": "AK-47 | Redline (Field-Tested)",
        "phase": "",
        "icon_url": "iconhash",
        "price": "10.0000",
        "tradable": 1,
        "disabled": 0,
        "stickers": [],
        "keychains": []
      },
      {
        "asset_id": "4284666526576951873",
        "name": "★ Karambit | Doppler (Factory New)",
        "phase": "",
        "icon_url": "",
        "price": null,
        "tradable": 1,
        "disabled": 1,
        "stickers": [],
        "keychains": []
      }
    ]
  }
}
POST/payment/orders

Create an order and send one Steam offer for every selected item in the same request. 10 requests per second. There is no separate offer endpoint.

Request body

steam_idrequiredstringSteamID64 of the account that holds the items
trade_tokenrequiredstring8-character trade token. Stored encrypted, never echoed
asset_idsrequiredarray1–100 asset_id values, as decimal strings, unique in the order. Each item must have a price on the latest Inventory or Inventory List call for this steam_id, and that call must be less than 1 hour old. Items from Inventory also need tradable set to 1. The order uses the price from that latest call. After the hour, quote again
external_order_nostringYour reference, max 64 characters, no comma. Omit it or send "" when you do not need idempotency
min_totaldecimalPositive, at most 4 decimal places. If the priced total is below this value, nothing is created and the API returns 6008

Idempotency

A repeated non-empty external_order_no for the same user returns the existing order with code 1001 and does not send another offer. The items in the new request are not compared. This still applies when that order is already failed or reversed. An empty reference does not deduplicate. If any asset_id is still on an item with status pending, the request returns 6007 and creates no order. After that item is removed or stocked, the same asset_id can be submitted again. 1001 still wins when the reference already exists.

Response fields

order_nostringPayment order number. Starts with P
external_order_nostringYour reference, or ""
statusstringcreated pending held success cancelled failed reversed. Create returns created, pending, or failed
steam_idstringSteamID64 from the request
amountdecimalSum of item prices, 4 decimal places
currencystringAlways usd
trade_offer_idstring | nullSteam trade offer id, once the offer has been sent
offer_expires_atdatetime | nullSet only while pending. This is when we cancel the offer if it is still open (10 minutes after created_at by default). It is not Steam's own expiry
release_atdatetime | nullnull until the offer is accepted. Then the accept time plus 7 days and 15 minutes. See Get Order
itemsarrayasset_id, name, phase, price, status (pending / stocked / removed)
fail_codeinteger | nullFailure code (6xxx) when the order is failed, cancelled, or reversed. null for created, pending, held, and success. The list envelope stays 1000; read this field on each row
fail_reason_displaystringMessage for fail_code. Empty string when there is no failure code
created_atdatetimeUTC, second precision

1000 with pending means the offer was sent. The same 1000 with created means the offer is not out yet; poll Get Order. A validation error that creates no row returns HTTP 400 and data: null: 6002, 6003, 6004, 6007, 6008, or 6014. 6014 means there is no Inventory result for this steam_id in the last hour. 6007 also covers an asset_id that the latest Inventory call did not return with a price, or returned as not tradable. A permanent offer failure also returns HTTP 400, with the failed order in data: 6003, 6005, 6006, 6007, or 6012 after retries are exhausted.

Example request
POST /api/v1/payment/orders
Content-Type: application/json
Authorization: Token sst_a1b2c3d4e5f6...

{
  "steam_id": "76561198117742847",
  "trade_token": "AbCdEf12",
  "external_order_no": "merchant-1001",
  "min_total": "1.0000",
  "asset_ids": ["4284666526576951869"]
}
Offer sent (HTTP 200, code 1000)
{
  "code": 1000,
  "message": "ok",
  "data": {
    "order_no": "P20261018154400123456",
    "external_order_no": "merchant-1001",
    "status": "pending",
    "steam_id": "76561198117742847",
    "amount": "10.0000",
    "currency": "usd",
    "trade_offer_id": "6828703963",
    "offer_expires_at": "2026-10-18T07:54:00",
    "release_at": null,
    "items": [
      {
        "asset_id": "4284666526576951869",
        "name": "AK-47 | Redline (Field-Tested)",
        "phase": "",
        "price": "10.0000",
        "status": "pending"
      }
    ],
    "fail_code": null,
    "fail_reason_display": "",
    "created_at": "2026-10-18T07:44:00"
  }
}
Item unavailable (HTTP 400, code 6007)
{
  "code": 6007,
  "message": "Item unavailable",
  "data": null
}
GET/payment/orders

Lists your payment orders, newest first. Each row uses the same object as Get Order, including items, fail_code, and fail_reason_display. The envelope code stays 1000. 10 requests per second.

Query parameters

statusstringcreated pending held success failed cancelled reversed
external_order_nostringYour reference. Comma-separated, up to 50. When more than one is sent, the response includes not_found for references this account does not have
start_datestringInclusive UTC date, YYYY-MM-DD
end_datestringInclusive UTC date, YYYY-MM-DD. The span cannot exceed 90 days
pageintegerPage number, default 1
page_sizeintegerDefault 10, maximum 100

An unknown status, a bad date, or more than 50 references returns HTTP 400 and 9006. The list does not change orders or reprice them.

Example request
GET /api/v1/payment/orders?status=held&page=1&page_size=10
Authorization: Token sst_a1b2c3d4e5f6...
Example response
{
  "code": 1000,
  "message": "ok",
  "count": 1,
  "page": 1,
  "page_size": 10,
  "total_pages": 1,
  "next": null,
  "previous": null,
  "data": [
    {
      "order_no": "P20261018074400123456",
      "external_order_no": "merchant-1001",
      "status": "held",
      "steam_id": "76561198117742847",
      "amount": "10.0000",
      "currency": "usd",
      "trade_offer_id": "8687761234",
      "offer_expires_at": null,
      "release_at": "2026-10-25T07:59:00",
      "items": [
        {
          "asset_id": "4284666526576951869",
          "name": "AK-47 | Redline (Field-Tested)",
          "phase": "",
          "price": "10.0000",
          "status": "pending"
        }
      ],
      "fail_code": null,
      "fail_reason_display": "",
      "created_at": "2026-10-18T07:44:00"
    }
  ]
}
GET/payment/orders/{order_no}

Read one of your payment orders. The path accepts order_no, or your external_order_no when it is not an order number. Reading an order does not change it or reprice it. 10 requests per second.

Path parameters

order_norequiredstringOrder number, or your external_order_no. The order number is tried first

The data object matches Create Order. created, pending, held, and success return 1000. A missing order, including another user's order, is HTTP 404 and 6001.

When the user accepts the offer, status becomes held and amount is added to wallet held. release_at is that accept time plus 7 days and 15 minutes. Item status stays pending until the order succeeds. At release_at, if the trade was not reversed and the items were received, the order becomes success, items become stocked, and the amount moves from held to available.

A failed, cancelled, or reversed order returns HTTP 200 and the stored code, with the order in data. 6010 with cancelled means the offer expired: we cancelled it at offer_expires_at, or Steam had already ended it. 6011 means the offer was declined, including a counter-offer and a cancel from mobile or email confirmation. 6009 means the offer ended invalid, including items that were no longer valid. 6013 with reversed means the accepted trade was reversed on Steam. 6003, 6005, 6006, 6007, and 6012 mean the offer was never accepted. Item status is removed on failed, cancelled, and reversed.

Example request (by order_no)
GET /api/v1/payment/orders/P20261018154400123456
Authorization: Token sst_a1b2c3d4e5f6...
Example request (by external_order_no)
GET /api/v1/payment/orders/merchant-1001
Authorization: Token sst_a1b2c3d4e5f6...
Example response (held)
{
  "code": 1000,
  "message": "ok",
  "data": {
    "order_no": "P20261018154400123456",
    "external_order_no": "merchant-1001",
    "status": "held",
    "steam_id": "76561198117742847",
    "amount": "10.0000",
    "currency": "usd",
    "trade_offer_id": "6828703963",
    "offer_expires_at": null,
    "release_at": "2026-10-25T07:59:00",
    "items": [
      {
        "asset_id": "4284666526576951869",
        "name": "AK-47 | Redline (Field-Tested)",
        "phase": "",
        "price": "10.0000",
        "status": "pending"
      }
    ],
    "fail_code": null,
    "fail_reason_display": "",
    "created_at": "2026-10-18T07:44:00"
  }
}
Cancelled order (HTTP 200, code 6010)
{
  "code": 6010,
  "message": "Trade offer expired",
  "data": {
    "order_no": "P20261018154400123456",
    "external_order_no": "merchant-1001",
    "status": "cancelled",
    "steam_id": "76561198117742847",
    "amount": "10.0000",
    "currency": "usd",
    "trade_offer_id": "6828703963",
    "offer_expires_at": null,
    "release_at": null,
    "items": [
      {
        "asset_id": "4284666526576951869",
        "name": "AK-47 | Redline (Field-Tested)",
        "phase": "",
        "price": "10.0000",
        "status": "removed"
      }
    ],
    "fail_code": 6010,
    "fail_reason_display": "Trade offer expired",
    "created_at": "2026-10-18T07:44:00"
  }
}
Order not found (HTTP 404, code 6001)
{
  "code": 6001,
  "message": "Order not found",
  "data": null
}

Wallet

GET/wallet

Returns your current wallet balance.

Response fields

currencystringWallet currency (always USD)
availabledecimalAvailable balance — can be used for trading and withdrawal
helddecimalBalance included in tradable total but not yet withdrawable
frozendecimalBalance reserved for active orders
totaldecimalTotal balance (available + held + frozen)
tradabledecimalTradable balance (available + held)
withdrawabledecimalWithdrawable balance (available only)
statusstringWallet status: active or frozen
updated_atdatetimeLast balance update time (ISO 8601)
Example response
{
  "code": 1000,
  "message": "ok",
  "data": {
    "currency": "USD",
    "available": "8997.868000",
    "held": "0.000000",
    "frozen": "1.066000",
    "total": "8998.934000",
    "tradable": "8997.868000",
    "withdrawable": "8997.868000",
    "status": "active",
    "updated_at": "2026-04-14T16:18:46.915184Z"
  }
}
GET/wallet/transactions

Lists your wallet transactions in reverse chronological order. Supports filtering by type and date range.

Query parameters

tx_typestringFilter by transaction type: deposit withdraw trade_freeze trade_unfreeze trade_pay trade_income adjustment transfer_in transfer_out etc.
start_datestringStart date inclusive (ISO 8601 format: YYYY-MM-DD)
end_datestringEnd date inclusive (ISO 8601 format: YYYY-MM-DD)
pageintegerPage number (default: 1)
page_sizeintegerItems per page (default: 100, max: 100)

Date range cannot exceed 31 days. If only start_date is provided, end date defaults to start + 31 days (or today). If only end_date is provided, start date defaults to end − 31 days.

Response fields (per transaction)

tx_nostringTransaction reference number
tx_typestringTransaction type
amountdecimalChange amount (positive = credit, negative = debit)
balance_beforedecimalAvailable balance before this transaction
held_beforedecimalHeld balance before this transaction
frozen_beforedecimalFrozen balance before this transaction
balance_afterdecimalAvailable balance after this transaction
held_afterdecimalHeld balance after this transaction
frozen_afterdecimalFrozen balance after this transaction
biz_typestringBusiness type (e.g. trade_freeze, adjustment)
biz_idstringRelated business reference (e.g. order number)
created_atdatetimeTransaction time (ISO 8601)
Example request
GET /api/v1/wallet/transactions?start_date=2026-04-01&end_date=2026-04-14&page_size=2
Example response
{
  "code": 1000,
  "message": "ok",
  "count": 15,
  "page": 1,
  "page_size": 2,
  "total_pages": 8,
  "next": 2,
  "previous": null,
  "data": [
    {
      "tx_no": "WT2026041479108331",
      "tx_type": "trade_unfreeze",
      "amount": "1.660500",
      "balance_before": "8996.207500",
      "held_before": "0.000000",
      "frozen_before": "2.726500",
      "balance_after": "8997.868000",
      "held_after": "0.000000",
      "frozen_after": "1.066000",
      "biz_type": "trade_unfreeze",
      "biz_id": "T20260414154317644080",
      "created_at": "2026-04-14T16:18:46.917017Z"
    },
    {
      "tx_no": "WT2026041433429418",
      "tx_type": "trade_freeze",
      "amount": "-1.660500",
      "balance_before": "8997.868000",
      "held_before": "0.000000",
      "frozen_before": "1.066000",
      "balance_after": "8996.207500",
      "held_after": "0.000000",
      "frozen_after": "2.726500",
      "biz_type": "trade_freeze",
      "biz_id": "T20260414154317644080",
      "created_at": "2026-04-14T15:43:17.378123Z"
    }
  ]
}

Webhook

Overview

Webhook pushes events to a URL you own, so you do not have to poll. You register one HTTPS endpoint per account on Settings → Webhook, and every delivery is a signed JSON POST.

Delivery Rules is the contract shared by every event: keys, signature, envelope, retries, and the Settings card. Events are then grouped by product. Today only Payment sends events; other products will get their own group here.

Pages

PageCovers
Delivery RulesEndpoint registration, keys, signature, envelope, retries
PaymentPayment order events, what triggers each one, and payload

Delivery Rules

Register one HTTPS endpoint per account on Settings → Webhook. Saving, changing, removing, and sending a test ask for a 2FA code when 2FA is on. Every delivery is a signed JSON POST, and this page covers what is common to all of them: keys, signature, envelope, and retries. Which events each product sends, and what payload holds, is in that product's group, for example Payment.

Keys

Platform public keyPEMShown on the Settings card. Use it to verify every delivery. The matching private key stays on our side. You do not need any key of your own

Signature

Algorithm is RSA-SHA256 (SHA256withRSA). The signature is Base64. The signed text is the X-Webhook-Timestamp header, a newline, then the raw body bytes. Reject a request whose timestamp is more than 5 minutes from your clock. A changed body or signature must fail verification.

X-Webhook-IdheaderDelivery id. Retries of the same event reuse it. Deduplicate on this value
X-Webhook-TimestampheaderUnix time in seconds, UTC
X-Webhook-SignatureheaderBase64 RSA-SHA256 signature of timestamp + newline + raw body, made with the platform private key

Envelope

Every delivery has these four top-level fields, whatever the event.

delivery_idstringSame value as X-Webhook-Id
event_typestringEvent name, prefixed with the product, for example payment.order.held. The Settings test sends webhook.test. Ignore names you do not handle
occurred_atstringWhen the event happened, UTC. If events arrive out of order, keep the newer occurred_at, or read the resource again
payloadobjectEvent data. Its shape is set by the event, see Payment Payload

Delivery

HTTP 2xx means delivered. Anything else, including a timeout, is retried after 10 seconds, 30 seconds, 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, 8 hours, and 12 hours. That is 12 attempts including the first. After that we stop and alert our operators. A failed delivery does not change the resource it describes or the wallet. Return 2xx only after you have stored the event.

Settings card

The card matches the Settings prototype: empty state with a URL field, saved state with the URL and the platform public key. Actions are Save, Send test, and Remove. HTTPS only. Credentials in the URL, and local or private addresses, are rejected. Send test posts webhook.test once, shows the status code or the error, and does not retry. At most 6 tests per minute.

Payment

Payment sends one event each time a Payment order enters a new status. Keys and signing, the envelope, and retries are on Delivery Rules.

Order Events

event_typestatusTriggered when
payment.order.offer_sentpendingOur bot has sent the Steam trade offer. trade_offer_id and offer_expires_at are set
payment.order.heldheldThe user accepted the offer. The amount is added to your wallet as held until release_at
payment.order.completedsuccessrelease_at has passed, the trade was not rolled back, and the items are on our bot. The held amount moves to your available balance
payment.order.failedfailedThe offer could not be sent after retries, or the user declined or countered it, or Steam marked it invalid (for example the items left the inventory). A counter-offer is declined for you. See fail_code
payment.order.cancelledcancelledThe offer expired or was cancelled on Steam, or it was not accepted in time and we cancelled it
payment.order.reversedreversedThe user rolled the trade back before release_at. The held amount is taken back and nothing is credited
  • A new order in created is not sent.
  • Status changes on Steam are picked up by our periodic checks, so an event can arrive some time after the user acts on Steam.
  • An order that fails right after create is sent as failed, and that POST can arrive before the create response. Match it on external_order_no.
  • Events from before you saved a URL are not replayed. Order of arrival is not guaranteed.

Payload

payload is the same order object as Get Order, captured at the moment of the status change. All six events use this same shape; tell them apart by event_type or status. It carries no trade token and no receiving account.

Example payment.order.held delivery
POST https://your-domain.com/webhooks/tradestation
Content-Type: application/json
X-Webhook-Id: 6f1c0b7e-2a4d-4e1a-9c3b-8d5e7f1a2b30
X-Webhook-Timestamp: 1763000000
X-Webhook-Signature: <base64 RSA-SHA256>

{
  "delivery_id": "6f1c0b7e-2a4d-4e1a-9c3b-8d5e7f1a2b30",
  "event_type": "payment.order.held",
  "occurred_at": "2026-11-13T03:00:00Z",
  "payload": {
    "order_no": "P20261113030000123456",
    "external_order_no": "merchant-1001",
    "status": "held",
    "steam_id": "76561198117742847",
    "amount": "10.0000",
    "currency": "usd",
    "trade_offer_id": "6828703963",
    "offer_expires_at": null,
    "release_at": "2026-11-20T03:15:00",
    "items": [
      {
        "asset_id": "4284666526576951869",
        "name": "AK-47 | Redline (Field-Tested)",
        "phase": "",
        "price": "10.0000",
        "status": "pending"
      }
    ],
    "fail_code": null,
    "fail_reason_display": "",
    "created_at": "2026-11-13T02:55:00"
  }
}