myMarketList

Your own listings and sale slots.

The game paginates your *sale slots*, not your listings, and listings are sparse within them — so this sweeps every slot page and returns one aggregated view. `currentPage` and `maxPage` are always 1 for that reason: there is nothing left to page through.

In Marketplace.

Request

POST /api/v1/sessions/{accountKey}/actions/myMarketList

Parameters

NameTypeRequiredDescription
perPage (per_page)integernoSlots per underlying page. Defaults to 10; only affects how the sweep is chunked.

Example request

{ "perPage": 10 }

Response

`{ listings, slots, available, listingCount, usedSlots, freeSlots, totalItemCount, totalSlots }`.

FieldTypeMeaning
listings[].stateNamestring`listing`, `sold`, `listing_expired` or `transfer_expired`. Only the first two are worth acting on.
listings[].priceInfosobject[]For a sold listing, what the buyer paid — the payout `marketTransfer` claims.
freeSlotsintegerHow many more items you may list right now.
totalItemCountintegerHow many sale slots you own in total.

Example response

{
  "listings": [
    { "listingId": "9007199254740993", "uid": "630211546215118861",
      "shortName": "AdventurerBoots", "label": "Adventurer Boots", "rarity": "Legendary",
      "gearScore": 142, "price": 24000, "unitPrice": 24000, "count": 1,
      "orderIndex": 0, "state": 1, "stateName": "listing",
      "remainMs": 512400000, "expiresInSec": 512400, "priceInfos": [],
      "iconUrl": "/icons/AdventurerBoots.png", "primary": [], "secondary": [] },
    { "listingId": "9007199254740994", "uid": "630211546215118862",
      "shortName": "Longsword", "label": "Longsword", "rarity": "Epic",
      "gearScore": 88, "price": 8000, "unitPrice": 8000, "count": 1,
      "orderIndex": 1, "state": 3, "stateName": "sold",
      "remainMs": 172800000, "expiresInSec": 172800,
      "priceInfos": [ { "itemId": "GoldCoins", "price": 8000 } ],
      "iconUrl": "/icons/Longsword.png", "primary": [], "secondary": [] }
  ],
  "slots": [
    { "orderIndex": 0, "slotType": 1, "slotStatus": 1, "expireTimeSec": 512400 },
    { "orderIndex": 1, "slotType": 1, "slotStatus": 2, "expireTimeSec": 172800 }
  ],
  "available": [2, 3, 4],
  "listingCount": 2,
  "usedSlots": 2,
  "freeSlots": 3,
  "totalItemCount": 5,
  "totalSlots": 5,
  "currentPage": 1,
  "perPage": 10,
  "maxPage": 1
}

Errors

CodeWhen
action_failedNo character is in the lobby, or the sweep timed out.
plan_limitNot on the free plan.

See also

DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.