API Reference / Contracts
List a contract's targets
The items the contract is trading now, by item name, each with the price it trades at, from its latest evaluation. Every page of one walk reads the same evaluation.
/ v1/ contracts/ {id}/ targetsPath parameters
idstringThe id from a list answer.
Query 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.
query?stringOnly targets whose item name contains this text, ignoring case.
Response body
application/json
The answer.
dataarray<Target>This page, in the list's order.
Show attributes
created_atstringWhen this target first appeared in this form.
Format"date-time"
float_maxnumberThe highest float it accepts. 1 is no upper bound.
float_minnumberThe lowest float it accepts. 0 is no lower bound.
idstringThe target's id. It stays the same while the target is unchanged across evaluations.
itemstringThe item's market hash name.
price?MoneyThe most it pays when buying, or its listing price when selling. Absent when the item could not be priced.
Show attributes
amountstringThe amount as a decimal string, exact, with at least two decimal places.
currencystringThe ISO 4217 currency code.
sell_onlybooleanTrue on a selling contract's target listed only because one of the buying contracts it sells for bought the item.
updated_at?stringWhen it last changed.
Format"date-time"
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/contracts/ctr_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f/targets?limit=25" \
-H "Authorization: Bearer $CSTRADER_API_KEY"const res = await fetch("https://api.goldmine.to/v1/contracts/ctr_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f/targets?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/contracts/ctr_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f/targets?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/contracts/ctr_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f/targets?limit=25",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
)
data = res.json(){
"data": [
{
"created_at": "2026-11-21T09:30:00Z",
"float_max": 0.38,
"float_min": 0,
"id": "tgt_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f",
"item": "AK-47 | Redline (Field-Tested)",
"price": {
"amount": "12.34",
"currency": "USD"
},
"sell_only": false,
"updated_at": "2026-11-21T09:30:00Z"
}
],
"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"
}
}