Skip to content

API Reference / Purchases and sales

List purchases

The items the workspace's contracts bought, newest first.

GET/v1/purchases

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.

contract_id?string

Only purchases for this contract.

status?string

Only purchases in these states, comma separated.

market?string

Only these markets, by key, comma separated.

query?string

Only items whose name contains this text, ignoring case.

created_from?string

Only purchases recorded at or after this time.

Format"date-time"

created_before?string

Only purchases recorded before this time.

Format"date-time"

Response body

application/json

The answer.

dataarray<Purchase>

This page, in the list's order.

Show attributes
contract_id?string

The contract it was bought for.

created_atstring

When the purchase was recorded.

Format"date-time"

delivered_at?string

When the item arrived in the Steam account.

Format"date-time"

failed_at?string

When it failed.

Format"date-time"

failure_reason?string

Why it failed, when it did.

Value in"account_unavailable""insufficient_balance""listing_unavailable""marketplace_rejected""trade_not_completed""trade_reversed""unknown"

float?number

The item's float, when known.

idstring

The purchase's id.

itemstring

The item's market hash name.

marketstring

The market it was bought on.

most_it_would_payMoney

The most the contract would have paid for it when it was bought.

Show attributes
amountstring

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

currencystring

The ISO 4217 currency code.

paint_seed?integer

The item's pattern, 0 to 1000, when known.

Format"int32"

priceMoney

What was paid, in US dollars, exact.

Show attributes
amountstring

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

currencystring

The ISO 4217 currency code.

purchased_at?string

When the market confirmed the buy.

Format"date-time"

statusstring

pending: bought and on its way. delivered: in the Steam account. failed: not bought, or bought and reversed.

Value in"delivered""failed""pending""unknown"

steam_account_name?string

The Steam account that bought it.

waystring

How it was bought.

Value in"auction""buy_order""listing""offer""unknown"

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/purchases?limit=25" \
  -H "Authorization: Bearer $CSTRADER_API_KEY"
{
  "data": [
    {
      "contract_id": "ctr_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f",
      "created_at": "2026-11-21T09:30:00Z",
      "delivered_at": "2026-11-21T09:30:00Z",
      "failed_at": "2026-11-21T09:30:00Z",
      "failure_reason": "account_unavailable",
      "float": 0.2147,
      "id": "pur_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f",
      "item": "AK-47 | Redline (Field-Tested)",
      "market": "csfloat",
      "most_it_would_pay": {
        "amount": "12.34",
        "currency": "USD"
      },
      "paint_seed": 661,
      "price": {
        "amount": "12.34",
        "currency": "USD"
      },
      "purchased_at": "2026-11-21T09:30:00Z",
      "status": "delivered",
      "steam_account_name": "trader_bot_01",
      "way": "auction"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJwIjoiY3RyXzAxOTBmM2MyIn0"
}