Skip to content

API Reference / Orders and listings

List orders

What the workspace asked the markets to buy: listing buys, buy orders, offers and auction bids. Open ones by default, newest first.

GET/v1/orders

Query parameters

limit?integer

How many to return, 1 to 100.

Default25

Range1 to 100

cursor?string

The next_cursor of the previous page. Send the same other parameters with it.

status?string

open: everything still open, newest first. closed: what closed in the window closed_from to closed_before, at most 90 days.

Defaultopen

Value in"closed""open"

market?string

Only these markets, by key, comma separated.

contract_id?string

Only those this contract asked for.

query?string

Only items whose name contains this text, ignoring case.

closed_from?string

With status closed: closed at or after this time. 30 days ago when absent.

Format"date-time"

closed_before?string

With status closed: closed before this time. Now when absent.

Format"date-time"

Response body

application/json

The answer.

dataarray<Order>

This page, in the list's order.

Show attributes
closed_at?string

When it closed.

Format"date-time"

contract_id?string

The contract that asked for it.

created_atstring

When it was written, before it was sent.

Format"date-time"

expires_at?string

When the market ends it by itself.

Format"date-time"

filled_quantityinteger

How many have been bought.

Format"int32"

float_max?number

The highest float it accepts.

float_min?number

The lowest float it accepts.

idstring

The order's id.

itemstring

The item's market hash name.

kindstring

What it is.

Value in"auction_bid""buy_order""listing_buy""offer""unknown"

marketstring

The market's key, such as csfloat, dmarket or market-csgo.

opened_at?string

When the market took it.

Format"date-time"

phase?string

The finish's phase, when the item has one.

priceMoney

Its price exactly as the market holds it, in the market's currency.

Show attributes
amountstring

The amount as a decimal string, exact, with at least two decimal places.

currencystring

The ISO 4217 currency code.

price_usd?Money

Its price in US dollars, to the cent. Absent when no exchange rate was recorded.

Show attributes
amountstring

The amount as a decimal string, exact, with at least two decimal places.

currencystring

The ISO 4217 currency code.

quantityinteger

How many it asks for.

Format"int32"

statestring

Where it stands.

Value in"cancelled""checking""ended""filled""not_sent""open""placing""refused""stuck""unknown"

steam_account_name?string

The Steam account whose market account it is on.

has_moreboolean

True when another page follows.

next_cursor?string

The cursor of the next page. Absent on the last page.

curl "https://api.goldmine.to/v1/orders?limit=25" \
  -H "Authorization: Bearer $CSTRADER_API_KEY"
{
  "data": [
    {
      "closed_at": "2026-11-21T09:30:00Z",
      "contract_id": "ctr_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f",
      "created_at": "2026-11-21T09:30:00Z",
      "expires_at": "2026-11-21T09:30:00Z",
      "filled_quantity": 0,
      "float_max": 0.38,
      "float_min": 0,
      "id": "ord_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f",
      "item": "AK-47 | Redline (Field-Tested)",
      "kind": "auction_bid",
      "market": "csfloat",
      "opened_at": "2026-11-21T09:30:00Z",
      "phase": "",
      "price": {
        "amount": "12.34",
        "currency": "USD"
      },
      "price_usd": {
        "amount": "12.34",
        "currency": "USD"
      },
      "quantity": 1,
      "state": "cancelled",
      "steam_account_name": "trader_bot_01"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJwIjoiY3RyXzAxOTBmM2MyIn0"
}