Order history
Your order items, newest first. side is bought when you were the buyer and sold when you were the seller. Prices are integers in cents.
Authorization
apiKey API key generated from your account settings on the website. Send as Authorization: Bearer csd_....
In: header
Query Parameters
^[1-9]\d*$Value in
- "5"
- "10"
- "25"
- "30"
- "50"
- "100"
Response Body
application/json
curl -X GET "https://example.com/public/v1/orders?page=string&limit=5"{ "orders": [ { "order_item_id": 1, "order_id": 1, "side": "bought", "app_id": 1, "market_hash_name": "string", "price": -9007199254740991, "amount": -9007199254740991, "created_at": "2019-08-24T14:15:22Z" } ], "metadata": { "total_pages": -9007199254740991, "total_items": -9007199254740991, "current_page": -9007199254740991, "current_limit": -9007199254740991 }}Export your order history GET
Your whole order history in one download, no pagination: every item you bought and sold, oldest first. `format=csv` (the default) returns a spreadsheet with a header row; `format=json` returns `{ "orders": [...] }` with the same columns. Narrow it with `side` (`bought` or `sold`), `app_id`, and `from`/`to` as ISO dates. Money is in integer cents: `unit_price` is the price of one copy, `total_value` the whole row, `fee` the selling commission (only ever set on your `sold` rows) and `net` what the row was worth to you. `settled_at` is when a sale settled and is empty until it does. The response is streamed, so a long history starts arriving immediately.
Balance history GET
Every movement of your balance, newest first, optionally filtered by `action` (`DEPOSIT`, `WITHDRAWAL`, `WITHDRAWAL_REFUND`, `INSTANT_SELL_PAYOUT`, `PURCHASE`, `SALE`, `BALANCE_ADJUSTMENT`). `amount` is signed in cents, negative when money left the account; `balance` is the resulting balance after that movement, so a page of rows reconciles without adding anything up yourself. `message` is a human-readable note such as the order or withdrawal it belongs to.