API Reference / Orders and listings
List listings
The items the workspace listed for sale on the markets. Open ones by default, newest first.
/ v1/ listingsQuery parameters
limit?integerHow many to return, 1 to 100.
Default25
Range1 to 100
cursor?stringThe next_cursor of the previous page. Send the same other parameters with it.
status?stringopen: 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?stringOnly these markets, by key, comma separated.
contract_id?stringOnly those this contract asked for.
query?stringOnly items whose name contains this text, ignoring case.
closed_from?stringWith status closed: closed at or after this time. 30 days ago when absent.
Format"date-time"
closed_before?stringWith status closed: closed before this time. Now when absent.
Format"date-time"
Response body
application/json
The answer.
dataarray<Listing>This page, in the list's order.
Show attributes
closed_at?stringWhen it closed: sold, taken down or ended.
Format"date-time"
contract_id?stringThe selling contract that listed it.
created_atstringWhen it was written, before it was sent.
Format"date-time"
expires_at?stringWhen the market ends it by itself.
Format"date-time"
idstringThe listing's id.
itemstringThe item's market hash name.
marketstringThe market's key.
opened_at?stringWhen the market took it.
Format"date-time"
phase?stringThe finish's phase, when the item has one.
priceMoneyIts price exactly as the market holds it, in the market's currency.
Show attributes
amountstringThe amount as a decimal string, exact, with at least two decimal places.
currencystringThe ISO 4217 currency code.
price_usd?MoneyIts price in US dollars, to the cent. Absent when no exchange rate was recorded.
Show attributes
amountstringThe amount as a decimal string, exact, with at least two decimal places.
currencystringThe ISO 4217 currency code.
statestringWhere it stands.
Value in"cancelled""checking""ended""filled""not_"open""placing""refused""stuck""unknown"
steam_account_name?stringThe Steam account the item is listed from.
has_morebooleanTrue when another page follows.
next_cursor?stringThe cursor of the next page. Absent on the last page.
application/json
An error. Its type says the class and its code the exact error.
errorErrorObjectWhat went wrong.
Show attributes
codestringThe error's code. Codes never change meaning and are never reused.
messagestringA sentence for a person. It may be reworded; branch on code, not on message.
namestringThe code's name, for reading.
param?stringThe parameter the error is about, when it is about one.
request_idstringThe id of this request. Quote it to support.
typestringThe class of the error. Each type has one HTTP status.
Value in"authentication_"permission_"not_"conflict_"validation_"rate_"api_"unavailable_
curl "https://api.goldmine.to/v1/listings?limit=25" \
-H "Authorization: Bearer $CSTRADER_API_KEY"const res = await fetch("https://api.goldmine.to/v1/listings?limit=25", {
headers: { Authorization: `Bearer ${process.env.CSTRADER_API_KEY}` },
});
const data = await res.json();req, err := http.NewRequestWithContext(ctx, http.MethodGet, "https://api.goldmine.to/v1/listings?limit=25", nil)
if err != nil {
return err
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("CSTRADER_API_KEY"))
res, err := http.DefaultClient.Do(req)import os, requests
res = requests.get(
"https://api.goldmine.to/v1/listings?limit=25",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
)
data = res.json(){
"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",
"id": "lst_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f",
"item": "AK-47 | Redline (Field-Tested)",
"market": "csfloat",
"opened_at": "2026-11-21T09:30:00Z",
"phase": "",
"price": {
"amount": "12.34",
"currency": "USD"
},
"price_usd": {
"amount": "12.34",
"currency": "USD"
},
"state": "cancelled",
"steam_account_name": "trader_bot_01"
}
],
"has_more": true,
"next_cursor": "eyJwIjoiY3RyXzAxOTBmM2MyIn0"
}{
"error": {
"type": "validation_error",
"code": "E00502",
"name": "InvalidParameter",
"message": "limit must be from 1 to 100.",
"param": "limit",
"request_id": "req_01a1fe10-786e-7e9d-9dce-4f758313ad79"
}
}