Instant sell status
One instant sell by the deposit_id returned when it was created. TRADE_PENDING means we are waiting for you to accept the trade offer, and TRADE_FAILED means the offer was declined, expired or cancelled, so nothing changed hands and nothing is paid. PAYMENT_PENDING means the trade went through and your payout is being processed, which can take some time, and SUCCESS means it is in your balance. PAYMENT_FAILED means the trade went through but the payout could not be completed: contact support. Poll this until status settles at SUCCESS, TRADE_FAILED or PAYMENT_FAILED. Fails with INSTANT_SELL_NOT_FOUND if the deposit is not one of your instant sells.
Authorization
apiKey API key generated from your account settings on the website. Send as Authorization: Bearer csd_....
In: header
Path Parameters
Deposit id
Response Body
application/json
curl -X GET "https://example.com/public/v1/instant-sell/0"{ "instant_sell_id": 1, "deposit_id": 1, "status": "TRADE_PENDING", "payout": -9007199254740991, "method": "balance", "created_at": "2019-08-24T14:15:22Z"}Your Steam inventory for instant sell GET
Your Rust Steam inventory, priced for instant sell. Only Rust is supported for now, so `app_id` must be `252490`. `instant_sell_price` is what we pay per copy right now, in cents. `available_stock` is how many more copies of that item we will take, or `null` when we have no price for it. Rows with a `disabled_reason` cannot be instant sold right now: `NOT_TRADABLE` (Steam is holding the item), `DISABLED` (we are not buying it), `OVERSTOCKED` (we already hold enough) or `UNSTABLE_PRICE` (no reliable price right now). Each row carries a `token` for `POST /public/v1/instant-sell`; these tokens only work for instant sell, not `POST /public/v1/sell`, and expire after 30 minutes. One row is one Steam stack, and `amount` is how many copies its `token` covers. This reads live from Steam, so it is heavily rate-limited: fetch once, then sell.
Instant sell from Steam POST
Sells items from your Steam inventory to us at a fixed price. `items` holds `token`s from `GET /public/v1/instant-sell/inventory` with how many copies of each to sell, up to each row's `amount`. The response `payout` is the total we will pay, in cents, and is fixed from this point; it goes to your balance once the trade completes. We send you one Steam trade offer for the items: accept it within 5 minutes, otherwise it is cancelled and the sale fails. An offer may carry at most 500 copies in total (`DEPOSIT_ITEM_LIMIT`), you may have at most 15 trades in flight (`ACTIVE_TRADE_LIMIT`), and asking for more copies of an item than its `available_stock` fails with `INSTANT_SELL_STOCK_LIMIT`. When the call fails, nothing is created and no offer is sent. Poll `GET /public/v1/instant-sell/:deposit_id` with the response `deposit_id` to follow the sale.