{"openapi":"3.1.0","info":{"title":"SupplySkins Buy API","description":"Buy CS2 items from SupplySkins stock over HTTPS. You see live stock with **your** final price, place an order, and the\nitem is delivered to the Steam trade URL you specify.\n\n## Basics\n\n- Base URL: `https://api.supplyskins.com` — every path starts with `/v1`. HTTPS only.\n- JSON in UTF-8. Time is ISO 8601 UTC with `Z`. IDs are strings.\n- **Money is USD** — a number with up to two decimals: `\"price\": 82.3` means $82.30. Prices you send (`price`,\n  `max_price`, `price_from`, `price_to`) are USD too.\n- New fields may be added to responses at any time; treat unknown fields as optional. Breaking changes go to `/v2`.\n\n## Authentication\n\nSend your API key in every request: `Authorization: Bearer smk_<prefix>_<secret>`. Keys are issued by SupplySkins\nsupport (or in your SupplySkins dashboard) and the full key is shown **once** — store it as a secret. Every key is\nbound to an IP allowlist — 1 to 32 IPv4 / IPv6 addresses or CIDR subnets of your servers (no wider than IPv4 `/8` or\nIPv6 `/32`, so never `0.0.0.0/0`); requests from other addresses get `403 IP_NOT_ALLOWED`, a key without an allowlist\ngets `403 IP_ALLOWLIST_REQUIRED`. A key carries scopes:\n\n| Scope | Grants |\n|---|---|\n| `items:read` | `/v1/items`, `/v1/items/cheapest`, `/v1/items/full`, `/v1/items/{item_id}` |\n| `orders:write` | `POST /v1/orders`, `POST /v1/orders/{order_id}/cancel` |\n| `orders:read` | `GET /v1/orders*`, `/v1/webhook-events*` |\n| `balance:read` | `/v1/balance`, `/v1/balance/history` |\n\n`GET /v1/health` needs no key.\n\n## Rate limits\n\nPer key, sliding 60-second window. Defaults (may be adjusted for your key):\n\n| Endpoints | Requests per minute |\n|---|---|\n| `GET /v1/items*` | 120 |\n| `POST /v1/orders` | 30 |\n| everything else | 60 |\n\nEvery keyed response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (unix seconds).\nOver the limit you get `429 RATE_LIMITED` with `Retry-After` (seconds).\n\nOrder safeguards (defaults): up to **20 active orders** at a time (`429 TOO_MANY_ACTIVE_ORDERS`) and up to **3 active\norders per recipient** of a trade URL (`429 RECIPIENT_BUSY`); both wait `Retry-After` or until an order finishes; after **3 failed trades in a row** to the same recipient (declined, expired or not\naccepted in time) new orders to that recipient are blocked for 1 hour (`409 TRADE_URL_BLOCKED`). The recipient is the\nSteam user in the trade URL; both rules apply across all buyers to protect the owner of the trade URL.\n\n## How to buy\n\n1. Find what you want: `GET /v1/items/cheapest` (the cheapest item of every name, or of one name with\n   `market_hash_name`) or `GET /v1/items` (every concrete item with its float). Each physical item is listed once:\n   when the same item (same name, phase and float) is offered by several stock sources, you get only its cheapest\n   copy.\n2. Buy with `POST /v1/orders` — either a specific item (`item_id` with the `price` you saw) or, in one request, the\n   cheapest item by name at or below `max_price`.\n3. Follow the order with `GET /v1/orders/{order_id}` or webhooks until it is final.\n4. Changed your mind before the offer is accepted? `POST /v1/orders/{order_id}/cancel` — the order closes as\n   `cancelled` (`cancel_reason: by_buyer`) and the price returns to your balance.\n\n`custom_id` is optional: your own order number. Repeating a request with the same `custom_id` and body never buys\ntwice — you get `200` and the existing order; the same `custom_id` with a different body is rejected with\n`409 DUPLICATE_CUSTOM_ID`. Look an order up by it with `GET /v1/orders/by-custom-id/{custom_id}`. How long a trade\noffer waits for acceptance is set by SupplySkins (`deadline_at` of the order).\n\n**Always send `custom_id`.** If `POST /v1/orders` gives you no JSON answer — a timeout, a dropped connection or a\n`502` / `504` page from the edge — the order may already be placed. Repeat the same request with the same `custom_id`\n(or look it up by `custom_id`): you get the order, never a second purchase. Without `custom_id`, check\n`GET /v1/orders` before buying again.\n\n## Order lifecycle\n\n```\nactive ──► success ──► completed\n   │           └─────► reversed\n   └─────► cancelled\n```\n\n| Order `status` | Meaning |\n|---|---|\n| `active` | Order accepted; the price is reserved on your balance; the Steam trade offer is being sent or waits for acceptance until `deadline_at`. |\n| `success` | Offer accepted: the item is in the recipient's inventory under **Steam trade protection** until `trade.protected_until`. **Not final.** |\n| `completed` | Protection ended; the deal is final. |\n| `reversed` | The trade was rolled back during protection: `refunded` returned to your available balance, `penalty` withheld. Final. |\n| `cancelled` | The trade did not happen; the full price returned to your available balance; see `cancel_reason`. Final. |\n\nTrade `status` (the `trade` object, `null` until the offer is queued): `queued` → `sent` (Steam offer id known) →\n`accepted` (under protection) → `confirmed` (protection ended) or `rollback`; unsuccessful offers end as `declined`,\n`cancelled` or `expired`. There are no automatic second attempts: after `cancelled`, place a new order.\n\n`cancel_reason`: `timeout` (not accepted before `deadline_at`), `trade_expired`, `trade_declined`, `trade_countered`\n(the recipient sent a counter-offer), `trade_cancelled`, `partner_cancelled` (cancelled by the delivery side),\n`invalid_trade_url`, `inventory_private`, `trade_ban` (the recipient cannot trade), `item_unavailable`,\n`price_changed` (the price went up before the purchase, see `current_price`), `insufficient_funds`, `system_error`;\nthe last two enum values mean the order was cancelled by SupplySkins support or by you.\n\n`trade.rollback_by` (only for `rollback`): `buyer` — you rolled the trade back; the other value — SupplySkins did (the\nside that sent the item, whoever's stock it comes from). `penalty_pct` — the rollback penalty in % of the order price:\nfor `reversed` the share actually withheld, otherwise the rate that applies now (currently 0 — no penalty).\n\n## Syncing and caching\n\n- Lists use cursors: pass `next_cursor` back as `cursor`; `null` means the end.\n- To sync changes, pass `updated_since=<server_time of your previous response>` (`server_time` is 60 s in the past, so\n  windows overlap and nothing is missed).\n- `/v1/items/full` and `/v1/items/cheapest` return an `ETag`; send it back in `If-None-Match` to get\n  `304 Not Modified`.\n  Large responses are gzip-compressed when you send `Accept-Encoding: gzip`.\n- Poll a single order at most once every 10 seconds; prefer webhooks.\n\n## Stock sources\n\nSupplySkins stock comes from several sources. Every item carries `source_id` — a permanent number of its source (the\nsource's name is not disclosed). Choose whose stock you take with parameters of the item requests:\n\n- `sources=1,2` — only items of these sources;\n- `exclude_sources=3` — every source but these.\n\nBoth take comma-separated ids (up to 50) on `GET /v1/items`, `/v1/items/cheapest` and `/v1/items/full`, and arrays\n(`\"sources\": [1, 2]`) in the body of `POST /v1/orders` by name; they can be combined. Keep the same values while\nfollowing a cursor; each combination has its own `ETag`. An unknown id is not an error. A malformed value returns\n`422 INVALID_SOURCES` / `422 INVALID_EXCLUDE`.\n\n## Errors\n\nEvery error is `{\"error\": {\"code\": \"...\", \"message\": \"...\"}}` with extra fields for some codes. Branch on `code`;\n`message` is human-readable and may change.\n\n| HTTP | `code` | When |\n|---|---|---|\n| 401 | `UNAUTHORIZED` | Missing, invalid or revoked API key. |\n| 402 | `INSUFFICIENT_BALANCE` | Available balance is below the price (`available`, `required`). |\n| 403 | `IP_ALLOWLIST_REQUIRED` | The key has no IP allowlist. Every key must list the IPs of your servers; issue a new key. |\n| 403 | `IP_NOT_ALLOWED` | Request IP is not in the key's allowlist. |\n| 403 | `MERCHANT_SUSPENDED` | Your API access is suspended. |\n| 403 | `FORBIDDEN_SCOPE` | The key lacks the scope for this endpoint. |\n| 404 | `NOT_FOUND` | Item, order or event does not exist or is not available to you. |\n| 409 | `PRICE_CHANGED` | The item's price differs from `price` or exceeds `max_price` (`current_price`); or an external stock source raised the price at purchase time (nothing is charged; `current_price` when known). |\n| 409 | `ITEM_UNAVAILABLE` | The item is sold, in a trade or not for sale (also when an external stock source refused it at purchase time); by name — nothing at or below `max_price`. |\n| 409 | `DUPLICATE_CUSTOM_ID` | `custom_id` was already used with a different body. |\n| 409 | `ORDER_NOT_CANCELLABLE` | The order is final or its trade offer was already accepted (`order_status`). |\n| 409 | `TRADE_URL_BLOCKED` | Too many failed trades to this recipient; retry after `blocked_until` / `Retry-After`. |\n| 422 | `INVALID_PARAMETER` | Invalid parameter or body; `fields` maps each parameter to the problem. |\n| 422 | `INVALID_EXCLUDE` | `exclude_sources` is not a list of up to 50 positive integer ids. |\n| 422 | `INVALID_SOURCES` | `sources` is not a list of up to 50 positive integer ids. |\n| 422 | `INVALID_TRADE_URL` | The trade URL is malformed or points to a SupplySkins trading bot. |\n| 429 | `RATE_LIMITED` | Requests-per-minute limit of the key; wait `Retry-After` seconds. |\n| 429 | `TOO_MANY_ACTIVE_ORDERS` | Too many of your orders are `active` at once; wait until some finish (`Retry-After`). |\n| 429 | `RECIPIENT_BUSY` | Too many `active` orders to this trade URL recipient; wait until some finish (`Retry-After`). |\n| 503 | `NOT_ENABLED` | The API is not enabled yet. |\n| 503 | `SERVICE_UNAVAILABLE` | New orders are temporarily paused (maintenance); reads still work. `Retry-After`. |\n\n## Webhooks\n\nWe `POST` an event to your HTTPS endpoint on every order transition and on balance deposits. The endpoint URL, the\nevent subscription and the signing secret are set up through SupplySkins support (or in your SupplySkins dashboard),\nnot through this API. Event bodies, headers and signature verification are described in the **Webhooks** section.\n\n- Signature: `X-SS-Signature` = hex HMAC-SHA256(your endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify on\n  the raw bytes with a constant-time comparison and reject requests whose `X-SS-Timestamp` is more than 300 seconds\n  away from your clock.\n- Answer any `2xx` within 10 seconds. Otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts), then\n  mark the event `failed`; redirects are not followed. You can resend an event with\n  `POST /v1/webhook-events/{event_id}/resend`.\n- `event_id` is stable across retries — deduplicate by it. Delivery order is not guaranteed: compare `data.status`\n  and `occurred_at`.\n\n```python\nimport hashlib, hmac, time\n\ndef verify(secret: str, headers, raw_body: bytes, tolerance: int = 300) -> bool:\n    ts, sig = headers.get(\"X-SS-Timestamp\", \"\"), headers.get(\"X-SS-Signature\", \"\")\n    if not ts.isdigit() or abs(time.time() - int(ts)) > tolerance:\n        return False\n    expected = hmac.new(secret.encode(), ts.encode() + b\".\" + raw_body, hashlib.sha256).hexdigest()\n    return hmac.compare_digest(expected, sig)\n```\n\n## Support\n\nQuestions, API keys and webhook setup: SupplySkins support, https://supplyskins.com.\n","contact":{"name":"SupplySkins Support","url":"https://supplyskins.com/"},"version":"1.0.0"},"servers":[{"url":"https://api.supplyskins.com","description":"Production"}],"paths":{"/v1/health":{"get":{"tags":["System"],"summary":"Service health","description":"Returns `ok: true` when the service is up. No API key and no rate limit; works even before the API is enabled for you.","operationId":"getHealth","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"},"example":{"ok":true,"server_time":"2026-10-25T09:41:00Z"}}}},"503":{"description":"The service is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"},"example":{"ok":false,"server_time":"2026-10-25T09:41:00Z"}}}}},"security":[]}},"/v1/items":{"get":{"tags":["Items"],"summary":"List items","description":"Live items available to you with your final `price` (USD), page by page — each one a concrete item you can buy by `item_id`. Sorting is stable; a page may be shorter than `limit` and still have `next_cursor` — keep following the cursor until it is `null`. For incremental sync pass `updated_since` (then items that are gone come back with `available: false`). Scope `items:read`.","operationId":"listItems","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"`next_cursor` from the previous page (same `sort`)"},"description":"`next_cursor` from the previous page (same `sort`)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Page size","examples":[100],"default":100},"description":"Page size"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"description":"Substring of `market_hash_name`, case-insensitive","examples":["redline"]},"description":"Substring of `market_hash_name`, case-insensitive"},{"name":"market_hash_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"description":"Exact `market_hash_name`","examples":["AK-47 | Redline (Field-Tested)"]},"description":"Exact `market_hash_name`"},{"name":"phase","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}],"description":"Doppler / Gamma Doppler phase","examples":["Phase 2"]},"description":"Doppler / Gamma Doppler phase"},{"name":"price_from","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Lowest price, USD","examples":[10]},"description":"Lowest price, USD"},{"name":"price_to","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Highest price, USD","examples":[50]},"description":"Highest price, USD"},{"name":"float_min","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"description":"Lowest float","examples":[0.15]},"description":"Lowest float"},{"name":"float_max","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"description":"Highest float","examples":[0.38]},"description":"Highest float"},{"name":"updated_since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Only items changed at or after this moment (UTC), including gone ones with `available: false`; use `server_time` of the previous response","examples":["2026-10-25T09:40:15Z"]},"description":"Only items changed at or after this moment (UTC), including gone ones with `available: false`; use `server_time` of the previous response"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(updated_desc|price_asc|price_desc)$","description":"`updated_desc` (default), `price_asc` or `price_desc`","examples":["price_asc"],"default":"updated_desc"},"description":"`updated_desc` (default), `price_asc` or `price_desc`"},{"name":"exclude_sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"Skip items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `3`; an unknown id is ignored; a malformed value — `422 INVALID_EXCLUDE`","examples":["2,5"]},"description":"Skip items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `3`; an unknown id is ignored; a malformed value — `422 INVALID_EXCLUDE`"},{"name":"sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"Only items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `1,2`; can be combined with `exclude_sources`; an unknown id is ignored; a malformed value — `422 INVALID_SOURCES`","examples":["1,2"]},"description":"Only items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `1,2`; can be combined with `exclude_sources`; an unknown id is ignored; a malformed value — `422 INVALID_SOURCES`"}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemsPage"},"example":{"items":[{"item_id":"184233","source_id":1,"app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","price":15.5,"currency":"USD","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","stickers":null,"inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812","image_url":"https://community.cloudflare.steamstatic.com/economy/image/<image-hash>/360fx360f","tradable_at":null,"available":true,"updated_at":"2026-10-25T09:40:12Z","delivery_type":"instant","delivery_minutes":null}],"next_cursor":"eyJzIjoicHJpY2VfYXNjIiwiayI6MTU1MCwiaSI6MTg0MjMzfQ","server_time":"2026-10-25T09:40:15Z"}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem; `INVALID_EXCLUDE` — `exclude_sources` is not a list of up to 50 positive integer source ids; `INVALID_SOURCES` — `sources` is not a list of up to 50 positive integer source ids","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}},"INVALID_EXCLUDE":{"summary":"INVALID_EXCLUDE","value":{"error":{"code":"INVALID_EXCLUDE","message":"Invalid request parameters.","fields":{"exclude_sources":"comma-separated source ids, integers > 0, at most 50"}}}},"INVALID_SOURCES":{"summary":"INVALID_SOURCES","value":{"error":{"code":"INVALID_SOURCES","message":"Invalid request parameters.","fields":{"sources":"comma-separated source ids, integers > 0, at most 50"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/items/full":{"get":{"tags":["Items"],"summary":"The whole stock","description":"All items available to you in one response (USD). Rebuilt at most once every 60 s; send the `ETag` back in `If-None-Match` to get `304` when nothing changed. Use `Accept-Encoding: gzip`. After the snapshot, poll `GET /v1/items?updated_since=<server_time>` for deltas. Scope `items:read`.","operationId":"getItemsFull","parameters":[{"name":"exclude_sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"Skip items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `3`; an unknown id is ignored; a malformed value — `422 INVALID_EXCLUDE`","examples":["2,5"]},"description":"Skip items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `3`; an unknown id is ignored; a malformed value — `422 INVALID_EXCLUDE`"},{"name":"sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"Only items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `1,2`; can be combined with `exclude_sources`; an unknown id is ignored; a malformed value — `422 INVALID_SOURCES`","examples":["1,2"]},"description":"Only items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `1,2`; can be combined with `exclude_sources`; an unknown id is ignored; a malformed value — `422 INVALID_SOURCES`"},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"},"description":"`ETag` of a previous response; if unchanged, the answer is `304` with an empty body.","example":"\"9f2c1b7a4e5d6c3b\""}],"responses":{"200":{"description":"The whole stock; `ETag` header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshot"},"example":{"items":[{"item_id":"184233","source_id":1,"app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","price":15.5,"currency":"USD","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","stickers":null,"inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812","image_url":"https://community.cloudflare.steamstatic.com/economy/image/<image-hash>/360fx360f","tradable_at":null,"available":true,"updated_at":"2026-10-25T09:40:12Z","delivery_type":"instant","delivery_minutes":null}],"count":1,"generated_at":"2026-10-25T09:41:00Z","server_time":"2026-10-25T09:40:00Z"}}},"headers":{"ETag":{"schema":{"type":"string"},"description":"Entity tag"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"304":{"description":"Not Modified: `If-None-Match` matches the current `ETag`; the body is empty.","headers":{"ETag":{"schema":{"type":"string"},"description":"Current entity tag."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_EXCLUDE` — `exclude_sources` is not a list of up to 50 positive integer source ids; `INVALID_SOURCES` — `sources` is not a list of up to 50 positive integer source ids","content":{"application/json":{"examples":{"INVALID_EXCLUDE":{"summary":"INVALID_EXCLUDE","value":{"error":{"code":"INVALID_EXCLUDE","message":"Invalid request parameters.","fields":{"exclude_sources":"comma-separated source ids, integers > 0, at most 50"}}}},"INVALID_SOURCES":{"summary":"INVALID_SOURCES","value":{"error":{"code":"INVALID_SOURCES","message":"Invalid request parameters.","fields":{"sources":"comma-separated source ids, integers > 0, at most 50"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/items/cheapest":{"get":{"tags":["Items"],"summary":"Cheapest items","description":"The cheapest item of every name: one row per (`market_hash_name`, `phase`) with your lowest price (USD), how many items are available and the cheapest `item_id` — buy it with `POST /v1/orders`. The same items and prices as `/v1/items`. Find one name with `market_hash_name`, a part of a name with `search`. Price filters apply to the row's lowest price. JSON or CSV (`format=csv`); rebuilt at most once every 60 s; supports `ETag` / `If-None-Match` and gzip. Scope `items:read`.","operationId":"getCheapest","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"description":"Substring of `market_hash_name`, case-insensitive","examples":["doppler"]},"description":"Substring of `market_hash_name`, case-insensitive"},{"name":"market_hash_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"description":"Exact `market_hash_name`","examples":["AK-47 | Redline (Field-Tested)"]},"description":"Exact `market_hash_name`"},{"name":"price_from","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Lowest row price, USD","examples":[10]},"description":"Lowest row price, USD"},{"name":"price_to","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Highest row price, USD","examples":[500]},"description":"Highest row price, USD"},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|csv)$","description":"`json` (default) or `csv`","examples":["csv"],"default":"json"},"description":"`json` (default) or `csv`"},{"name":"exclude_sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"Skip items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `3`; an unknown id is ignored; a malformed value — `422 INVALID_EXCLUDE`","examples":["2,5"]},"description":"Skip items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `3`; an unknown id is ignored; a malformed value — `422 INVALID_EXCLUDE`"},{"name":"sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"Only items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `1,2`; can be combined with `exclude_sources`; an unknown id is ignored; a malformed value — `422 INVALID_SOURCES`","examples":["1,2"]},"description":"Only items of these stock sources: comma-separated `source_id`s (up to 50), e.g. `1,2`; can be combined with `exclude_sources`; an unknown id is ignored; a malformed value — `422 INVALID_SOURCES`"},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"},"description":"`ETag` of a previous response; if unchanged, the answer is `304` with an empty body.","example":"\"9f2c1b7a4e5d6c3b\""}],"responses":{"200":{"description":"JSON, or CSV with `format=csv`; `ETag` header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheapestPage"},"example":{"items":[{"market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":15.5,"count":12,"cheapest_item_id":"184233","cheapest_float":0.2661,"image_url":"https://community.cloudflare.steamstatic.com/economy/image/<image-hash>/360fx360f"}],"generated_at":"2026-10-25T09:41:00Z","count":1}},"text/csv":{"schema":{"type":"string"},"example":"market_hash_name,phase,min_price,count,cheapest_item_id,cheapest_float,image_url,priced_at\nAK-47 | Redline (Field-Tested),,15.5,12,184233,0.2661,https://community.cloudflare.steamstatic.com/economy/image/…/360fx360f,2026-10-25T09:40:12Z\n"}},"headers":{"ETag":{"schema":{"type":"string"},"description":"Entity tag"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"304":{"description":"Not Modified: `If-None-Match` matches the current `ETag`; the body is empty.","headers":{"ETag":{"schema":{"type":"string"},"description":"Current entity tag."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem; `INVALID_EXCLUDE` — `exclude_sources` is not a list of up to 50 positive integer source ids; `INVALID_SOURCES` — `sources` is not a list of up to 50 positive integer source ids","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}},"INVALID_EXCLUDE":{"summary":"INVALID_EXCLUDE","value":{"error":{"code":"INVALID_EXCLUDE","message":"Invalid request parameters.","fields":{"exclude_sources":"comma-separated source ids, integers > 0, at most 50"}}}},"INVALID_SOURCES":{"summary":"INVALID_SOURCES","value":{"error":{"code":"INVALID_SOURCES","message":"Invalid request parameters.","fields":{"sources":"comma-separated source ids, integers > 0, at most 50"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/items/{item_id}":{"get":{"tags":["Items"],"summary":"Get an item","description":"One item with your price. An item that is gone or in a trade is returned with `available: false`; an item that is not available to you — `404 NOT_FOUND`. Scope `items:read`.","operationId":"getItem","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","maxLength":20,"pattern":"^p?[1-9][0-9]{0,18}$","description":"Item id from /v1/items: \"184233\" or \"p77\"","examples":["184233"]},"description":"Item id from /v1/items: \"184233\" or \"p77\""}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicItem"},"example":{"item_id":"184233","source_id":1,"app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","price":15.5,"currency":"USD","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","stickers":null,"inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812","image_url":"https://community.cloudflare.steamstatic.com/economy/image/<image-hash>/360fx360f","tradable_at":null,"available":true,"updated_at":"2026-10-25T09:40:12Z","delivery_type":"instant","delivery_minutes":null}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`NOT_FOUND` — does not exist or is not available to you","content":{"application/json":{"examples":{"NOT_FOUND":{"summary":"NOT_FOUND","value":{"error":{"code":"NOT_FOUND","message":"Not found."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/balance":{"get":{"tags":["Balance"],"summary":"Get balance","description":"In USD: `available` — available to spend; `reserved` — reserved by your active orders; `hold` — proceeds of your own sales still under Steam trade protection. Scope `balance:read`.","operationId":"getBalance","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Balance"},"example":{"available":2500,"reserved":15.5,"hold":0,"currency":"USD","as_of":"2026-10-25T09:41:09Z"}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"Requests allowed per 60-second window for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when a slot frees up.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}}}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}}}}}},"security":[{"ApiKey":[]}]}},"/v1/orders":{"post":{"tags":["Orders"],"summary":"Buy an item","description":"Two ways to buy, one request. **A specific item:** `item_id` from `/v1/items` with `price` (the price you saw; if it changed — `409 PRICE_CHANGED` with `current_price`) or `max_price` (a ceiling; the actual price is charged). **The cheapest by name:** `market_hash_name` (and `phase`) with `max_price` — the cheapest available item at or below it is bought, two concurrent requests never get the same item; `sources` / `exclude_sources` choose stock sources. The price is reserved on your balance, the order starts as `active` and the Steam trade offer is sent within seconds; how long it waits for acceptance is set by SupplySkins (`deadline_at`). If an external stock source refuses the item at purchase time you get `409 PRICE_CHANGED` / `409 ITEM_UNAVAILABLE` and nothing is charged (by name — the next item at or below `max_price` is tried). `custom_id` is optional: repeating the request with it is safe (`200` with the existing order). Scope `orders:write`.","operationId":"createOrder","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreate"},"examples":{"item":{"summary":"A specific item at the price you saw","value":{"item_id":"184233","price":15.5,"trade_url":"https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=AbCdEfGh"}},"ceiling":{"summary":"A specific item with a price ceiling and your order number","value":{"item_id":"184233","max_price":16,"custom_id":"shop-7781","trade_url":"https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=AbCdEfGh"}},"by_name":{"summary":"The cheapest AK-47 | Redline (Field-Tested) up to $16.00","value":{"market_hash_name":"AK-47 | Redline (Field-Tested)","max_price":16,"trade_url":"https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=AbCdEfGh"}},"doppler":{"summary":"The cheapest Doppler of a phase","value":{"market_hash_name":"★ Karambit | Doppler (Factory New)","phase":"Phase 2","max_price":950,"trade_url":"https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=AbCdEfGh"}},"sources":{"summary":"The cheapest by name from stock sources 1 and 2 only","value":{"market_hash_name":"AK-47 | Redline (Field-Tested)","max_price":16,"sources":[1,2],"trade_url":"https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=AbCdEfGh"}}}}}},"responses":{"200":{"description":"Repeat with the same `custom_id` and the same body: the existing order in its current status.","content":{"application/json":{"example":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"success","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"accepted","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null},"schema":{"$ref":"#/components/schemas/PublicOrder"}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"201":{"description":"Order created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrder"},"example":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"active","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":null,"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"`INSUFFICIENT_BALANCE` — available balance is below the price; `available`, `required`","content":{"application/json":{"examples":{"INSUFFICIENT_BALANCE":{"summary":"INSUFFICIENT_BALANCE","value":{"error":{"code":"INSUFFICIENT_BALANCE","message":"Available balance is below the item price.","available":9,"required":15.5}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`NOT_FOUND` — does not exist or is not available to you","content":{"application/json":{"examples":{"NOT_FOUND":{"summary":"NOT_FOUND","value":{"error":{"code":"NOT_FOUND","message":"Not found."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`PRICE_CHANGED` — price differs from `price` or exceeds `max_price`, or the stock source raised it at purchase time; `current_price` (when known); `ITEM_UNAVAILABLE` — item sold, in a trade or not for sale (or refused by the stock source at purchase time); `DUPLICATE_CUSTOM_ID` — `custom_id` already used with a different body; `TRADE_URL_BLOCKED` — too many failed trades to this recipient; `blocked_until`, `Retry-After`","content":{"application/json":{"examples":{"PRICE_CHANGED":{"summary":"PRICE_CHANGED","value":{"error":{"code":"PRICE_CHANGED","message":"The item price has changed.","current_price":15.8}}},"ITEM_UNAVAILABLE":{"summary":"ITEM_UNAVAILABLE","value":{"error":{"code":"ITEM_UNAVAILABLE","message":"The item is not available for purchase."}}},"DUPLICATE_CUSTOM_ID":{"summary":"DUPLICATE_CUSTOM_ID","value":{"error":{"code":"DUPLICATE_CUSTOM_ID","message":"custom_id was already used with a different request body."}}},"TRADE_URL_BLOCKED":{"summary":"TRADE_URL_BLOCKED","value":{"error":{"code":"TRADE_URL_BLOCKED","message":"3 failed trades in a row to this recipient: new orders are blocked for 1 hour.","blocked_until":"2026-10-25T10:41:03Z"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying (TRADE_URL_BLOCKED, SERVICE_UNAVAILABLE)."}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem; `INVALID_TRADE_URL` — malformed trade URL or a URL of a SupplySkins trading bot; `INVALID_EXCLUDE` — `exclude_sources` is not a list of up to 50 positive integer source ids; `INVALID_SOURCES` — `sources` is not a list of up to 50 positive integer source ids","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}},"INVALID_TRADE_URL":{"summary":"INVALID_TRADE_URL","value":{"error":{"code":"INVALID_TRADE_URL","message":"The trade URL is invalid."}}},"INVALID_EXCLUDE":{"summary":"INVALID_EXCLUDE","value":{"error":{"code":"INVALID_EXCLUDE","message":"Invalid request parameters.","fields":{"exclude_sources":"comma-separated source ids, integers > 0, at most 50"}}}},"INVALID_SOURCES":{"summary":"INVALID_SOURCES","value":{"error":{"code":"INVALID_SOURCES","message":"Invalid request parameters.","fields":{"sources":"comma-separated source ids, integers > 0, at most 50"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds; `TOO_MANY_ACTIVE_ORDERS` — too many of your orders are active at once; `Retry-After`; `RECIPIENT_BUSY` — too many active orders to this trade URL recipient; `Retry-After`","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}},"TOO_MANY_ACTIVE_ORDERS":{"summary":"TOO_MANY_ACTIVE_ORDERS","value":{"error":{"code":"TOO_MANY_ACTIVE_ORDERS","message":"Up to 20 active orders at a time: wait for the current ones to finish."}}},"RECIPIENT_BUSY":{"summary":"RECIPIENT_BUSY","value":{"error":{"code":"RECIPIENT_BUSY","message":"Up to 3 active orders per trade URL recipient."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet; `SERVICE_UNAVAILABLE` — new orders are temporarily paused; `Retry-After`","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}},"SERVICE_UNAVAILABLE":{"summary":"SERVICE_UNAVAILABLE","value":{"error":{"code":"SERVICE_UNAVAILABLE","message":"New orders are temporarily paused."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying (TRADE_URL_BLOCKED, SERVICE_UNAVAILABLE)."}}}},"security":[{"ApiKey":[]}]},"get":{"tags":["Orders"],"summary":"List orders","description":"Your orders, newest first, page by page. To sync, pass `updated_since=<server_time of the previous response>`: you get every order whose status or trade changed since then. Scope `orders:read`.","operationId":"listOrders","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter by status; repeat the parameter for several: `?status=active&status=success`. One of: active, success, completed, reversed, cancelled","examples":[["active","success"]]},"description":"Filter by status; repeat the parameter for several: `?status=active&status=success`. One of: active, success, completed, reversed, cancelled"},{"name":"created_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Created at or after (UTC)","examples":["2026-10-01T00:00:00Z"]},"description":"Created at or after (UTC)"},{"name":"created_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Created before (UTC)","examples":["2026-11-01T00:00:00Z"]},"description":"Created before (UTC)"},{"name":"updated_since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"The order or its trade changed at or after this moment (UTC)","examples":["2026-10-25T09:44:00Z"]},"description":"The order or its trade changed at or after this moment (UTC)"},{"name":"custom_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}],"description":"Your `custom_id`","examples":["shop-7781"]},"description":"Your `custom_id`"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"`next_cursor` from the previous page"},"description":"`next_cursor` from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Page size","examples":[100],"default":100},"description":"Page size"}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrdersPage"},"example":{"orders":[{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"success","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"accepted","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}],"next_cursor":null,"server_time":"2026-10-25T09:44:00Z"}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/orders/{order_id}/cancel":{"post":{"tags":["Orders"],"summary":"Cancel an order","description":"Cancels your `active` order whose trade offer is not accepted yet. The answer is `202`: the order closes within about a minute — `cancelled` with `cancel_reason: by_buyer`, the full price returns to your available balance and the `order.cancelled` webhook is sent. If the offer is already out, it is withdrawn in Steam first; an offer accepted meanwhile cannot be undone (the order then goes on to `success`). A final order or an accepted offer — `409 ORDER_NOT_CANCELLABLE`. Repeating the request is safe. Scope `orders:write`.","operationId":"cancelOrder","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":32,"description":"`order_id` from the order","examples":["6d734b447e1346b4afd750087b120045"]},"description":"`order_id` from the order"}],"responses":{"202":{"description":"Cancellation requested.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelAccepted"},"example":{"order_id":"6d734b447e1346b4afd750087b120045","status":"active","cancel":"requested"}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`NOT_FOUND` — does not exist or is not available to you","content":{"application/json":{"examples":{"NOT_FOUND":{"summary":"NOT_FOUND","value":{"error":{"code":"NOT_FOUND","message":"Not found."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`ORDER_NOT_CANCELLABLE` — the order is final or its offer was already accepted; `order_status`","content":{"application/json":{"examples":{"ORDER_NOT_CANCELLABLE":{"summary":"ORDER_NOT_CANCELLABLE","value":{"error":{"code":"ORDER_NOT_CANCELLABLE","message":"The order can no longer be cancelled.","order_status":"success"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/orders/by-custom-id/{custom_id}":{"get":{"tags":["Orders"],"summary":"Get an order by custom_id","description":"The order you created with this `custom_id` — useful after a network error on `POST /v1/orders`. Unknown id — `404 NOT_FOUND`. Scope `orders:read`.","operationId":"getOrderByCustomId","parameters":[{"name":"custom_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_.-]{1,64}$","description":"Your `custom_id`","examples":["shop-7781"]},"description":"Your `custom_id`"}],"responses":{"200":{"description":"The order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrder"},"examples":{"active":{"summary":"Just created","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"active","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":null,"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}},"success":{"summary":"Offer accepted, under trade protection","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"success","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"accepted","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}},"cancelled":{"summary":"Cancelled: recipient declined the offer","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"cancelled","cancel_reason":"trade_declined","item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"declined","sent_at":"2026-10-25T09:41:12Z","accepted_at":null,"protected_until":null,"rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":"2026-10-25T09:45:31Z"}},"reversed":{"summary":"Reversed during trade protection","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"reversed","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"rollback","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":"2026-10-27T18:02:44Z","rollback_by":"buyer"},"refunded":10.85,"penalty":4.65,"penalty_pct":30,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":"2026-10-27T18:05:00Z"}}}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`NOT_FOUND` — does not exist or is not available to you","content":{"application/json":{"examples":{"NOT_FOUND":{"summary":"NOT_FOUND","value":{"error":{"code":"NOT_FOUND","message":"Not found."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/orders/{order_id}":{"get":{"tags":["Orders"],"summary":"Get an order","description":"Current state of an order and its Steam trade. Poll at most once every 10 seconds (prefer webhooks). An unknown order — `404 NOT_FOUND`. Scope `orders:read`.","operationId":"getOrder","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":32,"description":"`order_id` from the order","examples":["6d734b447e1346b4afd750087b120045"]},"description":"`order_id` from the order"}],"responses":{"200":{"description":"The order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrder"},"examples":{"active":{"summary":"Just created","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"active","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":null,"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}},"success":{"summary":"Offer accepted, under trade protection","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"success","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"accepted","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}},"cancelled":{"summary":"Cancelled: recipient declined the offer","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"cancelled","cancel_reason":"trade_declined","item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"declined","sent_at":"2026-10-25T09:41:12Z","accepted_at":null,"protected_until":null,"rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":"2026-10-25T09:45:31Z"}},"reversed":{"summary":"Reversed during trade protection","value":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"reversed","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"rollback","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":"2026-10-27T18:02:44Z","rollback_by":"buyer"},"refunded":10.85,"penalty":4.65,"penalty_pct":30,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":"2026-10-27T18:05:00Z"}}}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`NOT_FOUND` — does not exist or is not available to you","content":{"application/json":{"examples":{"NOT_FOUND":{"summary":"NOT_FOUND","value":{"error":{"code":"NOT_FOUND","message":"Not found."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/webhook-events":{"get":{"tags":["Webhooks"],"summary":"List webhook events","description":"Log of events sent (or to be sent) to your webhook endpoint, newest first: delivery status, attempts, last HTTP status and the exact body. Scope `orders:read`.","operationId":"listWebhookEvents","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["pending","delivered","failed"],"type":"string"},{"type":"null"}],"description":"Delivery status","examples":["failed"]},"description":"Delivery status"},{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"enum":["order.created","order.trade_sent","order.success","order.completed","order.reversed","order.cancelled","balance.deposited","webhook.test"],"type":"string"},{"type":"null"}],"description":"Event name","examples":["order.success"]},"description":"Event name"},{"name":"created_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Logged at or after (UTC)","examples":["2026-10-25T00:00:00Z"]},"description":"Logged at or after (UTC)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"description":"`next_cursor` from the previous page"},"description":"`next_cursor` from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Page size","examples":[50],"default":50},"description":"Page size"}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEventsPage"},"example":{"events":[{"event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","event":"order.success","status":"delivered","attempts":1,"last_status_code":200,"last_error":null,"last_attempt_at":"2026-10-25T09:43:11Z","next_attempt_at":null,"delivered_at":"2026-10-25T09:43:11Z","occurred_at":"2026-10-25T09:43:10Z","created_at":"2026-10-25T09:43:10Z","payload":{"event":"order.success","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"success","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"accepted","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}}}],"next_cursor":null}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/webhook-events/{event_id}/resend":{"post":{"tags":["Webhooks"],"summary":"Resend a webhook event","description":"Queues the event for delivery again: the same `event_id` and body, attempts start from zero, the retry schedule restarts. An unknown event — `404 NOT_FOUND`. Scope `orders:read`.","operationId":"resendWebhookEvent","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":32,"description":"`event_id` of the event","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"description":"`event_id` of the event"}],"responses":{"202":{"description":"Queued for delivery.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEventRow"},"example":{"event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","event":"order.success","status":"pending","attempts":0,"last_status_code":200,"last_error":null,"last_attempt_at":"2026-10-25T09:43:11Z","next_attempt_at":"2026-10-25T09:50:00Z","delivered_at":null,"occurred_at":"2026-10-25T09:43:10Z","created_at":"2026-10-25T09:43:10Z","payload":{"event":"order.success","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"success","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"accepted","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}}}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`NOT_FOUND` — does not exist or is not available to you","content":{"application/json":{"examples":{"NOT_FOUND":{"summary":"NOT_FOUND","value":{"error":{"code":"NOT_FOUND","message":"Not found."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}},"/v1/balance/history":{"get":{"tags":["Balance"],"summary":"Balance statement","description":"Every change of your available balance, newest first, in USD. `amount` is the effect on `available` (positive — in, negative — out, 0 — informational `order_charge` line when an order succeeds). The sum of `amount` over all lines equals `available` of `GET /v1/balance`, and `balance_after` of the newest line equals it too. Lines of an order carry `order_id` and `market_hash_name`; `custom_id` — only on orders you placed as the buyer with a custom_id. Scope `balance:read`.","operationId":"getBalanceHistory","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter by line type; repeat the parameter for several. One of: deposit, withdrawal, withdrawal_released, order_reserve, order_release, order_charge, sale_proceeds, rollback_refund, rollback_penalty, adjustment","examples":[["deposit","order_charge"]]},"description":"Filter by line type; repeat the parameter for several. One of: deposit, withdrawal, withdrawal_released, order_reserve, order_release, order_charge, sale_proceeds, rollback_refund, rollback_penalty, adjustment"},{"name":"order_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}],"description":"Lines of this order only","examples":["6d734b447e1346b4afd750087b120045"]},"description":"Lines of this order only"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Booked at or after (UTC)","examples":["2026-10-01T00:00:00Z"]},"description":"Booked at or after (UTC)"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Booked before (UTC)","examples":["2026-11-01T00:00:00Z"]},"description":"Booked before (UTC)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"`next_cursor` from the previous page"},"description":"`next_cursor` from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Page size","examples":[100],"default":100},"description":"Page size"}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceHistoryPage"},"example":{"transactions":[{"id":"5521","type":"order_reserve","amount":-15.5,"balance_before":2515.5,"balance_after":2500,"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","market_hash_name":"AK-47 | Redline (Field-Tested)","created_at":"2026-10-25T09:41:03Z"},{"id":"5490","type":"deposit","amount":2500,"balance_before":15.5,"balance_after":2515.5,"order_id":null,"custom_id":null,"market_hash_name":null,"created_at":"2026-10-25T08:12:40Z"}],"next_cursor":null,"server_time":"2026-10-25T09:41:09Z"}}},"headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"401":{"description":"`UNAUTHORIZED` — missing, invalid or revoked API key","content":{"application/json":{"examples":{"UNAUTHORIZED":{"summary":"UNAUTHORIZED","value":{"error":{"code":"UNAUTHORIZED","message":"A valid API key is required: Authorization: Bearer smk_…"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`IP_ALLOWLIST_REQUIRED` — the key has no IP allowlist; issue a new key with your server IPs; `IP_NOT_ALLOWED` — request IP is not in the key's allowlist; `MERCHANT_SUSPENDED` — your API access is suspended; `FORBIDDEN_SCOPE` — the key lacks the scope required by this endpoint","content":{"application/json":{"examples":{"IP_ALLOWLIST_REQUIRED":{"summary":"IP_ALLOWLIST_REQUIRED","value":{"error":{"code":"IP_ALLOWLIST_REQUIRED","message":"This key has no IP allowlist: issue a new key with the IP addresses of your servers."}}},"IP_NOT_ALLOWED":{"summary":"IP_NOT_ALLOWED","value":{"error":{"code":"IP_NOT_ALLOWED","message":"Requests from this IP address are not allowed for this key."}}},"MERCHANT_SUSPENDED":{"summary":"MERCHANT_SUSPENDED","value":{"error":{"code":"MERCHANT_SUSPENDED","message":"API access is suspended."}}},"FORBIDDEN_SCOPE":{"summary":"FORBIDDEN_SCOPE","value":{"error":{"code":"FORBIDDEN_SCOPE","message":"The key does not have the orders:write scope."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`INVALID_PARAMETER` — invalid parameter or body; `fields` maps each parameter to the problem","content":{"application/json":{"examples":{"INVALID_PARAMETER":{"summary":"INVALID_PARAMETER","value":{"error":{"code":"INVALID_PARAMETER","message":"Invalid request parameters.","fields":{"limit":"1-200"}}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`RATE_LIMITED` — requests-per-minute limit of the key exceeded; wait `Retry-After` seconds","content":{"application/json":{"examples":{"RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"error":{"code":"RATE_LIMITED","message":"Up to 30 requests per minute."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per 60-second window for this key."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time (seconds) when a slot frees up."}}},"503":{"description":"`NOT_ENABLED` — the API is not enabled yet","content":{"application/json":{"examples":{"NOT_ENABLED":{"summary":"NOT_ENABLED","value":{"error":{"code":"NOT_ENABLED","message":"The API is not enabled yet."}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"ApiKey":[]}]}}},"webhooks":{"order.created":{"post":{"tags":["Webhooks"],"summary":"Order created","description":"The order is accepted and its price is reserved on your balance (`status: active`).\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_order_created","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["order.created"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"},"examples":{"order.created":{"summary":"Order created","value":{"event":"order.created","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"active","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":null,"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}},"order.trade_sent":{"post":{"tags":["Webhooks"],"summary":"Trade offer sent","description":"The Steam trade offer was sent; `data.trade.offer_id` is set.\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_order_trade_sent","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["order.trade_sent"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"},"examples":{"order.trade_sent":{"summary":"Trade offer sent","value":{"event":"order.trade_sent","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"active","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"sent","sent_at":"2026-10-25T09:41:12Z","accepted_at":null,"protected_until":null,"rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}},"order.success":{"post":{"tags":["Webhooks"],"summary":"Offer accepted","description":"The recipient accepted the offer; the item is under Steam trade protection until `data.trade.protected_until` (`status: success`, not final).\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_order_success","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["order.success"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"},"examples":{"order.success":{"summary":"Offer accepted","value":{"event":"order.success","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"success","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"accepted","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":null}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}},"order.completed":{"post":{"tags":["Webhooks"],"summary":"Order completed","description":"Trade protection ended; the deal is final (`status: completed`).\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_order_completed","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["order.completed"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"},"examples":{"order.completed":{"summary":"Order completed","value":{"event":"order.completed","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"completed","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"confirmed","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":"2026-11-02T09:45:00Z"}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}},"order.reversed":{"post":{"tags":["Webhooks"],"summary":"Order reversed","description":"The trade was rolled back during protection: `refunded` returned to your available balance, `penalty` withheld (`status: reversed`).\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_order_reversed","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["order.reversed"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"},"examples":{"order.reversed":{"summary":"Order reversed","value":{"event":"order.reversed","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"reversed","cancel_reason":null,"item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"rollback","sent_at":"2026-10-25T09:41:12Z","accepted_at":"2026-10-25T09:43:10Z","protected_until":"2026-11-02T09:43:10Z","rollback_at":"2026-10-27T18:02:44Z","rollback_by":"buyer"},"refunded":10.85,"penalty":4.65,"penalty_pct":30,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":"2026-10-27T18:05:00Z"}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}},"order.cancelled":{"post":{"tags":["Webhooks"],"summary":"Order cancelled","description":"The trade did not happen; the full price returned to your available balance; see `cancel_reason` (`status: cancelled`).\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_order_cancelled","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["order.cancelled"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"},"examples":{"order.cancelled":{"summary":"Order cancelled","value":{"event":"order.cancelled","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"order_id":"6d734b447e1346b4afd750087b120045","custom_id":"shop-7781","status":"cancelled","cancel_reason":"trade_declined","item":{"item_id":"184233","app_id":730,"market_hash_name":"AK-47 | Redline (Field-Tested)","float":0.2661,"paint_seed":661,"phase":null,"asset_id":"48807865915","class_id":"519987180","instance_id":"519977179","steam_id":"76561199274521258","inspect_link":"steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561199274521258A48807865915D5089074789179053812"},"price":15.5,"currency":"USD","trade":{"offer_id":"7418529630","status":"declined","sent_at":"2026-10-25T09:41:12Z","accepted_at":null,"protected_until":null,"rollback_at":null,"rollback_by":null},"refunded":null,"penalty":null,"penalty_pct":0,"created_at":"2026-10-25T09:41:03Z","deadline_at":"2026-10-25T10:11:03Z","finished_at":"2026-10-25T09:45:31Z"}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}},"balance.deposited":{"post":{"tags":["Webhooks"],"summary":"Deposit credited","description":"A top-up was credited to your available balance; `data` is the balance statement line.\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_balance_deposited","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["balance.deposited"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceDepositedEvent"},"examples":{"balance.deposited":{"summary":"Deposit credited","value":{"event":"balance.deposited","event_id":"0b1c2d3e4f5a6b4f0c9a1e2b7d4c8e9a","occurred_at":"2026-10-25T08:12:40Z","data":{"id":"5490","type":"deposit","amount":2500,"balance_before":15.5,"balance_after":2515.5,"order_id":null,"custom_id":null,"market_hash_name":null,"created_at":"2026-10-25T08:12:40Z","currency":"USD"}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}},"webhook.test":{"post":{"tags":["Webhooks"],"summary":"Test delivery","description":"Sent when you request a test delivery in your SupplySkins cabinet, regardless of your event subscription. Use it to check the URL and the signature check; it changes nothing.\n\nHeaders: `X-SS-Event` (event name), `X-SS-Event-Id` (`event_id`), `X-SS-Timestamp` (unix seconds), `X-SS-Signature` = hex HMAC-SHA256(endpoint secret, `X-SS-Timestamp + \".\" + raw_body`). Verify the signature on the raw body with a constant-time comparison and reject requests older than 300 seconds. Answer `2xx` within 10 seconds; otherwise we retry after 1 min, 10 min, 1 h and 24 h (up to 5 attempts). Deduplicate by `event_id`; delivery order is not guaranteed.","operationId":"webhook_webhook_test","parameters":[{"description":"Event name","required":true,"schema":{"type":"string","description":"Event name","examples":["webhook.test"]},"name":"X-SS-Event","in":"header"},{"description":"`event_id` of the body","required":true,"schema":{"type":"string","description":"`event_id` of the body","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"name":"X-SS-Event-Id","in":"header"},{"description":"Unix seconds when the request was signed","required":true,"schema":{"type":"string","description":"Unix seconds when the request was signed","examples":["1761385390"]},"name":"X-SS-Timestamp","in":"header"},{"description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","required":true,"schema":{"type":"string","description":"hex HMAC-SHA256(endpoint secret, X-SS-Timestamp + \".\" + raw body)","examples":["5d41402abc4b2a76b9719d911017c592ae2f7b1c3f0a6e8d4b2c1a0f9e8d7c6b"]},"name":"X-SS-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestEvent"},"examples":{"webhook.test":{"summary":"Test delivery","value":{"event":"webhook.test","event_id":"4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b","occurred_at":"2026-10-25T09:43:10Z","data":{"test":true}}}}}},"required":true},"responses":{"200":{"description":"Any `2xx` within 10 seconds acknowledges the event; the response body is ignored."}}}}},"components":{"schemas":{"Balance":{"properties":{"available":{"type":"number","description":"Available to spend, USD","examples":[2500]},"reserved":{"type":"number","description":"Reserved by your active orders, USD","examples":[15.5]},"hold":{"type":"number","description":"Proceeds of your own sales still under Steam trade protection, USD","examples":[0]},"currency":{"type":"string","const":"USD","description":"Always USD","default":"USD"},"as_of":{"type":"string","format":"date-time","description":"Moment of the balance (UTC)"}},"type":"object","required":["available","reserved","hold","as_of"],"title":"Balance"},"BalanceDeposit":{"properties":{"id":{"type":"string","description":"Line id","examples":["5521"]},"type":{"type":"string","enum":["deposit","withdrawal","withdrawal_released","order_reserve","order_release","order_charge","sale_proceeds","rollback_refund","rollback_penalty","adjustment"],"description":"deposit — top-up credited; withdrawal — payout requested; withdrawal_released — payout request returned; order_reserve — order price reserved; order_release — reservation returned (order cancelled); order_charge — order succeeded, the reservation is charged (amount 0: available already went down at order_reserve); sale_proceeds — proceeds of your own sale; rollback_refund — refund after a rollback; rollback_penalty — amount withheld after a rollback; adjustment — manual correction"},"amount":{"type":"number","description":"Effect on available balance, USD: positive — in, negative — out, 0 — informational line","examples":[-15.5]},"balance_before":{"type":"number","description":"Available balance before this line, USD"},"balance_after":{"type":"number","description":"Available balance after this line, USD"},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Order id, if the line belongs to an order"},"custom_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your custom_id of that order — only on orders you placed as the buyer with a custom_id; null otherwise"},"market_hash_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Item of that order"},"created_at":{"type":"string","format":"date-time","description":"When the line was booked"},"currency":{"type":"string","const":"USD","description":"Always USD","default":"USD"}},"type":"object","required":["id","type","amount","balance_before","balance_after","created_at"],"title":"BalanceDeposit","description":"Balance statement line of a credited deposit."},"BalanceDepositedEvent":{"properties":{"event":{"type":"string","const":"balance.deposited","description":"Event name, also in `X-SS-Event`"},"event_id":{"type":"string","description":"Unique event id (32 hex), stable across retries — deduplicate by it","examples":["0b1c2d3e4f5a6b4f0c9a1e2b7d4c8e9a"]},"occurred_at":{"type":"string","format":"date-time","description":"When the event happened (UTC)"},"data":{"$ref":"#/components/schemas/BalanceDeposit","description":"The balance statement line (`type: deposit`)"}},"type":"object","required":["event","event_id","occurred_at","data"],"title":"BalanceDepositedEvent","description":"Body of the balance.deposited webhook."},"BalanceHistoryPage":{"properties":{"transactions":{"items":{"$ref":"#/components/schemas/BalanceTx"},"type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `cursor` to get the next page; null — no more pages"},"server_time":{"type":"string","format":"date-time","description":"Server time minus 60 s"}},"type":"object","required":["transactions","server_time"],"title":"BalanceHistoryPage"},"BalanceTx":{"properties":{"id":{"type":"string","description":"Line id","examples":["5521"]},"type":{"type":"string","enum":["deposit","withdrawal","withdrawal_released","order_reserve","order_release","order_charge","sale_proceeds","rollback_refund","rollback_penalty","adjustment"],"description":"deposit — top-up credited; withdrawal — payout requested; withdrawal_released — payout request returned; order_reserve — order price reserved; order_release — reservation returned (order cancelled); order_charge — order succeeded, the reservation is charged (amount 0: available already went down at order_reserve); sale_proceeds — proceeds of your own sale; rollback_refund — refund after a rollback; rollback_penalty — amount withheld after a rollback; adjustment — manual correction"},"amount":{"type":"number","description":"Effect on available balance, USD: positive — in, negative — out, 0 — informational line","examples":[-15.5]},"balance_before":{"type":"number","description":"Available balance before this line, USD"},"balance_after":{"type":"number","description":"Available balance after this line, USD"},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Order id, if the line belongs to an order"},"custom_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your custom_id of that order — only on orders you placed as the buyer with a custom_id; null otherwise"},"market_hash_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Item of that order"},"created_at":{"type":"string","format":"date-time","description":"When the line was booked"}},"type":"object","required":["id","type","amount","balance_before","balance_after","created_at"],"title":"BalanceTx","description":"A balance statement line."},"CancelAccepted":{"properties":{"order_id":{"type":"string","description":"Order id","examples":["6d734b447e1346b4afd750087b120045"]},"status":{"type":"string","const":"active","description":"Still `active` until the cancellation completes"},"cancel":{"type":"string","enum":["requested","already_requested"],"description":"`requested` — accepted now; `already_requested` — you asked before"}},"type":"object","required":["order_id","status","cancel"],"title":"CancelAccepted","description":"The cancellation request is accepted; the order closes within a minute."},"CheapestPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PriceRow"},"type":"array"},"generated_at":{"type":"string","format":"date-time","description":"When the list was built (at most once every 60 s)"},"count":{"type":"integer","description":"Number of rows in `items`"}},"type":"object","required":["items","generated_at","count"],"title":"CheapestPage"},"ErrorBody":{"properties":{"code":{"type":"string","description":"Machine-readable error code — branch on it: UNAUTHORIZED, IP_ALLOWLIST_REQUIRED, IP_NOT_ALLOWED, MERCHANT_SUSPENDED, FORBIDDEN_SCOPE, NOT_FOUND, INSUFFICIENT_BALANCE, PRICE_CHANGED, ITEM_UNAVAILABLE, DUPLICATE_CUSTOM_ID, ORDER_NOT_CANCELLABLE, TRADE_URL_BLOCKED, INVALID_PARAMETER, INVALID_TRADE_URL, RATE_LIMITED, TOO_MANY_ACTIVE_ORDERS, RECIPIENT_BUSY, NOT_ENABLED, SERVICE_UNAVAILABLE","examples":["PRICE_CHANGED"]},"message":{"type":"string","description":"Human-readable explanation; may change, do not parse it","examples":["The item price has changed."]},"fields":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"description":"INVALID_PARAMETER: parameter → what is wrong","examples":[{"limit":"1-200"}]},"current_price":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"PRICE_CHANGED: the item's current price for you, USD","examples":[15.8]},"available":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"INSUFFICIENT_BALANCE: your available balance, USD"},"required":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"INSUFFICIENT_BALANCE: amount the order needs, USD"},"order_status":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ORDER_NOT_CANCELLABLE: the order's current status"},"blocked_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"TRADE_URL_BLOCKED: new orders to this recipient are accepted again after this moment (UTC)"}},"type":"object","required":["code","message"],"title":"ErrorBody"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"Error envelope used by every endpoint."},"Health":{"properties":{"ok":{"type":"boolean","description":"true — the service is up; false (HTTP 503) — temporarily unavailable"},"server_time":{"type":"string","format":"date-time","description":"Server time (UTC)","examples":["2026-10-25T09:41:00Z"]}},"type":"object","required":["ok","server_time"],"title":"Health"},"ItemsPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicItem"},"type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `cursor` to get the next page; null — no more pages"},"server_time":{"type":"string","format":"date-time","description":"Use as `updated_since` in your next sync (60 s before now)"}},"type":"object","required":["items","server_time"],"title":"ItemsPage"},"OrderCreate":{"properties":{"item_id":{"anyOf":[{"type":"string","description":"item_id from /v1/items, as is: \"184233\" or \"p77\" (an item of an external stock); an integer is accepted for the first form","examples":["184233"]},{"type":"null"}]},"market_hash_name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"description":"Buy the cheapest item with this exact name instead of a specific item","examples":["AK-47 | Redline (Field-Tested)"]},"phase":{"anyOf":[{"type":"string","maxLength":32,"minLength":1},{"type":"null"}],"description":"With `market_hash_name`: Doppler / Gamma Doppler phase","examples":["Phase 2"]},"price":{"anyOf":[{"type":"number","maximum":10000000000,"exclusiveMinimum":0},{"type":"null"}],"description":"With `item_id`: the exact price you saw, USD; if it differs — 409 PRICE_CHANGED","examples":[15.5]},"max_price":{"anyOf":[{"type":"number","maximum":10000000000,"exclusiveMinimum":0},{"type":"null"}],"description":"Price ceiling, USD: the actual price is charged if it is not higher","examples":[16]},"sources":{"items":{"type":"integer","minimum":1},"type":["array","null"],"maxItems":50,"description":"With `market_hash_name`: only items of these stock sources (`source_id` of items, up to 50)","examples":[[1,2]]},"exclude_sources":{"items":{"type":"integer","minimum":1},"type":["array","null"],"maxItems":50,"description":"With `market_hash_name`: skip items of these stock sources (up to 50)","examples":[[3]]},"trade_url":{"type":"string","maxLength":512,"minLength":1,"description":"Recipient's Steam trade URL: https://steamcommunity.com/tradeoffer/new/?partner=<id>&token=<8 characters>","examples":["https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=AbCdEfGh"]},"custom_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.-]{1,64}$"},{"type":"null"}],"description":"Optional: your own order number (up to 64 of A-Z a-z 0-9 _ . -). Repeating a request with the same custom_id never buys twice — you get the same order; the same custom_id with a different body — 409 DUPLICATE_CUSTOM_ID","examples":["shop-7781"]}},"additionalProperties":false,"type":"object","required":["trade_url"],"title":"OrderCreate","description":"Buy an item. Either a specific item — `item_id` with `price` (the price you saw; if it changed — 409\nPRICE_CHANGED) or `max_price` (a ceiling) — or the cheapest item by name — `market_hash_name` (and `phase`) with\n`max_price`. Unknown fields are rejected."},"OrderEvent":{"properties":{"event":{"type":"string","enum":["order.created","order.trade_sent","order.success","order.completed","order.reversed","order.cancelled"],"description":"Event name, also in `X-SS-Event`"},"event_id":{"type":"string","description":"Unique event id (32 hex), stable across retries — deduplicate by it","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"occurred_at":{"type":"string","format":"date-time","description":"When the event happened (UTC)"},"data":{"$ref":"#/components/schemas/PublicOrder","description":"The order, the same object as `GET /v1/orders/{order_id}`"}},"type":"object","required":["event","event_id","occurred_at","data"],"title":"OrderEvent","description":"Body of an order.* webhook."},"OrdersPage":{"properties":{"orders":{"items":{"$ref":"#/components/schemas/PublicOrder"},"type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `cursor` to get the next page; null — no more pages"},"server_time":{"type":"string","format":"date-time","description":"Use as `updated_since` in your next sync (60 s before now)"}},"type":"object","required":["orders","server_time"],"title":"OrdersPage"},"PriceRow":{"properties":{"market_hash_name":{"type":"string","description":"Steam market hash name","examples":["AK-47 | Redline (Field-Tested)"]},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Doppler / Gamma Doppler phase: one of `Phase 1`, `Phase 2`, `Phase 3`, `Phase 4`, `Ruby`, `Sapphire`, `Black Pearl`, `Emerald`; otherwise null"},"min_price":{"type":"number","description":"Lowest price for you in this row, USD","examples":[15.5]},"count":{"type":"integer","description":"Number of available items in this row","examples":[12]},"cheapest_item_id":{"type":"string","description":"item_id of the cheapest item","examples":["184233"]},"cheapest_float":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Float of the cheapest item"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Item image URL"},"priced_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"`priced_at` of the cheapest item (UTC)"}},"type":"object","required":["market_hash_name","min_price","count","cheapest_item_id"],"title":"PriceRow","description":"Cheapest available item per (market_hash_name, phase)."},"PublicItem":{"properties":{"item_id":{"type":"string","description":"Stable opaque item id (string): \"184233\" or \"p77\" (an item of an external stock); use it as is in POST /v1/orders","examples":["184233"]},"source_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Id of the stock source of this item (a number, without the source's name); filter with `sources` / `exclude_sources`","examples":[1]},"app_id":{"type":"integer","description":"Steam app id of the item's game: 730 — CS2, 570 — Dota 2, 252490 — Rust, …; use it to build Steam links and to filter by game","default":730,"examples":[730]},"market_hash_name":{"type":"string","description":"Steam market hash name","examples":["AK-47 | Redline (Field-Tested)"]},"price":{"type":"number","description":"Your final price, USD","examples":[15.5]},"currency":{"type":"string","const":"USD","description":"Always USD","default":"USD"},"float":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Float value (wear), 0–1; null if not applicable","examples":[0.2661]},"paint_seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Paint seed (pattern); null if the stock does not report it"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Doppler / Gamma Doppler phase: one of `Phase 1`, `Phase 2`, `Phase 3`, `Phase 4`, `Ruby`, `Sapphire`, `Black Pearl`, `Emerald`; otherwise null","examples":["Phase 2"]},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Steam asset id of the item in the inventory it is sent from; null if the stock does not report it. It changes after the trade","examples":["48807865915"]},"class_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Steam class id; null if the stock does not report it","examples":["519987180"]},"instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Steam instance id; null if the stock does not report it","examples":["519977179"]},"steam_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SteamID64 of the inventory holding the item (the trade offer comes from it); null if unknown","examples":["76561199274521258"]},"stickers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"description":"Stickers and charms; currently always null"},"inspect_link":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"In-game inspect link (`steam://run/730//…` or `steam://rungame/730/…`); null if the stock does not report it"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Item image URL"},"tradable_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the item becomes tradable; currently always null"},"available":{"type":"boolean","description":"false — the item is gone or in a trade (returned only with updated_since)"},"updated_at":{"type":"string","format":"date-time","description":"Last change of this item (UTC)"},"priced_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When this price was last set by its source (UTC): the price changed or was recalculated. Stock of external sources is listed only while its source confirms it on schedule"},"delivery_type":{"type":"string","enum":["instant","manual"],"description":"How the trade offer comes: `instant` — sent automatically within seconds; `manual` — it comes later, up to `delivery_minutes` after the order (not sent by the order `deadline_at` — the order is cancelled and the full amount returns)","default":"instant","examples":["instant"]},"delivery_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"For `manual`: up to how many minutes after the order the trade offer comes; otherwise null","examples":[null]}},"type":"object","required":["item_id","market_hash_name","price","available","updated_at"],"title":"PublicItem","description":"An item available to you, with your final price."},"PublicOrder":{"properties":{"order_id":{"type":"string","description":"Order id","examples":["6d734b447e1346b4afd750087b120045"]},"custom_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your custom_id from the request, if you gave one","examples":["shop-7781"]},"status":{"type":"string","enum":["active","success","completed","reversed","cancelled"],"description":"active — price reserved, offer being sent or waiting for acceptance; success — offer accepted, the item is in the recipient's inventory under Steam trade protection (not final); completed — protection ended (final); reversed — rolled back during protection: refunded returned to your balance, penalty withheld (final); cancelled — the trade did not happen, the full price returned (final), see cancel_reason"},"cancel_reason":{"anyOf":[{"type":"string","enum":["timeout","trade_expired","trade_declined","trade_countered","trade_cancelled","partner_cancelled","invalid_trade_url","inventory_private","trade_ban","item_unavailable","price_changed","insufficient_funds","system_error","by_admin","by_buyer"]},{"type":"null"}],"description":"Only for cancelled: timeout — not accepted before deadline_at; trade_expired / trade_declined / trade_cancelled — the offer expired, was declined or cancelled in Steam; trade_countered — the recipient sent a counter-offer; partner_cancelled — cancelled by the delivery side; invalid_trade_url; inventory_private; trade_ban — the recipient cannot trade; item_unavailable; price_changed — the item price went up before the purchase (see current_price); insufficient_funds; system_error; the last two values — cancelled by SupplySkins support and cancelled by you (POST /v1/orders/{order_id}/cancel)"},"item":{"$ref":"#/components/schemas/PublicOrderItem"},"price":{"type":"number","description":"Order price, USD (reserved until the offer is accepted)","examples":[15.5]},"currency":{"type":"string","const":"USD","description":"Always USD","default":"USD"},"trade":{"anyOf":[{"$ref":"#/components/schemas/PublicTrade"},{"type":"null"}],"description":"null — the offer is not queued yet"},"refunded":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"reversed: returned to your available balance, USD"},"penalty":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"reversed: withheld, USD"},"penalty_pct":{"type":"number","description":"Rollback penalty, % of the order price: for reversed — the share actually withheld; otherwise — the rate that applies if the trade is rolled back now (currently 0: the item returned — no penalty)","default":0,"examples":[0]},"current_price":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"cancelled with price_changed: the new price of this item for you, USD, if known; otherwise null"},"created_at":{"type":"string","format":"date-time","description":"When the order was created"},"deadline_at":{"type":"string","format":"date-time","description":"The offer must be accepted before this moment, otherwise the order is cancelled with timeout"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the order reached a final status"}},"type":"object","required":["order_id","status","item","price","created_at","deadline_at"],"title":"PublicOrder","description":"An order. `success` is not final: the item may still be rolled back during Steam trade protection."},"PublicOrderItem":{"properties":{"item_id":{"type":"string","description":"Item id","examples":["184233"]},"app_id":{"type":"integer","description":"Steam app id of the item's game: 730 — CS2, 570 — Dota 2, 252490 — Rust, …; use it to build Steam links and to filter by game","default":730,"examples":[730]},"market_hash_name":{"type":"string","description":"Steam market hash name","examples":["AK-47 | Redline (Field-Tested)"]},"float":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Float value (wear), 0–1"},"paint_seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Paint seed (pattern); null if the stock does not report it"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Doppler / Gamma Doppler phase: one of `Phase 1`, `Phase 2`, `Phase 3`, `Phase 4`, `Ruby`, `Sapphire`, `Black Pearl`, `Emerald`; otherwise null"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Steam asset id of the item at order time, in the inventory it is sent from (it changes after the trade); null if the stock does not report it","examples":["48807865915"]},"class_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Steam class id at order time; null if unknown"},"instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Steam instance id at order time; null if unknown"},"steam_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SteamID64 of the inventory the item is sent from; null if unknown"},"inspect_link":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"In-game inspect link at order time; null if unknown"}},"type":"object","required":["item_id","market_hash_name"],"title":"PublicOrderItem","description":"The purchased item as it was at order time."},"PublicTrade":{"properties":{"offer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Steam trade offer id (appears within seconds after queueing)","examples":["7418529630"]},"status":{"type":"string","enum":["queued","sent","accepted","confirmed","rollback","declined","cancelled","expired"],"description":"queued — waiting to be sent; sent — offer sent, waiting for acceptance; accepted — accepted, the item is under Steam trade protection; confirmed — protection ended; rollback — rolled back during protection; declined / cancelled / expired — the offer did not go through"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the offer was sent"},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the offer was accepted"},"protected_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"End of Steam trade protection (accepted_at + 8 days)"},"rollback_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the rollback was detected"},"rollback_by":{"anyOf":[{"type":"string","enum":["buyer","seller"]},{"type":"null"}],"description":"Only for rollback — who rolled the trade back: `buyer` — you (the recipient side); the other value — SupplySkins, the side that sent the item (whoever's stock it came from)"}},"type":"object","required":["status"],"title":"PublicTrade","description":"The Steam trade offer of the order."},"Snapshot":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicItem"},"type":"array"},"count":{"type":"integer","description":"Number of items"},"generated_at":{"type":"string","format":"date-time","description":"When the snapshot was built (rebuilt at most once every 60 s)"},"server_time":{"type":"string","format":"date-time","description":"Use as `updated_since` for GET /v1/items deltas after this snapshot (generated_at − 60 s)"}},"type":"object","required":["items","count","generated_at","server_time"],"title":"Snapshot","description":"The whole stock available to you."},"TestData":{"properties":{"test":{"type":"boolean","const":true,"description":"Always true"}},"type":"object","required":["test"],"title":"TestData"},"TestEvent":{"properties":{"event":{"type":"string","const":"webhook.test","description":"Event name, also in `X-SS-Event`"},"event_id":{"type":"string","description":"Unique event id (32 hex), stable across retries","examples":["9a0b1c2d3e4f5a6b4f0c9a1e2b7d4c8e"]},"occurred_at":{"type":"string","format":"date-time","description":"When the test was requested (UTC)"},"data":{"$ref":"#/components/schemas/TestData","description":"`{\"test\": true}`"}},"type":"object","required":["event","event_id","occurred_at","data"],"title":"TestEvent","description":"Body of the webhook.test webhook."},"WebhookEventRow":{"properties":{"event_id":{"type":"string","description":"32 hex characters; the same in `X-SS-Event-Id` and in the body, stable across retries","examples":["4f0c9a1e2b7d4c8e9a0b1c2d3e4f5a6b"]},"event":{"type":"string","enum":["order.created","order.trade_sent","order.success","order.completed","order.reversed","order.cancelled","balance.deposited","webhook.test"],"description":"Event name"},"status":{"type":"string","enum":["pending","delivered","failed"],"description":"pending — waiting for the next attempt; delivered — your endpoint answered 2xx; failed — all attempts failed"},"attempts":{"type":"integer","description":"Attempts in the current delivery cycle (resend starts a new cycle)"},"last_status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"HTTP status of the last attempt; null — no response"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Short reason of the last failed attempt"},"last_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the last attempt was made"},"next_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"pending: when the next attempt is scheduled"},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When your endpoint acknowledged the event"},"occurred_at":{"type":"string","format":"date-time","description":"When the event happened"},"created_at":{"type":"string","format":"date-time","description":"When the event was logged"},"payload":{"additionalProperties":true,"type":"object","description":"The request body exactly as sent: {event, event_id, occurred_at, data}"}},"type":"object","required":["event_id","event","status","attempts","occurred_at","created_at","payload"],"title":"WebhookEventRow","description":"A webhook event and its delivery state."},"WebhookEventsPage":{"properties":{"events":{"items":{"$ref":"#/components/schemas/WebhookEventRow"},"type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `cursor` to get the next page; null — no more pages"}},"type":"object","required":["events"],"title":"WebhookEventsPage"}},"securitySchemes":{"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"smk_<prefix>_<secret>","description":"API key: `Authorization: Bearer smk_<prefix>_<secret>`. Issued by SupplySkins support (or in your SupplySkins dashboard); shown once."}}},"tags":[{"name":"Items","description":"Live stock available to you, with your final price per item."},{"name":"Orders","description":"Buy an item and follow the order until the Steam trade is final."},{"name":"Balance","description":"Your USD balance and its statement."},{"name":"Webhooks","description":"Delivery log of webhook events sent to your endpoint. The events themselves are described in the **Webhooks** section."},{"name":"System","description":"Service availability."}]}