API
ReferenceSelling

Your listings

GET
/public/v1/my-listings

Your own listings, newest first, filterable by app_id and status (ACTIVE, DISABLED, FILLED). available_amount is how many more copies of a commodity listing you still hold in your backpack. Rows are lean: item detail for a listing is in GET /public/v1/listings.

AuthorizationBearer <token>

API key generated from your account settings on the website. Send as Authorization: Bearer csd_....

In: header

Query Parameters

page*string
Match^[1-9]\d*$
limit*string

Value in

  • "5"
  • "10"
  • "25"
  • "30"
  • "50"
  • "100"
app_id?string
Match^[1-9]\d*$
status?string

Value in

  • "ACTIVE"
  • "DISABLED"
  • "FILLED"
  • "PRIVATE"

Response Body

application/json

curl -X GET "https://example.com/public/v1/my-listings?page=string&limit=5"
{  "listings": [    {      "id": 1,      "app_id": 1,      "market_hash_name": "string",      "price": -9007199254740991,      "amount": -9007199254740991,      "commodity": true,      "created_at": "2019-08-24T14:15:22Z",      "available_amount": -9007199254740991    }  ],  "metadata": {    "total_pages": -9007199254740991,    "total_items": -9007199254740991,    "current_page": -9007199254740991,    "current_limit": -9007199254740991  }}