Skip to content

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.

GET/v1/contracts/{id}/targets

Path parameters

idstring

The id from a list answer.

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.

query?string

Only 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_atstring

When this target first appeared in this form.

Format"date-time"

float_maxnumber

The highest float it accepts. 1 is no upper bound.

float_minnumber

The lowest float it accepts. 0 is no lower bound.

idstring

The target's id. It stays the same while the target is unchanged across evaluations.

itemstring

The item's market hash name.

price?Money

The most it pays when buying, or its listing price when selling. Absent when the item could not be priced.

Show attributes
amountstring

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

currencystring

The ISO 4217 currency code.

sell_onlyboolean

True on a selling contract's target listed only because one of the buying contracts it sells for bought the item.

updated_at?string

When it last changed.

Format"date-time"

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/contracts/ctr_0190f3c2a1b47c3d8e9f0a1b2c3d4e5f/targets?limit=25" \
  -H "Authorization: Bearer $CSTRADER_API_KEY"
{
  "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"
}